<?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: Setting templates for WordPress 3.0 Custom Post Type</title>
	<atom:link href="http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 05 Jan 2012 21:06:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Matt Smith, modMACRO</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-11238</link>
		<dc:creator>Matt Smith, modMACRO</dc:creator>
		<pubDate>Thu, 05 Jan 2012 21:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-11238</guid>
		<description>Great post thanks. The &quot;simple solution&quot; is in fact very direct. Super helpful. Thanks.</description>
		<content:encoded><![CDATA[<p>Great post thanks. The &#8220;simple solution&#8221; is in fact very direct. Super helpful. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Infovore &#187; Links for October 27th</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-9022</link>
		<dc:creator>Infovore &#187; Links for October 27th</dc:creator>
		<pubDate>Thu, 27 Oct 2011 17:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-9022</guid>
		<description>[...] Setting templates for WordPress 3.0 Custom Post Type « Two Thirds Design &quot;The template used for a custom post view is decided by the ‘get_single_template()’ function in the wp-includes/theme.php file.  And it basically tells locate_template() to look for single-’post_type’.php or single.php. So the simplest way to customise the way a custom post is displayed is to add a template file to your theme with the name single-xxxxxx.php&quot; Oh. That makes life simpler. (tags: wordpress php templating posttypes ) [...]</description>
		<content:encoded><![CDATA[<p>[...] Setting templates for WordPress 3.0 Custom Post Type « Two Thirds Design &#8220;The template used for a custom post view is decided by the ‘get_single_template()’ function in the wp-includes/theme.php file.  And it basically tells locate_template() to look for single-’post_type’.php or single.php. So the simplest way to customise the way a custom post is displayed is to add a template file to your theme with the name single-xxxxxx.php&#8221; Oh. That makes life simpler. (tags: wordpress php templating posttypes ) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FC Barcelona</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-8161</link>
		<dc:creator>FC Barcelona</dc:creator>
		<pubDate>Sun, 04 Sep 2011 10:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-8161</guid>
		<description>Sorry I know this is a old thread, but was the template ability added in wordpress 3.0?</description>
		<content:encoded><![CDATA[<p>Sorry I know this is a old thread, but was the template ability added in wordpress 3.0?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul F</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-7754</link>
		<dc:creator>Paul F</dc:creator>
		<pubDate>Tue, 02 Aug 2011 19:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-7754</guid>
		<description>Good post, like so many simple solutions with wp (e.g. taxonomy) its a matter of the right file name in the right place!</description>
		<content:encoded><![CDATA[<p>Good post, like so many simple solutions with wp (e.g. taxonomy) its a matter of the right file name in the right place!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Kuyath</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-4126</link>
		<dc:creator>Brian Kuyath</dc:creator>
		<pubDate>Thu, 07 Apr 2011 00:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-4126</guid>
		<description>You just saved me about 2 hours. Thanks!</description>
		<content:encoded><![CDATA[<p>You just saved me about 2 hours. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Verkooijen</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-2352</link>
		<dc:creator>Peter Verkooijen</dc:creator>
		<pubDate>Mon, 13 Dec 2010 00:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-2352</guid>
		<description>What should the code in the single-customtype.php file look like?!

I have a file that came with a plugin, but it now suddenly always shows the last post added. Apparently the file does not get the right ID. Using the loop from a regular single.php file can&#039;t find anything at all.</description>
		<content:encoded><![CDATA[<p>What should the code in the single-customtype.php file look like?!</p>
<p>I have a file that came with a plugin, but it now suddenly always shows the last post added. Apparently the file does not get the right ID. Using the loop from a regular single.php file can&#8217;t find anything at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gantulga</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-2215</link>
		<dc:creator>Gantulga</dc:creator>
		<pubDate>Wed, 24 Nov 2010 06:21:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-2215</guid>
		<description>Thank you Christopher. Works great! It seems Wordpress PROs forum. I&#039;m gonna subscribe RSS now.</description>
		<content:encoded><![CDATA[<p>Thank you Christopher. Works great! It seems WordPress PROs forum. I&#8217;m gonna subscribe RSS now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brij</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-2188</link>
		<dc:creator>Brij</dc:creator>
		<pubDate>Sun, 21 Nov 2010 16:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-2188</guid>
		<description>Nice Post!!!

I have created a project collection theme based on this custom post type feature.

See following to download:

http://www.techbrij.com/342/create-project-collection-theme-wordpress-3-custom-post-type</description>
		<content:encoded><![CDATA[<p>Nice Post!!!</p>
<p>I have created a project collection theme based on this custom post type feature.</p>
<p>See following to download:</p>
<p><a href="http://www.techbrij.com/342/create-project-collection-theme-wordpress-3-custom-post-type" rel="nofollow">http://www.techbrij.com/342/create-project-collection-theme-wordpress-3-custom-post-type</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Lin</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-1493</link>
		<dc:creator>Jeffrey Lin</dc:creator>
		<pubDate>Mon, 06 Sep 2010 13:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-1493</guid>
		<description>thanks for the tip on the single-posttype.php template!  made things at on easier...just started trying custom post types with our (incompete) stock market dictionary! &lt;a href=&quot;http://marketheist.com/definition&quot; rel=&quot;nofollow&quot;&gt;http://marketheist.com/definition&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>thanks for the tip on the single-posttype.php template!  made things at on easier&#8230;just started trying custom post types with our (incompete) stock market dictionary! <a href="http://marketheist.com/definition" rel="nofollow">http://marketheist.com/definition</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frankie Jarrett</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-1020</link>
		<dc:creator>Frankie Jarrett</dc:creator>
		<pubDate>Wed, 28 Jul 2010 20:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-1020</guid>
		<description>I was having issues with the archive template hierarchy not working properly for me so I modified Christopher B&#039;s idea to query the &quot;taxonomy&quot; var!

function my_template_redirect()
{
global $wp;
if ($wp-&gt;query_vars[&quot;taxonomy&quot;] == &quot;example&quot;)
{
include(TEMPLATEPATH . &quot;/taxonomy-example.php&quot;);
die();
}
}
add_action(&quot;template_redirect&quot;, &#039;my_template_redirect&#039;);</description>
		<content:encoded><![CDATA[<p>I was having issues with the archive template hierarchy not working properly for me so I modified Christopher B&#8217;s idea to query the &#8220;taxonomy&#8221; var!</p>
<p>function my_template_redirect()<br />
{<br />
global $wp;<br />
if ($wp-&gt;query_vars["taxonomy"] == &#8220;example&#8221;)<br />
{<br />
include(TEMPLATEPATH . &#8220;/taxonomy-example.php&#8221;);<br />
die();<br />
}<br />
}<br />
add_action(&#8220;template_redirect&#8221;, &#8216;my_template_redirect&#8217;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

