<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>WordPress Bits</title>
	<atom:link href="http://wpbits.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpbits.wordpress.com</link>
	<description>Hacking WordPress. Keeping the bits together.</description>
	<pubDate>Tue, 18 Dec 2007 07:46:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Tip #9 : Use trackback auto-discovery</title>
		<link>http://wpbits.wordpress.com/2007/12/18/tip-9-use-trackback-auto-discovery/</link>
		<comments>http://wpbits.wordpress.com/2007/12/18/tip-9-use-trackback-auto-discovery/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 07:46:40 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[Documentation]]></category>

		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/12/18/tip-9-use-trackback-auto-discovery/</guid>
		<description><![CDATA[When building WordPress themes from scratch it is easy to forget about things that &#8220;just work&#8221;.  One of such things, often forgotten by newcomers to WordPress theme development, is trackback auto-discovery - a really tiny bit of code, which is not visible to a naked eye (an eye without HTML source that is).  Trackback auto-discovery [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When building WordPress themes from scratch it is easy to forget about things that &#8220;just work&#8221;.  One of such things, often forgotten by newcomers to WordPress theme development, is trackback auto-discovery - a really tiny bit of code, which is not visible to a naked eye (an eye without HTML source that is).  Trackback auto-discovery provides a specially formatted HTML code for other content management systems to find a trackback URL in your post.  Gladly, there is a Codex page that covers <a href="http://codex.wordpress.org/Template_Tags/trackback_rdf" title="trackback_rdf">trackback_rdf() function</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/124/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/124/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=124&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/12/18/tip-9-use-trackback-auto-discovery/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>
	</item>
		<item>
		<title>Tip #8 : Read WordPress Digest</title>
		<link>http://wpbits.wordpress.com/2007/12/03/tip-8-read-wordpress-digest/</link>
		<comments>http://wpbits.wordpress.com/2007/12/03/tip-8-read-wordpress-digest/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 11:33:40 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/12/03/tip-8-read-wordpress-digest/</guid>
		<description><![CDATA[If you don&#8217;t have a lot of time to follow WordPress development news, just read to this one blog - WordPress weekly digest.  One short post per week, with a summary list of what changes went into trunk.  Occasionally, there are also brief explanations like this one:
 The last change means that the next time you [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you don&#8217;t have a lot of time to follow WordPress development news, just read to this one blog - <a href="http://westi.wordpress.com/">WordPress weekly digest</a>.  One short post per week, with a summary list of what changes went into trunk.  Occasionally, there are also brief explanations like <a href="http://westi.wordpress.com/2007/12/02/wordpress-weekly-digest-26th-november-to-2nd-december-2007/">this one</a>:</p>
<blockquote><p> The last change means that the next time you login the value stored in the database will change - this means that if you do upgrade passed this point reverting back to an old version will invalidate all users passwords and they will need reseting. Therefore it is a good idea to backup up your users table before updating to the latest trunk.</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/123/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/123/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=123&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/12/03/tip-8-read-wordpress-digest/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>
	</item>
		<item>
		<title>Tip #7 : WordPress constants</title>
		<link>http://wpbits.wordpress.com/2007/10/05/tip-7-wordpress-constants/</link>
		<comments>http://wpbits.wordpress.com/2007/10/05/tip-7-wordpress-constants/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 08:50:30 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/10/05/tip-7-wordpress-constants/</guid>
		<description><![CDATA[ABSPATH is one of the most known WordPress constants.  It holds filesystem path to WordPress installation and is often used to construct filesystem paths relative to WordPress.  But what other constants are there in WordPress?  The answer is easy to get than it might seem.  You can see a full list [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>ABSPATH is one of the most known WordPress constants.  It holds filesystem path to WordPress installation and is often used to construct filesystem paths relative to WordPress.  But what other constants are there in WordPress?  The answer is easy to get than it might seem.  You can see a full list <a href="http://xref.redalt.com/wptrunk/nav.htm?_constants/index.htm" title="Constant List">here</a>.</p>
<p>(Thanks to  Benedict Eastaugh over at wp-hackers mailing list for the above link)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/122/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/122/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=122&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/10/05/tip-7-wordpress-constants/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>
	</item>
		<item>
		<title>Tip #6 : Enhancing WordPress administration</title>
		<link>http://wpbits.wordpress.com/2007/09/26/tip-6-enhancing-wordpress-administration/</link>
		<comments>http://wpbits.wordpress.com/2007/09/26/tip-6-enhancing-wordpress-administration/#comments</comments>
		<pubDate>Wed, 26 Sep 2007 07:52:28 +0000</pubDate>
		<dc:creator>coolkarthik88</dc:creator>
		
		<category><![CDATA[Menu]]></category>

		<category><![CDATA[Options]]></category>

		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/09/26/tip-6-enhancing-wordpress-administration/</guid>
		<description><![CDATA[This tip has been written by Karthik Kastury from dailyApps.net. dailyApps showcases the best of the Apps for different platforms and is a must read for all you software junkies out there. You can also find a host of tips to improve your productivity with review of various services and apps.
If you are a long [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><blockquote>This tip has been written by <a href="http://dailyapps.net/">Karthik Kastury</a> from <a href="http://dailyapps.net/">dailyApps.net</a>. dailyApps showcases the best of the Apps for different platforms and is a must read for all you software junkies out there. You can also find a host of tips to improve your productivity with review of various services and apps.</p></blockquote>
<p>If you are a long time WordPress user like me, you surely know the obvious limitations that the WordPress backend has. There are far too many distractions in the Compose Section where you write the posts. Presence of Controls that you never use could become a nightmare to manage so it would be best if you would just remove them and use a stripped down version of the Compose Screen to manage your workflow better.</p>
<ul>
<li><strong>Get Rid of the Clutter</strong></li>
</ul>
<p>As I mentioned before there are far too many items in the compose screen that I normally don&#8217;t use. There is stuff like Password Protection, Excerpt, Custom Fields, Discussion Options, Bookmarklets, Author controls etc. which I am sure majority of WordPress Users don&#8217;t really use. So if you are one of them go ahead and add <a href="http://txfx.net/code/wordpress/clutter-free/">Clutter Free</a> to your ever growing list of WordPress plugins.</p>
<p>Once you have activated Clutter Free go the Users Sections and select all the options that you need. Save the settings and &#8220;Boom!&#8221; as Steve Jobs would say, your Compose screen now loads a tad faster.</p>
<ul>
<li><strong>Disable the Rich Text Editor</strong></li>
</ul>
<p>When it comes to the Rich Text Editor things are definitely easy for the average to publish a new post. But in case you are a power user like me then you would want to Disable the Rich Text Editor Screen that has a few annoyances, such as being slow and standing in the way of embedding code provided by Youtube and other services.</p>
<p>I would put my money on the Simple Text Editor that is extremely powerful in terms of what it can do. To disable the Rich Text Editor follow these steps. Go to the Users Section in your admin. Scroll to the bottom and uncheck the option that Says &#8220;Use the visual rich editor when writing&#8221;. The only Downside is that you will have to learn some basic HTML before you can use the Rich Text Editor.</p>
<ul>
<li><strong>Make QuickTags Smarter</strong></li>
</ul>
<p>If you are long time WordPress user you will know how useful Quicktags really are (Quicktags are those buttons with tags at the top of the editor). Just about anything is possible with Quicktags. The default WordPress install comes with a few quick tags like &lt;strong&gt;, &lt;li&gt;, &lt;ul&gt; etc. But you might want to add a few more tags to this list so that you don&#8217;t have to type them over and over again while you are writing your post. I have some more tags in my Write screen like &lt;span&gt; which I regularly use.</p>
<p>If all the talk above sounded a little too geekish for you. Here is the simplified version of what you have to do. Just download the <a href="http://roel.meurders.nl/wordpress-plugins/wp-addquicktag-plugin-for-adding-quicktags/">WP-AddQuickTag</a> plugin and install it. Select Add Quicktags under the Options menu and add all the tags that you wish to include. Note that you need to have Rich Text Editor disabled to make Quicktags work for you.</p>
<ul>
<li><strong>Install Greasemonkey</strong></li>
</ul>
<p>If you are a <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> User you definately should install <a href="https://addons.mozilla.org/en-US/firefox/addon/748">Greasemonkey</a>. There are <a href="http://www.google.com/search?q=greasemonkey+wordpress">many scripts</a> that can improve your workflow. One of the scripts that I am using is <a href="http://userscripts.org/scripts/show/7037">Akismet Auntie Spam</a> which changes  the skin of the Akismet spambox page for WordPress admins and allows to download all spam at once, compress spam to make it more scanable and completely compresses obvious spam. Turns checking spam into a 10 minute per week activity.</p>
<ul>
<li><strong>Install WP-Admin Tiger 3.0</strong></li>
</ul>
<p>The default layout of the WordPress Admin can be confusing at times. It shows all signs of being extremely cluttered. You have to click through a maze of buttons to do something, and the most important thing surely is that it is not really good to look at. In case you are one of those who have got bored of the default layout for WordPress Admin then its time for you to download <a href="http://orderedlist.com/articles/wordpress-tiger-administration-v3-0">WP-Admin Tiger</a> 3 that completely changes the look and feel of the WordPress admin.</p>
<blockquote><p>If you like this post please consider subscribing to the <a href="http://dailyapps.net/">dailyApps</a> <a href="http://dailyapps.net/feed">feed</a>. You will find dailyApps an enjoyable read. And yeah make sure you tell me if these tips have helped you or not..</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/120/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/120/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=120&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/09/26/tip-6-enhancing-wordpress-administration/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/coolkarthik88-128.jpg" medium="image">
			<media:title type="html">Karthik Kastury</media:title>
		</media:content>
	</item>
		<item>
		<title>Tip #5 : Taxonomy in WordPress 2.3</title>
		<link>http://wpbits.wordpress.com/2007/08/27/tip-5-taxonomy-in-wordpress-23/</link>
		<comments>http://wpbits.wordpress.com/2007/08/27/tip-5-taxonomy-in-wordpress-23/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 07:33:42 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/08/27/tip-5-taxonomy-in-wordpress-23/</guid>
		<description><![CDATA[The upcoming release of WordPress 2.3 introduces a new way of tagging and categorizing posts and links.   It replaces the old way of categories and should provide enough flexibility to replace a whole bunch of plugins.  Or, at least, make those plugins much simpler.
This new feature required a few changes in the WordPress database scheme. [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The upcoming release of WordPress 2.3 introduces a new way of tagging and categorizing posts and links.   It replaces the old way of categories and should provide enough flexibility to replace a whole bunch of plugins.  Or, at least, make those plugins much simpler.</p>
<p>This new feature required a few changes in the <a href="http://wpbits.wordpress.com/2007/08/08/a-look-inside-the-wordpress-database/" title="A look inside the WordPress database">WordPress database scheme</a>. Gladly, <a href="http://boren.nu/">Ryan Boren</a> has posted <a href="http://boren.nu/archives/2007/08/26/wordpress-23-taxonomy-schema/" title="WordPress 2.3 taxonomy schema">the description of changes in the database structure</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/121/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/121/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=121&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/08/27/tip-5-taxonomy-in-wordpress-23/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>
	</item>
		<item>
		<title>Tip #4 : WordPress cheat sheets</title>
		<link>http://wpbits.wordpress.com/2007/08/22/tip-4-wordpress-cheat-sheets/</link>
		<comments>http://wpbits.wordpress.com/2007/08/22/tip-4-wordpress-cheat-sheets/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 20:00:54 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[Documentation]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/08/22/tip-4-wordpress-cheat-sheets/</guid>
		<description><![CDATA[There is an excellent collection of WordPress cheat sheets at Kahi&#8217;s WordPress notes.  Cheat sheets provide a simple way of getting an overview picture of one specific topic, as well as to quickly find a name of a function or a variable.  The best thing about cheat sheets is that you can print them out, [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is an excellent collection of <a href="http://kahi.cz/wordpress/wordpress-cheatsheets-summarized/" title="WordPress cheatsheets summarized">WordPress cheat sheets</a> at <a href="http://kahi.cz/wordpress/">Kahi&#8217;s WordPress notes</a>.  Cheat sheets provide a simple way of getting an overview picture of one specific topic, as well as to quickly find a name of a function or a variable.  The best thing about cheat sheets is that you can print them out, fold, and put on your table, so that a quick reference is just a look away.</p>
<p>If this type of documentation appeals to you, <a href="http://lorelle.wordpress.com/" title="Lorelle on WordPress">Lorelle</a> has <a href="http://lorelle.wordpress.com/2005/10/10/html-css-php-and-more-cheat-sheets/" title="HTML, CSS, PHP, and More Cheat Sheets">a whole bunch of cheat sheets</a> for all things related to WordPress development - HTML, CSS, PHP, SQL, etc.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/118/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/118/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=118&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/08/22/tip-4-wordpress-cheat-sheets/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>
	</item>
		<item>
		<title>Making WordPress themes III : template hierarchy</title>
		<link>http://wpbits.wordpress.com/2007/08/22/making-wordpress-themes-iii-template-hierarchy/</link>
		<comments>http://wpbits.wordpress.com/2007/08/22/making-wordpress-themes-iii-template-hierarchy/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 11:00:54 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[Documentation]]></category>

		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/08/22/making-wordpress-themes-iii-template-hierarchy/</guid>
		<description><![CDATA[(This is the third post in &#8220;Making WordPress themes&#8221; series.  If you missed the previous two, here are the links: &#8220;Making WordPress themes I : static basics&#8221; and &#8220;Making WordPress themes II : The Loop&#8221; ).
In this post we&#8217;ll see which filenames WordPress recognizes in the theme directory, and how it knows which posts [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><em>(This is the third post in &#8220;<strong>Making WordPress themes</strong>&#8221; series.  If you missed the previous two, here are the links: &#8220;<a href="http://wpbits.wordpress.com/2007/08/17/making-wordpress-themes-i-static-basics/">Making WordPress themes I : static basics</a>&#8221; and &#8220;<a href="http://wpbits.wordpress.com/2007/08/21/making-wordpress-themes-ii-the-loop/">Making WordPress themes II : The Loop</a>&#8221; ).</em></p>
<p>In this post we&#8217;ll see which filenames WordPress recognizes in the theme directory, and how it knows which posts to show to the visitor based on where the visitor is.</p>
<p><span id="more-114"></span></p>
<p>Hopefully by now you&#8217;ve looked through the source code of a few WordPress themes.   While each and every theme is unique, there are parts which are common among all themes.  One of the common things that you probably noticed, is how themes are separated into files - <em>index.php</em>, <em>category.php</em>, <em>search.php</em>, <em>single.php</em>, <em>home.php</em>, etc.  Practically any theme out there use some combination of files with common names.  Those themes that don&#8217;t use any files or use just a few, usually apply a different technique - they have conditional statements like <em>is_home()</em> or <em>is_page()</em> within <em>index.php</em>.</p>
<p>The questions you probably asked yourself at some point were - &#8220;Which filenames does WordPress recognize?&#8221; and &#8220;Which other conditions similar to <em>is_home()</em> or <em>is_page()</em> can I use?&#8221;.  And if you have a really inquiring mind, you probably also asked &#8220;What happens if I use different, non-standard filenames?&#8221; and &#8220;How does WordPress knows that a visitor is looking at search results and not archives?&#8221;.</p>
<p>The answers to all those questions lie in  <a href="http://codex.wordpress.org/Template_Hierarchy" title="Template Hierarchy">WordPress template hierarchy</a>.  While it looks like yet another Codex page, don&#8217;t be mislead.  This particular page is priceless. It&#8217;s The Holy Grail of WordPress theming. Mostly, because of two things - a <a href="http://www.scoutpress.de/download/wp_Template_Hierarchy.png" title="WordPress Template Hierarchy diagram">diagram</a> and a link to <a href="http://codex.wordpress.org/Conditional_Tags" title="Conditional Tags">Conditional Tags </a>page.  The diagram alone is so precious that I&#8217;ll have a copy of it here, just in case it disappears from Codex.</p>
<p><a href="http://wpbits.files.wordpress.com/2007/08/wordpress-template-hierarchy.png" title="WordPress Template Hierarchy diagram"><img src="http://wpbits.files.wordpress.com/2007/08/wordpress-template-hierarchy.png?w=482&h=344" alt="WordPress Template Hierarchy diagram" height="344" width="482" /></a></p>
<p>This diagram, just in one little drawing, tells us most of what we need to know about organization of WordPress themes.  Let&#8217;s take a better look.</p>
<p>On the left side, we have the visitor, coming to the WordPress web site.  The visitor can navigate to a number of pages - front page, full post, full page, category, author page, date-based archive, search results, and even a non-existing page.  WordPress knows where the visitor is based on the URL which is used to get there.  You can see from the diagram that WordPress understands both fancy URLs as well as URLs with parameters.</p>
<p>For each of those location, our theme can have a separate template file.  WordPress checks if that file exists, and uses it if it does.  Otherwise it falls back on to the next template file in the hierarchy, and checks for its existence, and so on, and so forth, until either a file is found or an <em>index.php</em> is reached.</p>
<p>So, from the diagram, if you want to separate the code for displaying the front page from everything else, use <em>home.php</em> .  Or use <em>is_home()</em> conditional tag in <em>index.php</em> .  Use single.php or <em>is_single()</em> condition in the<em> index.php</em> for single posts.   And so on.</p>
<p>As you can see (from the diagram again), there is a very flexible way of controlling what happens when a particular post, page, or category is displayed. For example, you can have different logic and presentation for category with ID 5 from the one with ID 6.</p>
<p>Do we have to separate our theme into files?  No.  We can do everything with just conditional tags from within our <em>index.php</em>.  But the truth is that if done this way, our <em>index.php</em> can often get rather large and complex, with a lot of conditions, and difficult to maintain.  To make things simpler we probably should use multiple smaller files.</p>
<p>While we are on the topic of filenames, I think it&#8217;s good to look also at <a href="http://codex.wordpress.org/Include_Tags" title="Include Tags">Include Tags</a>. Include tags cover a few more filenames, which are recognized by WordPress, but not documented in template hierarchy.  <em>header.php</em>, <em>footer.php</em>, <em>sidebar.php</em> and <em>comments.php</em> can be easily included from your other theme files by using calls to <em>get_header()</em>, <em>get_footer()</em>, <em>get_sidebar()</em>, and <em>comments_template()</em> respectively.  Also, note that there is some magic about the <em>comments_template()</em> call:</p>
<blockquote><p> This tag includes the file <em>comments.php</em> from your current theme&#8217;s directory. If that file is not found, it will instead include <em>wp-content/themes/default/comments.php</em>. To display comments on the main index or archive pages, you&#8217;ll need to set the <em>$withcomments</em> variable to &#8220;1&#8243; before calling this tag.</p></blockquote>
<p>Last time, when we talking about <a href="http://wpbits.wordpress.com/2007/08/21/making-wordpress-themes-ii-the-loop/" title="The Loop">The Loop</a>, we mentioned that there was some magic about how WordPress knows which posts to show.  I hope now you see how that magic is done.  The core of The Loop is the <em>have_posts()</em> function call.  Because WordPress recognizes the current visitor location from the URL, <em>have_posts()</em> knows which posts it should get - the ones in archives, the ones in the category, the ones on the front page, or the ones in the search results.</p>
<p>Now we know how theme part of WordPress works.  In the next post we&#8217;ll see how we can control and modify WordPress behavior using The Query.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/114/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/114/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=114&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/08/22/making-wordpress-themes-iii-template-hierarchy/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>

		<media:content url="http://wpbits.files.wordpress.com/2007/08/wordpress-template-hierarchy.png" medium="image">
			<media:title type="html">WordPress Template Hierarchy diagram</media:title>
		</media:content>
	</item>
		<item>
		<title>More WordPress theming at WPDesigner.com</title>
		<link>http://wpbits.wordpress.com/2007/08/21/more-wordpress-theming-at-wpdesignercom/</link>
		<comments>http://wpbits.wordpress.com/2007/08/21/more-wordpress-theming-at-wpdesignercom/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 07:17:27 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/08/21/more-wordpress-theming-at-wpdesignercom/</guid>
		<description><![CDATA[I came across an excellent resource about WordPress theming - WPDesigner.com .  There are theme reviews, forum and few other bits worth checking out.  But the best part of the web site, in my opinion, are the Tutorials.  They are so good in fact that I decided to add the RSS feed to WPDesigner.com tutorials [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I came across an excellent resource about WordPress theming - <a href="http://www.wpdesigner.com/" title="This blog is about WordPress themes, blog design, and web development.">WPDesigner.com</a> .  There are theme reviews, forum and few other bits worth checking out.  But the best part of the web site, in my opinion, are the <a href="http://www.wpdesigner.com/category/tutorials/" title="WPDesigner.com Tutorials">Tutorials</a>.  They are so good in fact that I decided to add the <a href="http://www.wpdesigner.com/category/tutorials/feed/">RSS feed to WPDesigner.com tutorials</a> to the sidebar of <a href="http://wpbits.wordpress.com">WordPress Bits</a> (see it on the left, below Archives).  Really cool stuff!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/112/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/112/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=112&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/08/21/more-wordpress-theming-at-wpdesignercom/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>
	</item>
		<item>
		<title>Making WordPress themes II : The Loop</title>
		<link>http://wpbits.wordpress.com/2007/08/21/making-wordpress-themes-ii-the-loop/</link>
		<comments>http://wpbits.wordpress.com/2007/08/21/making-wordpress-themes-ii-the-loop/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 21:01:47 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/08/21/making-wordpress-themes-ii-the-loop/</guid>
		<description><![CDATA[(This post is a second part of the &#8220;Making WordPress themes&#8221; series.  The first part is &#8220;Making WordPress themes I : static basics&#8220;)
The Loop is perhaps the most important thing there is to understand in WordPress theme building.  It is the heart, the soul and the skeleton of any WordPress theme.  It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><em>(This post is a second part of the &#8220;<strong>Making WordPress themes</strong>&#8221; series.  The first part is &#8220;<a href="http://wpbits.wordpress.com/2007/08/17/making-wordpress-themes-i-static-basics/">Making WordPress themes I : static basics</a>&#8220;)</em></p>
<p>The Loop is perhaps the most important thing there is to understand in WordPress theme building.  It is the heart, the soul and the skeleton of any WordPress theme.  It&#8217;s been fairly well documented at <a href="http://codex.wordpress.org" title="Codex - WordPress documentation project">Codex</a> - see pages &#8220;<a href="http://codex.wordpress.org/The_Loop">The Loop</a>&#8221; and &#8220;<a href="http://codex.wordpress.org/The_Loop_in_Action">The Loop in Action</a>&#8221; - but no WordPress theme building series could be complete without yet another attempt of making it easier to understand, so here we go&#8230;</p>
<p><span id="more-107"></span></p>
<p>Let&#8217;s try and make it as simple as possible - <strong>The Loop is all about posts and pages</strong>.</p>
<p>Think about any WordPress web site out there.  Now separate that web site into logical parts - front page, single post, single page, archives, category, search results, etc.  Any of those parts does one of the things below:</p>
<ul>
<li>display <strong>single post</strong> or page (either a title, link, excerpt, or full body content)</li>
<li>display <strong>a list of posts</strong> or pages (archives pages, category pages, search results, etc)</li>
<li>display <strong>several lists of posts</strong> and pages (complex front pages with posts from several categories displayed separately)</li>
</ul>
<p>If you know how to control The Loop, you know how to do any of the above. Now let&#8217;s see how it works, in case you weren&#8217;t born with The Loop Controlling Super-Powers.</p>
<p>Navigate your file manager to the themes directory of your WordPress installation, and look through any theme that you have available.  One common thing between all themes that you probably won&#8217;t notice from the first glance, looks something like this:</p>
<p><img src="http://wpbits.files.wordpress.com/2007/08/the_loop_cyphered.png" alt="The Loop (cyphered)" /></p>
<p>It is somewhat difficult  to notice, because the lines above are usually surrounded by a lot of theme specific XHTML and PHP.  Let&#8217;s clean those lines up a bit, so that they make more sense:</p>
<p><img src="http://wpbits.files.wordpress.com/2007/08/the_loop_decyphered.png" alt="The Loop (decyphered)" /></p>
<p>Better?  Here is how it goes.  A check is done for if there are any posts (or pages that is) to be displayed on the current page.  If there are any, then a <em>while loop</em> is started and each post is loaded one by one (using <em>the_post()</em> function call). This is a rather simple piece of code, which does a lot on the background, and makes our lives, as theme developers, a lot easier.</p>
<p>First of all, The Loop is smart enough to understand where we are - front page, category, archives, or search results.  That means that you&#8217;ll use exactly the same code  to lists posts no matter where you are.  <em>(In our next post for this series, we&#8217;ll see how WordPress identifies different locations a visitor can come to, and how we can control what is displayed.)</em></p>
<p>Secondly, The Loop gets all those relevant posts, taking into consideration the limits which you&#8217;ve set in the <em>Options -&gt; Reading -&gt; Blog Pages -&gt; Show at most X posts</em>.</p>
<p>Thirdly, it provides us with a bunch of useful functions for displaying particular parts of posts - <em>the_ID()</em>, <em>the_title()</em>, <em>the_guid()</em>, <em>the_content()</em>, <em>the_excerpt()</em>, etc.   Here is a simple example of The Loop in action:</p>
<p><img src="http://wpbits.files.wordpress.com/2007/08/the_loop_in_action1.png" alt="The Loop in action" /></p>
<p>The above snippet will look for posts, and if any are found, will show a title and full content of each, linking title to the full post page.  If no posts were found, the truth will be told.</p>
<p>Which functions are available from within The Loop?  Now that&#8217;s a touch question.  There are quite a few, but one has to <a href="http://wpbits.wordpress.com/2007/08/14/navigating-wordpress-source-code/" title="Navigating WordPress Source Code">dig through WordPress source code</a> to find them all.  Looking through theme files is an alternative, but a rather limited one - most themes use the same stuff.</p>
<p>If you are prepared to look through the source code, start in <em>wp-includes/</em> directory and given priority to files named <em>something-template.php</em> (<a href="http://phpxref.com/xref/wordpress/nav.html.gz?wp-includes/post-template.php.source.html.gz" title="Source code of wp-includes/post-template.php file">wp-includes/post-template.php</a> is a good place to start).  These usually provide functions for templates, and that&#8217;s exactly what you need.  Also, while looking through those functions, note that some even accept parameters.</p>
<p>Now I&#8217;ll give you some time to play with your loop.  Make it beautiful.  Make it useful.  Learn it inside out. In the next post we&#8217;ll see how WordPress knows which posts to fetch (hint: <em>template hierarchy</em>), and, once we know, we&#8217;ll see if there is any way for us to control that behavior (hint: <em>the query</em>).</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/107/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/107/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=107&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/08/21/making-wordpress-themes-ii-the-loop/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>

		<media:content url="http://wpbits.files.wordpress.com/2007/08/the_loop_cyphered.png" medium="image">
			<media:title type="html">The Loop (cyphered)</media:title>
		</media:content>

		<media:content url="http://wpbits.files.wordpress.com/2007/08/the_loop_decyphered.png" medium="image">
			<media:title type="html">The Loop (decyphered)</media:title>
		</media:content>

		<media:content url="http://wpbits.files.wordpress.com/2007/08/the_loop_in_action1.png" medium="image">
			<media:title type="html">The Loop in action</media:title>
		</media:content>
	</item>
		<item>
		<title>Tip #3 : Under Construction</title>
		<link>http://wpbits.wordpress.com/2007/08/20/tip-3-under-construction/</link>
		<comments>http://wpbits.wordpress.com/2007/08/20/tip-3-under-construction/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 08:51:12 +0000</pubDate>
		<dc:creator>Leonid Mamchenkov</dc:creator>
		
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpbits.wordpress.com/2007/08/20/tip-3-under-construction/</guid>
		<description><![CDATA[It is often desired to have a final version of the project on the production server for testing purposes, but so that nobody other than site administrators could see things.  Also, once in a while, one needs to have a &#8220;Site under maintenance&#8221; page, even if for just a little while.
There are, of course, [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It is often desired to have a final version of the project on the production server for testing purposes, but so that nobody other than site administrators could see things.  Also, once in a while, one needs to have a &#8220;Site under maintenance&#8221; page, even if for just a little while.</p>
<p>There are, of course, many ways to achieve the desired effect (e.g.: using a custom theme or an <em>index.html</em> preceding <em>index.php</em>).   But probably the easiest and the most &#8220;proper&#8221; is by using <a href="http://sw-guide.de/wordpress/plugins/maintenance-mode/">Maintenance Mode Plugin</a>. It provides a number of options to customize the displayed message, as well give visitors a hint of when it is better to come back.  But what is more important, it allows logged in Administrators to see and use the web site like usual - invaluable for testing, as well demonstrations of a ready project to the client.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wpbits.wordpress.com/106/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wpbits.wordpress.com/106/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wpbits.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wpbits.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wpbits.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wpbits.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wpbits.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wpbits.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wpbits.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wpbits.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wpbits.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wpbits.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wpbits.wordpress.com&blog=1243059&post=106&subd=wpbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wpbits.wordpress.com/2007/08/20/tip-3-under-construction/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/mamchenkov-128.jpg" medium="image">
			<media:title type="html">mamchenkov</media:title>
		</media:content>
	</item>
	</channel>
</rss>