<?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: Using custom taxonomies to create a movie database</title>
	<atom:link href="http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database/feed" rel="self" type="application/rss+xml" />
	<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database</link>
	<description>Life, Blogging, and WordPress</description>
	<lastBuildDate>Fri, 12 Mar 2010 19:48:22 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 5 reasons I recommend WordPress &#171; Calin Don</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-177676</link>
		<dc:creator>5 reasons I recommend WordPress &#171; Calin Don</dc:creator>
		<pubDate>Thu, 11 Feb 2010 21:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-177676</guid>
		<description>[...] A good article on custom taxonomies can be found at http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database. [...]</description>
		<content:encoded><![CDATA[<p>[...] A good article on custom taxonomies can be found at <a href="http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database" rel="nofollow">http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pspnob</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-177427</link>
		<dc:creator>pspnob</dc:creator>
		<pubDate>Mon, 08 Feb 2010 20:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-177427</guid>
		<description>where exactly you put this code????

&lt;pre&gt;&lt;code&gt;ID, &#039;taxonomy_name&#039;, &#039;Taxonomy Label: &#039;, &#039;, &#039;, &#039;&#039; ); ?&gt;?&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>where exactly you put this code????</p>
<pre><code>ID, 'taxonomy_name', 'Taxonomy Label: ', ', ', '' ); ?&gt;?</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chrissie Brodigan</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-177136</link>
		<dc:creator>Chrissie Brodigan</dc:creator>
		<pubDate>Fri, 05 Feb 2010 18:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-177136</guid>
		<description>Justin,

Can you estimate the time you took to put the first version of the site with the taxonomy together, including the ramp-up/learning time.

I&#039;m getting ready to embark on a very project (both inspired by and using this tutorial!) and I&#039;m wondering what I&#039;m getting myself into.

WP/PHP Fluency = strong

:)CB</description>
		<content:encoded><![CDATA[<p>Justin,</p>
<p>Can you estimate the time you took to put the first version of the site with the taxonomy together, including the ramp-up/learning time.</p>
<p>I&#8217;m getting ready to embark on a very project (both inspired by and using this tutorial!) and I&#8217;m wondering what I&#8217;m getting myself into.</p>
<p>WP/PHP Fluency = strong</p>
<p> <img src='http://justintadlock.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> CB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ouistiti</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-174141</link>
		<dc:creator>ouistiti</dc:creator>
		<pubDate>Sat, 09 Jan 2010 10:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-174141</guid>
		<description>I fixed this myself if anyone else is having the same problem in 2.9...

Add :

remove_filter( &#039;term_description&#039;, &#039;wp_kses_data&#039; );

to your functions.php

Justin, maybe you could add this to your article because as it stands the article doesn&#039;t work for &gt; 2.9</description>
		<content:encoded><![CDATA[<p>I fixed this myself if anyone else is having the same problem in 2.9&#8230;</p>
<p>Add :</p>
<p>remove_filter( &#8216;term_description&#8217;, &#8216;wp_kses_data&#8217; );</p>
<p>to your functions.php</p>
<p>Justin, maybe you could add this to your article because as it stands the article doesn&#8217;t work for &gt; 2.9</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ouistiti</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-173091</link>
		<dc:creator>ouistiti</dc:creator>
		<pubDate>Mon, 04 Jan 2010 12:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-173091</guid>
		<description>Sorry that was some confusing punctuation, I meant to say that only links work, while other html is now filtered out.</description>
		<content:encoded><![CDATA[<p>Sorry that was some confusing punctuation, I meant to say that only links work, while other html is now filtered out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ouistiti</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-173090</link>
		<dc:creator>ouistiti</dc:creator>
		<pubDate>Mon, 04 Jan 2010 12:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-173090</guid>
		<description>The remove filter line :

remove_filter( &#039;pre_term_description&#039;, &#039;wp_filter_kses&#039; );

seems to have stopped working since WP 2.9. Now the only html shown that is entered in taxonomy descriptions are links, photos, captions e.t.c. no longer work.

Do you know of a fix for this?</description>
		<content:encoded><![CDATA[<p>The remove filter line :</p>
<p>remove_filter( &#8216;pre_term_description&#8217;, &#8216;wp_filter_kses&#8217; );</p>
<p>seems to have stopped working since WP 2.9. Now the only html shown that is entered in taxonomy descriptions are links, photos, captions e.t.c. no longer work.</p>
<p>Do you know of a fix for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Patterson</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-172417</link>
		<dc:creator>Michael Patterson</dc:creator>
		<pubDate>Thu, 31 Dec 2009 20:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-172417</guid>
		<description>Hey Jason,

What web site did you implement this on?</description>
		<content:encoded><![CDATA[<p>Hey Jason,</p>
<p>What web site did you implement this on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Kadlec</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-169443</link>
		<dc:creator>Jason Kadlec</dc:creator>
		<pubDate>Thu, 17 Dec 2009 17:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-169443</guid>
		<description>Someone on this thread was asking about making custom templates for taxonomies. Taxonomy.php will get you started, but what about when someone clicks on the permalink of a post using a custom taxonomy? Assuming you want to preserve some context, like the side bar of posts using custom taxonomies.

If you are in that position, this may help -- I needed to create a custom single.php so that if a post is within a custom taxonomy it would show a different layout than a regular single post.

This solves it for me:

I put this code into single.php (clearing all other code out) then I created single-teaching.php and /single-default.php:

&lt;pre&gt;&lt;code&gt;$post = $wp_query-&gt;post;
if ( is_taxonomy(&#039;Album&#039;) )
	include(TEMPLATEPATH . &#039;/single-teaching.php&#039;);
else
	include(TEMPLATEPATH . &#039;/single-default.php&#039;);&lt;/code&gt;&lt;/pre&gt;

Basically, if the post has any tag from my &quot;Album&quot; custom taxonomy - then display that post using the file single-teaching.php otherwise if it does not have a tag from the &#039;Album&#039; taxonomy applied, then display the post using single-default.php

In my case, I have posts that are blog posts, and posts that are &quot;lessons.&quot; The lessons are chunked up into major and minor categories and finally down into individual posts that either sell a pack of lessons. The packs of lessons needed a link to enable drilling down to see a list starting with the offer for the pack of lessons, followed by each individual lesson.

I&#039;m using categories to create navigation through the lessons and for reasons too long to explain here, I found that creating this custom taxonomy called &quot;Album&quot; did the trick so that I could first display a feed of all the Albums belonging to a major or minor category, then provide that &quot;View all albums in this series&quot; link courtesy of the custom taxonomy &quot;Album.&quot; Clicking on the link shows each post having the same Album tag. 

This could not be done with categories+sub-categories or at least not as I could see, because Wordpress always wants to list all the categories a post belongs to. Sure, you can limit that by saying just display a category ID, but this needs to scale such that I can&#039;t go hard coding category numbers in all the time.

I didn&#039;t want to use tags, because the lessons already have tags that describe the content of the lesson. 

Then, I discovered this additional bonus! Custom Single.php if my post is an &quot;Album&quot; ! How good are custom tags?! 

And another additional bonus I just realized while typing this. I can have lessons show up as parts of more than one album -- allowing my client down the road to mix and match existing content just by assigning the same Album tag to any group of lessons. 

Thanks Justin for getting me started down this road!</description>
		<content:encoded><![CDATA[<p>Someone on this thread was asking about making custom templates for taxonomies. Taxonomy.php will get you started, but what about when someone clicks on the permalink of a post using a custom taxonomy? Assuming you want to preserve some context, like the side bar of posts using custom taxonomies.</p>
<p>If you are in that position, this may help &#8212; I needed to create a custom single.php so that if a post is within a custom taxonomy it would show a different layout than a regular single post.</p>
<p>This solves it for me:</p>
<p>I put this code into single.php (clearing all other code out) then I created single-teaching.php and /single-default.php:</p>
<pre><code>$post = $wp_query-&gt;post;
if ( is_taxonomy('Album') )
	include(TEMPLATEPATH . '/single-teaching.php');
else
	include(TEMPLATEPATH . '/single-default.php');</code></pre>
<p>Basically, if the post has any tag from my &#8220;Album&#8221; custom taxonomy &#8211; then display that post using the file single-teaching.php otherwise if it does not have a tag from the &#8216;Album&#8217; taxonomy applied, then display the post using single-default.php</p>
<p>In my case, I have posts that are blog posts, and posts that are &#8220;lessons.&#8221; The lessons are chunked up into major and minor categories and finally down into individual posts that either sell a pack of lessons. The packs of lessons needed a link to enable drilling down to see a list starting with the offer for the pack of lessons, followed by each individual lesson.</p>
<p>I&#8217;m using categories to create navigation through the lessons and for reasons too long to explain here, I found that creating this custom taxonomy called &#8220;Album&#8221; did the trick so that I could first display a feed of all the Albums belonging to a major or minor category, then provide that &#8220;View all albums in this series&#8221; link courtesy of the custom taxonomy &#8220;Album.&#8221; Clicking on the link shows each post having the same Album tag. </p>
<p>This could not be done with categories+sub-categories or at least not as I could see, because Wordpress always wants to list all the categories a post belongs to. Sure, you can limit that by saying just display a category ID, but this needs to scale such that I can&#8217;t go hard coding category numbers in all the time.</p>
<p>I didn&#8217;t want to use tags, because the lessons already have tags that describe the content of the lesson. </p>
<p>Then, I discovered this additional bonus! Custom Single.php if my post is an &#8220;Album&#8221; ! How good are custom tags?! </p>
<p>And another additional bonus I just realized while typing this. I can have lessons show up as parts of more than one album &#8212; allowing my client down the road to mix and match existing content just by assigning the same Album tag to any group of lessons. </p>
<p>Thanks Justin for getting me started down this road!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 10 Tutorials for WordPress Development Skills &#124; Gazan</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-168556</link>
		<dc:creator>10 Tutorials for WordPress Development Skills &#124; Gazan</dc:creator>
		<pubDate>Mon, 14 Dec 2009 05:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-168556</guid>
		<description>[...] 1. Using Custom Taxonomies to Create a Movie Database [...]</description>
		<content:encoded><![CDATA[<p>[...] 1. Using Custom Taxonomies to Create a Movie Database [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: safia</title>
		<link>http://justintadlock.com/archives/2009/06/04/using-custom-taxonomies-to-create-a-movie-database#comment-167279</link>
		<dc:creator>safia</dc:creator>
		<pubDate>Mon, 07 Dec 2009 23:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1690#comment-167279</guid>
		<description>Do you have any ideas about how to add meta boxes to the term description page?  Is it possible to use add_meta_box or should use a filter?</description>
		<content:encoded><![CDATA[<p>Do you have any ideas about how to add meta boxes to the term description page?  Is it possible to use add_meta_box or should use a filter?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
