<?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 for Two Thirds Design</title>
	<atom:link href="http://www.twothirdsdesign.co.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.twothirdsdesign.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 28 Jul 2010 20:46:26 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type 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>
	<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type 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-1019</link>
		<dc:creator>Frankie Jarrett</dc:creator>
		<pubDate>Wed, 28 Jul 2010 20:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-1019</guid>
		<description>Thanks a lot for this article!

Christopher B, your last example is really simple and worked perfect for what I needed.

//Frankie</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this article!</p>
<p>Christopher B, your last example is really simple and worked perfect for what I needed.</p>
<p>//Frankie</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type by OrT</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-876</link>
		<dc:creator>OrT</dc:creator>
		<pubDate>Wed, 30 Jun 2010 14:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-876</guid>
		<description>Works like a charm, thanks a lot for sharing!</description>
		<content:encoded><![CDATA[<p>Works like a charm, thanks a lot for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type by La crémerie passe à Wordpress 3.0 ! Ce qui va changer&#8230; &#124; La crémerie</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-848</link>
		<dc:creator>La crémerie passe à Wordpress 3.0 ! Ce qui va changer&#8230; &#124; La crémerie</dc:creator>
		<pubDate>Mon, 21 Jun 2010 15:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-848</guid>
		<description>[...] noter que les custom types ne marchent pas encore sur ce système. À lire, cet article où il est proposé une alternative à cette [...]</description>
		<content:encoded><![CDATA[<p>[...] noter que les custom types ne marchent pas encore sur ce système. À lire, cet article où il est proposé une alternative à cette [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on file-proxy by Mungo</title>
		<link>http://www.twothirdsdesign.co.uk/wordpress/plugin/2010/02/file-proxy/comment-page-1/#comment-674</link>
		<dc:creator>Mungo</dc:creator>
		<pubDate>Tue, 11 May 2010 22:22:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=522#comment-674</guid>
		<description>Nice plugin - if you plan anything to do with permissions it would be increbible if you would integrate it with Justin&#039;s Members[1] plugin!

[1] http://justintadlock.com/archives/2009/09/17/members-wordpress-plugin</description>
		<content:encoded><![CDATA[<p>Nice plugin &#8211; if you plan anything to do with permissions it would be increbible if you would integrate it with Justin&#8217;s Members[1] plugin!</p>
<p>[1] <a href="http://justintadlock.com/archives/2009/09/17/members-wordpress-plugin" rel="nofollow">http://justintadlock.com/archives/2009/09/17/members-wordpress-plugin</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type by Horttcore</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-633</link>
		<dc:creator>Horttcore</dc:creator>
		<pubDate>Tue, 04 May 2010 15:02:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-633</guid>
		<description>Thanks for this hint.
I prefer the simple idea of single-$posttype.php, instead of the advanced declaration.</description>
		<content:encoded><![CDATA[<p>Thanks for this hint.<br />
I prefer the simple idea of single-$posttype.php, instead of the advanced declaration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type by Christopher B</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-600</link>
		<dc:creator>Christopher B</dc:creator>
		<pubDate>Thu, 29 Apr 2010 20:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-600</guid>
		<description>Rather this is better: &lt;code&gt;// Template selection
function my_template_redirect()
{
	global $wp;
	if ($wp-&gt;query_vars[&quot;post_type&quot;] == &quot;work&quot;)
	{
		include(TEMPLATEPATH . &quot;/casestudy.php&quot;);
		die();
	}
}

add_action(&quot;template_redirect&quot;, &#039;my_template_redirect&#039;);&lt;/code&gt; Simple hook to check post type and apply a template accordingly.</description>
		<content:encoded><![CDATA[<p>Rather this is better: <code>// Template selection<br />
function my_template_redirect()<br />
{<br />
	global $wp;<br />
	if ($wp-&gt;query_vars["post_type"] == "work")<br />
	{<br />
		include(TEMPLATEPATH . "/casestudy.php");<br />
		die();<br />
	}<br />
}</p>
<p>add_action("template_redirect", 'my_template_redirect');</code> Simple hook to check post type and apply a template accordingly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type by Christopher B</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-599</link>
		<dc:creator>Christopher B</dc:creator>
		<pubDate>Thu, 29 Apr 2010 20:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-599</guid>
		<description>Or what about this: &lt;code&gt;add_action(&quot;template_redirect&quot;, array(&amp;$this, &#039;template_redirect&#039;));
 
// Template selection
function template_redirect()
{
	global $wp;
	if ($wp-&gt;query_vars[&quot;post_type&quot;] == &quot;work&quot;)
	{
		include(TEMPLATEPATH . &quot;/casestudy.php&quot;);
		die();
	}
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Or what about this: <code>add_action("template_redirect", array(&amp;$this, 'template_redirect'));</p>
<p>// Template selection<br />
function template_redirect()<br />
{<br />
	global $wp;<br />
	if ($wp-&gt;query_vars["post_type"] == "work")<br />
	{<br />
		include(TEMPLATEPATH . "/casestudy.php");<br />
		die();<br />
	}<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type by Daily Digest for April 24th</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-575</link>
		<dc:creator>Daily Digest for April 24th</dc:creator>
		<pubDate>Sat, 24 Apr 2010 12:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-575</guid>
		<description>[...] Shared Setting templates for WordPress 3.0 Custom Post Type « Two Thirds Design. [...]</description>
		<content:encoded><![CDATA[<p>[...] Shared Setting templates for WordPress 3.0 Custom Post Type « Two Thirds Design. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting templates for WordPress 3.0 Custom Post Type by wardy</title>
		<link>http://www.twothirdsdesign.co.uk/article/2010/03/setting-templates-for-wordpress-3-0-custom-post-type/comment-page-1/#comment-574</link>
		<dc:creator>wardy</dc:creator>
		<pubDate>Sat, 24 Apr 2010 09:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.twothirdsdesign.co.uk/?p=527#comment-574</guid>
		<description>Excellent. Thanks a bunch. At least I can get my custom post type showing up with a different template. 

You would of thought that having &quot;page-attributes&quot; in the supports array of register_post_type meant that those attributes actually worked.

Maybe this will be updated by the time 3.0 is released.</description>
		<content:encoded><![CDATA[<p>Excellent. Thanks a bunch. At least I can get my custom post type showing up with a different template. </p>
<p>You would of thought that having &#8220;page-attributes&#8221; in the supports array of register_post_type meant that those attributes actually worked.</p>
<p>Maybe this will be updated by the time 3.0 is released.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
