<?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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cozmoslabs &#187; category dropdown</title>
	<atom:link href="http://www.cozmoslabs.com/tag/category-dropdown/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cozmoslabs.com</link>
	<description>Web design and development experiment.</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:05:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Quickly add a Category DropDown to Thematic 0.9</title>
		<link>http://www.cozmoslabs.com/300-quickly-add-a-category-dropdown-to-thematic-09/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quickly-add-a-category-dropdown-to-thematic-09</link>
		<comments>http://www.cozmoslabs.com/300-quickly-add-a-category-dropdown-to-thematic-09/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 08:39:05 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[Theme Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[category dropdown]]></category>
		<category><![CDATA[menu dropdown]]></category>
		<category><![CDATA[Thematic]]></category>

		<guid isPermaLink="false">http://www.cozmoslabs.com/?p=300</guid>
		<description><![CDATA[With the launch of Thematic 0.9 we now have out of the box drop-down menus to work with. This is one of the many features added to 0.9 that was requested by the community. However sometimes one might want to replace the default Thematic menu with a menu composed with the categories and sub-categories of [...]
Related posts:<ol>
<li><a href='http://www.cozmoslabs.com/202-replacing-the-thematic-menu-with-a-dropdown-list-of-categories/' rel='bookmark' title='Replacing the Thematic Menu with a DropDown List of Categories'>Replacing the Thematic Menu with a DropDown List of Categories</a></li>
<li><a href='http://www.cozmoslabs.com/284-thematic-drop-down-menu/' rel='bookmark' title='Drop Down Menu for Thematic'>Drop Down Menu for Thematic</a></li>
<li><a href='http://www.cozmoslabs.com/961-exclude-posts-from-wordpress-navigation-in-thematic/' rel='bookmark' title='Exclude posts from WordPress Navigation in Thematic'>Exclude posts from WordPress Navigation in Thematic</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>With the launch of <a href="http://themeshaper.com/thematic-for-wordpress/">Thematic 0.9</a> we now have out of the box drop-down menus to work with. This is one of the many features added to 0.9 that was requested by the community. However sometimes one might want to replace the default Thematic menu with a menu composed with the categories and sub-categories of your WordPress installation. </p>
<p>Although I&#8217;ve done in the past a similar tutorial that one isn&#8217;t working anymore with the latest Thematic version so here is a quick and easy way to add a Category DropDown.</p>
<p><strong>First </strong>create a <a href="http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/">ChildTheme</a>.<br />
<strong>Second</strong> create and then open the <em>functions.php</em> file that should be found in your new ChildTheme.<br />
<strong>Third</strong> add this code to the <em>functions.php</em> file:</p>
<p>[sourcecode language="php"]</p>
<p>#Add a drop down category menu<br />
function childtheme_category_menu() { ?&gt;<br />
        &lt;div id=&quot;category-menu&quot; class=&quot;menu&quot;&gt;<br />
            &lt;ul id=&quot;category-nav&quot; class=&quot;sf-menu&quot;&gt;<br />
                &lt;?php wp_list_categories(&#8216;title_li=&#8217;); ?&gt;<br />
            &lt;/ul&gt;<br />
        &lt;/div&gt;<br />
&lt;?php }<br />
add_action(&#8216;wp_page_menu&#8217;,'childtheme_category_menu&#8217;);</p>
<p>[/sourcecode]</p>
<p>Save and test. You should now have a drop-down from your categories!</p>
<p>Related posts:<ol>
<li><a href='http://www.cozmoslabs.com/202-replacing-the-thematic-menu-with-a-dropdown-list-of-categories/' rel='bookmark' title='Replacing the Thematic Menu with a DropDown List of Categories'>Replacing the Thematic Menu with a DropDown List of Categories</a></li>
<li><a href='http://www.cozmoslabs.com/284-thematic-drop-down-menu/' rel='bookmark' title='Drop Down Menu for Thematic'>Drop Down Menu for Thematic</a></li>
<li><a href='http://www.cozmoslabs.com/961-exclude-posts-from-wordpress-navigation-in-thematic/' rel='bookmark' title='Exclude posts from WordPress Navigation in Thematic'>Exclude posts from WordPress Navigation in Thematic</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cozmoslabs.com/300-quickly-add-a-category-dropdown-to-thematic-09/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

