Filter posts through multiple taxonomies.
Make sure your host is running PHP 5. Add this line to wp-config.php to check:
var_dump(PHP_VERSION);
Try the Simple Taxonomies plugin.
You can use the_widget(), like so:
the_widget('Taxonomy_Drill_Down_Widget', array(
'title' => '',
'mode' => 'dropdowns',
'taxonomies' => array( 'post_tag', 'color' ) // list of taxonomy names
));
'mode' can be one of 'lists' or 'dropdowns'
The template hierarchy for multitax queries is taxonomy.php -> archive.php -> index.php.
If you need to get specific, you can use the is_multitax() conditional tag, which works similarly to is_tax():
is_multitax()
-> true if more than one taxonomy was queried
is_multitax( array('tax_a', 'tax_b') )
-> true if both tax_a and tax_b were queried
Requires: 3.1 or higher
Compatible up to: 3.2.1
Last Updated: 2011-7-6
Downloads: 15,662
1 of 2 support threads in the last three weeks have been resolved.
Got something to say? Need help?