<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating a Custom Single.php template</title>
	<atom:link href="http://askwpgirl.com/creating-a-custom-single-php-template/feed/" rel="self" type="application/rss+xml" />
	<link>http://askwpgirl.com/creating-a-custom-single-php-template/</link>
	<description>Making WordPress Easy and Fun</description>
	<lastBuildDate>Thu, 02 Feb 2012 18:37:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Angela</title>
		<link>http://askwpgirl.com/creating-a-custom-single-php-template/comment-page-1/#comment-183</link>
		<dc:creator>Angela</dc:creator>
		<pubDate>Wed, 02 Jun 2010 20:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://askwpgirl.com/?p=15#comment-183</guid>
		<description>Thanks, Dan! I&#039;ll fix the code just in case it didn&#039;t come across correctly.</description>
		<content:encoded><![CDATA[<p>Thanks, Dan! I&#8217;ll fix the code just in case it didn&#8217;t come across correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://askwpgirl.com/creating-a-custom-single-php-template/comment-page-1/#comment-182</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Wed, 02 Jun 2010 20:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://askwpgirl.com/?p=15#comment-182</guid>
		<description>Note to other users: the form filtered out some of the code formatting so a simple copy and paste of my code above will not work. Simply compare what I have with what WP Girl wrote (the only difference is the addition of the elseif portion) and you should be fine. Happy coding!</description>
		<content:encoded><![CDATA[<p>Note to other users: the form filtered out some of the code formatting so a simple copy and paste of my code above will not work. Simply compare what I have with what WP Girl wrote (the only difference is the addition of the elseif portion) and you should be fine. Happy coding!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://askwpgirl.com/creating-a-custom-single-php-template/comment-page-1/#comment-181</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Wed, 02 Jun 2010 20:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://askwpgirl.com/?p=15#comment-181</guid>
		<description>Great article! Just wanted to add that it may be useful to add an elseif statement to the code above to allow for an even more dynamic approach to the &#039;single split&#039; trick. Thanks again!

post;
if ( in_category(&#039;3&#039;) ) {
include(TEMPLATEPATH . &#039;/single2.php&#039;);
} elseif ( in_category(&#039;4&#039;) ) {
include(TEMPLATEPATH . &#039;/single2.php&#039;);
} else {
include(TEMPLATEPATH . &#039;/single1.php&#039;);
}
?&gt;</description>
		<content:encoded><![CDATA[<p>Great article! Just wanted to add that it may be useful to add an elseif statement to the code above to allow for an even more dynamic approach to the &#8216;single split&#8217; trick. Thanks again!</p>
<p>post;<br />
if ( in_category(&#8217;3&#8242;) ) {<br />
include(TEMPLATEPATH . &#8216;/single2.php&#8217;);<br />
} elseif ( in_category(&#8217;4&#8242;) ) {<br />
include(TEMPLATEPATH . &#8216;/single2.php&#8217;);<br />
} else {<br />
include(TEMPLATEPATH . &#8216;/single1.php&#8217;);<br />
}<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DWL</title>
		<link>http://askwpgirl.com/creating-a-custom-single-php-template/comment-page-1/#comment-120</link>
		<dc:creator>DWL</dc:creator>
		<pubDate>Fri, 23 Apr 2010 19:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://askwpgirl.com/?p=15#comment-120</guid>
		<description>Thank you for this. The WP codex confused me on this. It said to put this code in the loop (which didn&#039;t work). Cheers to you!</description>
		<content:encoded><![CDATA[<p>Thank you for this. The WP codex confused me on this. It said to put this code in the loop (which didn&#8217;t work). Cheers to you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Conry</title>
		<link>http://askwpgirl.com/creating-a-custom-single-php-template/comment-page-1/#comment-116</link>
		<dc:creator>Neil Conry</dc:creator>
		<pubDate>Mon, 12 Apr 2010 15:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://askwpgirl.com/?p=15#comment-116</guid>
		<description>I am a big fan of your blog and I read it regularly.  Keep up the good work!</description>
		<content:encoded><![CDATA[<p>I am a big fan of your blog and I read it regularly.  Keep up the good work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

