<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>SDAC Inc &#124; Chicagoland Web Development &#187; Codex</title> <atom:link href="http://www.sandboxdev.com/tag/codex/feed/" rel="self" type="application/rss+xml" /><link>http://www.sandboxdev.com</link> <description>Just another Sandbox Development and Consulting Inc. Sites site</description> <lastBuildDate>Wed, 25 Jan 2012 07:57:33 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Neat and Useful wp-config Settings</title><link>http://www.sandboxdev.com/2010/03/17/neat-wp-config-settings/</link> <comments>http://www.sandboxdev.com/2010/03/17/neat-wp-config-settings/#comments</comments> <pubDate>Wed, 17 Mar 2010 15:33:41 +0000</pubDate> <dc:creator>Jennifer Zelazny</dc:creator> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[SDAC Blog]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Codex]]></category> <category><![CDATA[settings]]></category> <category><![CDATA[wp-config]]></category> <guid
isPermaLink="false">http://www.sandboxdev.com/?p=799</guid> <description><![CDATA[There are a ton of great options available for you to put into your wp-config.php file which can help your site run smoother, give you that extra customization you wanted without the use of plugins, and aid in development and debugging. Here are some highlights that can help save you time and headaches by adding [...]]]></description> <content:encoded><![CDATA[<p>There are a ton of great options available for you to put into your wp-config.php file which can help your site run smoother, give you that extra customization you wanted without the use of plugins, and aid in development and debugging.</p><p><strong>Here are some highlights that can help save you time and headaches by adding the following to your wp-config.php file:</strong></p><h3>Help for the Average User</h3><ul><li><strong>Change the Autosave Interval:</strong> define(&#8216;AUTOSAVE_INTERVAL&#8217;, 30 ); (30 = 30 seconds)<li><li><strong>Disable Post Revisions:</strong> define(&#8216;WP_POST_REVISIONS&#8217;, false );<li><li><strong>Modify Empty Trash Time:</strong> define(&#8216;EMPTY_TRASH_DAYS&#8217;, 7 ); (7 = 7 days)<li><li><strong>Auto Optimize Your Database:</strong> define(&#8216;WP_ALLOW_REPAIR&#8217;, true);<li><li><strong>Enable the Cache:</strong>define(&#8216;WP_CACHE&#8217;, true);<li><li><strong>Define Maximum # of Revisions:</strong>define(&#8216;WP_POST_REVISIONS&#8217;, 5);<li></ul><h3>Help for Developers</h3><ul><li><strong>Output Errors:</strong>define(&#8216;WP_DEBUG&#8217;, true);<li><li><strong>Save Queries for Analysis:</strong>define(&#8216;SAVEQUERIES&#8217;, true);<li><li><strong>Define WP Site URL (override settings):</strong>define(&#8216;WP_SITEURL&#8217;, &#8216;http://&#8217; . $_SERVER['SERVER_NAME'] . &#8216;/path/to/wordpress&#8217;); &#8211; great for moving sites from one host to another when the actual domain name is not yet available<li><li><strong>Define WP Home (override settings):</strong>define(&#8216;WP_HOME&#8217;,    &#8216;http://&#8217; . $_SERVER['HTTP_HOST'] . &#8216;/path/to/wordpress&#8217;); &#8211; great for moving sites from one host to another when the actual domain name is not yet available<li></ul><p>Full documentation is available: <a
href="http://codex.wordpress.org/Editing_wp-config.php" target="_blank">http://codex.wordpress.org/Editing_wp-config.php</a></p> <script type="text/javascript">sdac_post_slideshows.push({fx: 'fade', timeout: 0, speed: 1000, pause: 0,})</script>]]></content:encoded> <wfw:commentRss>http://www.sandboxdev.com/2010/03/17/neat-wp-config-settings/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Get Category Name By ID (WordPress)</title><link>http://www.sandboxdev.com/2009/06/29/get-category-name-by-id-wordpress/</link> <comments>http://www.sandboxdev.com/2009/06/29/get-category-name-by-id-wordpress/#comments</comments> <pubDate>Mon, 29 Jun 2009 16:45:05 +0000</pubDate> <dc:creator>Jennifer Zelazny</dc:creator> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[SDAC Blog]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Codex]]></category> <category><![CDATA[get_cat_name]]></category> <category><![CDATA[SDAC theme]]></category> <guid
isPermaLink="false">http://www.sandboxdev.com/blog/733/get-category-name-by-id-wordpress/</guid> <description><![CDATA[I have been working on a new WordPress theme (to be released this week) and in one of the admin screens &#8211; I needed to get the category name by using the category ID. To do this (in or outside of the loop): Super simple &#8211; super helpful. Reference: http://codex.wordpress.org/Function_Reference/get_cat_name]]></description> <content:encoded><![CDATA[<p>I have been working on a new WordPress theme (to be released this week) and in one of the admin screens &#8211; I needed to get the category name by using the category ID.  To do this (in or outside of the loop):</p><pre class="brush: php; title: Custom Code; notranslate">
&lt;?php get_cat_name( $cat_id ) ?&gt;
</pre><p>Super simple &#8211; super helpful.</p><p>Reference: <a
href="http://codex.wordpress.org/Function_Reference/get_cat_name" target="_blank">http://codex.wordpress.org/Function_Reference/get_cat_name</a></p> <script type="text/javascript">sdac_post_slideshows.push({fx: 'fade', timeout: 0, speed: 1000, pause: 0,})</script>]]></content:encoded> <wfw:commentRss>http://www.sandboxdev.com/2009/06/29/get-category-name-by-id-wordpress/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> </channel> </rss>
