Contributors: scribu
Tags: drill-down, query, widget, navigation, taxonomy
Requires at least: 3.2
Tested up to: 3.5
Stable tag: 1.6.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Filter posts through multiple taxonomies.
This plugin lets you do faceted search using multiple custom taxonomies.
It has a drill-down widget with multiple display modes.
Said widget is easily customizable via template files (no PHP knowledge required).
I do not offer any support for this plugin (free or paid).
Please consider using an alternative plugin.
Links: Documentation | Plugin News | Author's Site
- Lists mode
- Checkboxes mode
- Dropdowns mode
- Widget configuration
Just drag them around.
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.
Copy any file from the templates
directory into a directory called qmt-templates
in
your theme and modify it at will.
For example to change the checkbox mode display,
copy
wp-content/plugins/query-multiple-taxonomies/templates/checkboxes.html
to
wp-content/themes/YOUR-THEME/qmt-templates/checkboxes.html
and change it however you want.
- fixed parent term post count. props wxyjp
- fixed term name enconding issue
- added French translation. props flameboy
- {{count}} tag improvements. props tiagoalves83 and jprberlin
- added {{any-text}} tag. props jprberlin
- updated to Mustache 1.0.0
- fixed activation error
- fixed error in PHP 5.4
- added checkbox mode
- added {{count}} tag. props khakulov
- added Ukranian translation. props Jurko Chervony
- more info
- fixed issue with custom post types
- easy customization, using Mustache templates
- bring back wp_title filtering
- fix qmt_get_query() not working with the 'AND' tax_query operator
- more info
- WordPress 3.1 compatibility (native taxonomy handling)
- sortable taxonomy list
- widget not affected by non-active taxonomies anymore
- dropdowns display hierarchical taxonomies correctly
- more info
- fixed URL problems
- dropdowns displays hierarchical taxonomies correctly
- various bugfixes
- multiple taxonomies per widget
- introduced dropdowns mode
- is_multitax() accepts a list of taxonomies to check
- fixed a lot of query errors
- more info
- fixed problems with custom menus
- fixed a problem with categories
- fixed fatal error
- reverted is_multitax() to previous behaviour
- fixed issue when site url isn't the same as the wp url
- fixed issue when doing a single taxonomy query
- fewer queries
- custom post type support
- load correct template for single category|tag|term archives
- more info
- better title generation
- add ro_RO l10n
- allow ?tax=foo+bar (AND) queries
- add taxonomy drill-down widget
- more info
- initial release
- more info