<?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: Multiple taxonomies in a dropdown menus</title>
	<atom:link href="http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 24 Nov 2011 11:37:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Irena Liceaga</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-188</link>
		<dc:creator>Irena Liceaga</dc:creator>
		<pubDate>Thu, 26 May 2011 12:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-188</guid>
		<description>Most weblogs often copy other information sites or sites of newspapers and magazines. Subscribe to this weblog here I like that you will find unique content articles that one could hardly come across elsewhere. Luckily, there are even now these kinds of information sites, make sure you go on! I can no longer see the popular media. It can be there so much garbage prepared, I bear it no additional soon. A actually pleasant weblog, with thanks.</description>
		<content:encoded><![CDATA[<p>Most weblogs often copy other information sites or sites of newspapers and magazines. Subscribe to this weblog here I like that you will find unique content articles that one could hardly come across elsewhere. Luckily, there are even now these kinds of information sites, make sure you go on! I can no longer see the popular media. It can be there so much garbage prepared, I bear it no additional soon. A actually pleasant weblog, with thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lindsay</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-187</link>
		<dc:creator>Lindsay</dc:creator>
		<pubDate>Mon, 25 Apr 2011 17:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-187</guid>
		<description>Thanks Hugo.  Your code saved me!

Slashes, your solution worked wonderfully for me on my development site.  I had a sidebar drop-down of four different taxonomies, ways to navigate a menu. But, when I moved to production, one of my drop-downs wouldn&#039;t populate.  I looked through all of my slugs to make sure there wasn&#039;t a conflict, then I adjusted the &#039;largest&#039; and &#039;number&#039; inputs to see if they were set too low for my actual data.  But, to no avail--I couldn&#039;t figure out what the problem was.  

Finally, I tried Hugo&#039;s code and it worked first try. 

Great work and thanks to both of you.  What would we do without this open source community?</description>
		<content:encoded><![CDATA[<p>Thanks Hugo.  Your code saved me!</p>
<p>Slashes, your solution worked wonderfully for me on my development site.  I had a sidebar drop-down of four different taxonomies, ways to navigate a menu. But, when I moved to production, one of my drop-downs wouldn&#8217;t populate.  I looked through all of my slugs to make sure there wasn&#8217;t a conflict, then I adjusted the &#8216;largest&#8217; and &#8216;number&#8217; inputs to see if they were set too low for my actual data.  But, to no avail&#8211;I couldn&#8217;t figure out what the problem was.  </p>
<p>Finally, I tried Hugo&#8217;s code and it worked first try. </p>
<p>Great work and thanks to both of you.  What would we do without this open source community?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-186</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Sat, 09 Apr 2011 16:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-186</guid>
		<description>Hi

Thanks for this tutorial.  I have come across an issue though.  When selecting from the dropdown it shows the page of that term with the associated content, however I&#039;m not sure which template it is calling. 

I&#039;m assuming it&#039;s calling the archive.php template?  Problem is that I have created seperate content type templates and now I want the taxonomy term page generated by the drop down to use the sample content type template.  Short of creating taxonomy-mytax.php files what other solutions would you recommend?</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Thanks for this tutorial.  I have come across an issue though.  When selecting from the dropdown it shows the page of that term with the associated content, however I&#8217;m not sure which template it is calling. </p>
<p>I&#8217;m assuming it&#8217;s calling the archive.php template?  Problem is that I have created seperate content type templates and now I want the taxonomy term page generated by the drop down to use the sample content type template.  Short of creating taxonomy-mytax.php files what other solutions would you recommend?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-185</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 27 Mar 2011 01:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-185</guid>
		<description>Hey thanks for the alternative code! Would it be possible for you to guide me where exactly I add the Taxonomy terms in the taxonomy template?

Would it great if you could upload the full code online.

And thanks a ton to Slashas for the original code :)</description>
		<content:encoded><![CDATA[<p>Hey thanks for the alternative code! Would it be possible for you to guide me where exactly I add the Taxonomy terms in the taxonomy template?</p>
<p>Would it great if you could upload the full code online.</p>
<p>And thanks a ton to Slashas for the original code :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Public Liability Insurance</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-102</link>
		<dc:creator>Public Liability Insurance</dc:creator>
		<pubDate>Mon, 09 Aug 2010 15:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-102</guid>
		<description>&lt;i&gt;I just started using taxonomies with this new version of wordpress, i think its a great way to group posts and easily manage them in wp admin panel and also use them as a suport navigation in a website. Aroundwp.com tutorial &#8220;Display custom taxonomy terms in a dropdown menu&#8221; was a staring point to explore taxonomies, really cool. &lt;/i&gt;
+1</description>
		<content:encoded><![CDATA[<p><i>I just started using taxonomies with this new version of wordpress, i think its a great way to group posts and easily manage them in wp admin panel and also use them as a suport navigation in a website. Aroundwp.com tutorial &#8220;Display custom taxonomy terms in a dropdown menu&#8221; was a staring point to explore taxonomies, really cool. </i><br />
+1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-91</link>
		<dc:creator>Hugo</dc:creator>
		<pubDate>Tue, 03 Aug 2010 00:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-91</guid>
		<description>Almost there, it didnt show the form, here it is:

[php]
&lt;form&gt;
&lt;select name=&quot;tag-dropdown&quot; onchange=&quot;document.location.href=this.options[this.selectedIndex].value;&quot;&gt;
&lt;option value=&#039;#&#039;&gt;Select Taxonomy terms&lt;/option&gt;
$taxonomies = array(&#039;taxonomy-name&#039;);
$args = array(&#039;orderby&#039;=&gt;&#039;name&#039;,&#039;hide_empty&#039;=&gt;true);
echo get_terms_dropdown($taxonomies, $args);
&lt;/select&gt;
&lt;/form&gt;
[/php]</description>
		<content:encoded><![CDATA[<p>Almost there, it didnt show the form, here it is:</p>
<pre class="brush: php;">
&lt;form&gt;
&lt;select name=&quot;tag-dropdown&quot; onchange=&quot;document.location.href=this.options[this.selectedIndex].value;&quot;&gt;
&lt;option value='#'&gt;Select Taxonomy terms&lt;/option&gt;
$taxonomies = array('taxonomy-name');
$args = array('orderby'=&gt;'name','hide_empty'=&gt;true);
echo get_terms_dropdown($taxonomies, $args);
&lt;/select&gt;
&lt;/form&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-90</link>
		<dc:creator>Hugo</dc:creator>
		<pubDate>Tue, 03 Aug 2010 00:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-90</guid>
		<description>Woo, always learning. Ok so here´s my alternative solution:

In functions.php add

[php]
function get_terms_dropdown($taxonomies, $args){
	$myterms = get_terms($taxonomies, $args);
	$output =&quot;&quot;;
	foreach($myterms as $term){
		$root_url = get_bloginfo(&#039;url&#039;);
		$term_taxonomy=$term-&gt;taxonomy;
		$term_slug=$term-&gt;slug;
		$term_name =$term-&gt;name;
		$link = $root_url.&#039;/&#039;.$term_taxonomy.&#039;/&#039;.$term_slug;
		$output .=&quot;&lt;option value=&#039;&quot;.$link.&quot;&#039;&gt;&quot;.$term_name.&quot;&lt;/option&gt;&quot;;
	}
	$output .=&quot;&quot;;
return $output;
}
[/php]

and then in the taxonomy template add:



Select Taxonomy terms
[php]
$taxonomies = array(&#039;taxonomy-name&#039;);
$args = array(&#039;orderby&#039;=&gt;&#039;name&#039;,&#039;hide_empty&#039;=&gt;true);
echo get_terms_dropdown($taxonomies, $args);
[/php]



Its a bit more flexible. Hope its helps wp developers.

Keep up the good work</description>
		<content:encoded><![CDATA[<p>Woo, always learning. Ok so here´s my alternative solution:</p>
<p>In functions.php add</p>
<pre class="brush: php;">
function get_terms_dropdown($taxonomies, $args){
	$myterms = get_terms($taxonomies, $args);
	$output =&quot;&quot;;
	foreach($myterms as $term){
		$root_url = get_bloginfo('url');
		$term_taxonomy=$term-&gt;taxonomy;
		$term_slug=$term-&gt;slug;
		$term_name =$term-&gt;name;
		$link = $root_url.'/'.$term_taxonomy.'/'.$term_slug;
		$output .=&quot;&lt;option value='&quot;.$link.&quot;'&gt;&quot;.$term_name.&quot;&lt;/option&gt;&quot;;
	}
	$output .=&quot;&quot;;
return $output;
}
</pre>
<p>and then in the taxonomy template add:</p>
<p>Select Taxonomy terms</p>
<pre class="brush: php;">
$taxonomies = array('taxonomy-name');
$args = array('orderby'=&gt;'name','hide_empty'=&gt;true);
echo get_terms_dropdown($taxonomies, $args);
</pre>
<p>Its a bit more flexible. Hope its helps wp developers.</p>
<p>Keep up the good work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slashas</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-87</link>
		<dc:creator>slashas</dc:creator>
		<pubDate>Mon, 02 Aug 2010 14:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-87</guid>
		<description>hello Hugo, 
yes you can paste your code, just use [&#112;&#104;&#112;] [/&#112;&#104;&#112;] tags, example:
[php]
//your code
[/php]</description>
		<content:encoded><![CDATA[<p>hello Hugo,<br />
yes you can paste your code, just use [&#112;&#104;&#112;] [/&#112;&#104;&#112;] tags, example:</p>
<pre class="brush: php;">
//your code
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo</title>
		<link>http://www.aroundwp.com/multiple-taxonomies-in-a-dropdown-menus/comment-page-1/#comment-86</link>
		<dc:creator>Hugo</dc:creator>
		<pubDate>Sun, 01 Aug 2010 15:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.aroundwp.com/?p=159#comment-86</guid>
		<description>Woo thanks for the reply, thats a great solution. In the meantime i found a way to accomplish the same thing but with a different approach. 

Can i paste the code in the comment box? 

I just started using taxonomies with this new version of wordpress, i think its a great way to group posts and easily manage them in wp admin panel and also use them as a suport navigation in a website. Aroundwp.com tutorial &quot;Display custom taxonomy terms in a dropdown menu&quot; was a staring point to explore taxonomies, really cool. 

And what about custom post types? I will wait for a tutorial about this new wp feature.

Keep up with good work.</description>
		<content:encoded><![CDATA[<p>Woo thanks for the reply, thats a great solution. In the meantime i found a way to accomplish the same thing but with a different approach. </p>
<p>Can i paste the code in the comment box? </p>
<p>I just started using taxonomies with this new version of wordpress, i think its a great way to group posts and easily manage them in wp admin panel and also use them as a suport navigation in a website. Aroundwp.com tutorial &#8220;Display custom taxonomy terms in a dropdown menu&#8221; was a staring point to explore taxonomies, really cool. </p>
<p>And what about custom post types? I will wait for a tutorial about this new wp feature.</p>
<p>Keep up with good work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

