• Stars
    star
    104
  • Rank 330,604 (Top 7 %)
  • Language
    PHP
  • Created almost 14 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

WordPress plugin for allowing advanced taxonomy queries.

Query Multiple Taxonomies

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.

Description

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).

Sponsors

No Support

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

Screenshots

  1. Lists mode
  2. Checkboxes mode
  3. Dropdowns mode
  4. Widget configuration

How can I order the taxonomies in the widget?

Just drag them around.

How do I define a custom taxonomy?

Try the Simple Taxonomies plugin.

Is there a template tag I can use instead of widgets?

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'

How can I customize the display?

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.

How can I customize the display even further?

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.

Changelog

1.6.3 (next)

  • fixed parent term post count. props wxyjp
  • fixed term name enconding issue
  • added French translation. props flameboy

1.6.2

  • {{count}} tag improvements. props tiagoalves83 and jprberlin
  • added {{any-text}} tag. props jprberlin
  • updated to Mustache 1.0.0

1.6.1

  • fixed activation error
  • fixed error in PHP 5.4

1.6

  • added checkbox mode
  • added {{count}} tag. props khakulov
  • added Ukranian translation. props Jurko Chervony
  • more info

1.5.1

  • fixed issue with custom post types

1.5

  • easy customization, using Mustache templates
  • bring back wp_title filtering
  • fix qmt_get_query() not working with the 'AND' tax_query operator
  • more info

1.4

  • 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

1.3.2

  • fixed URL problems

1.3.1

  • dropdowns displays hierarchical taxonomies correctly
  • various bugfixes

1.3

  • multiple taxonomies per widget
  • introduced dropdowns mode
  • is_multitax() accepts a list of taxonomies to check
  • fixed a lot of query errors
  • more info

1.2.3

  • fixed problems with custom menus
  • fixed a problem with categories

1.2.2

  • fixed fatal error
  • reverted is_multitax() to previous behaviour

1.2.1

  • fixed issue when site url isn't the same as the wp url
  • fixed issue when doing a single taxonomy query

1.2

  • fewer queries
  • custom post type support
  • load correct template for single category|tag|term archives
  • more info

1.1.1

  • better title generation
  • add ro_RO l10n

1.1

  • allow ?tax=foo+bar (AND) queries
  • add taxonomy drill-down widget
  • more info

1.0

More Repositories

1

wp-posts-to-posts

Efficient many-to-many connections between posts, pages, custom post types, users.
PHP
971
star
2

wp-front-end-editor

An inline content editor for WordPress.
JavaScript
248
star
3

wp-scb-framework

Utilities for speeding up WordPress plugin and theme development
PHP
220
star
4

wp-phptidy

Automatically format PHP code to meet the WordPress Coding Standards
PHP
127
star
5

travis-stats

Travis CI build charts
JavaScript
44
star
6

romania-3d

3D map of Romanian census data
JavaScript
38
star
7

wp-term-management-tools

A WordPress plugin to help with taxonomy term management. Now maintained by theMikeD
PHP
35
star
8

curio-http

Async HTTP requests using Curio
Python
23
star
9

wp-lib-posts-to-posts

Library code for Posts 2 Posts
PHP
20
star
10

wp-proper-network-activation

A WordPress plugin to fix network activation on multisite installs
PHP
15
star
11

wp-smart-archives-reloaded

WordPress plugin to create post archive pages
PHP
12
star
12

wp-category-checklist-tree

Preserves the category hierarchy on the post editing screen
PHP
11
star
13

wp-smarter-navigation

A WordPress plugin that generates previous & next post links based on referrer.
PHP
10
star
14

wp-scb-framework-example

Example plugin using scbFramework
PHP
8
star
15

wp-hyper-admins

Give even more power to super-admins
PHP
8
star
16

wp-custom-field-taxonomies

Convert custom field values to taxonomy terms
PHP
8
star
17

wp-press-this-reloaded

An enhanced version of the PressThis bookmarklet in WordPress
PHP
7
star
18

baseline-checker

Bookmarklet for checking vertical rhythm
JavaScript
6
star
19

wp-timepicker

A WordPress integration of Trent Richardson's datetime picker
JavaScript
5
star
20

wp-user-management-tools

Allows super-admins to quickly add users to a particular blog in a multisite installation.
PHP
5
star
21

scheme.py

A demo Lisp interpreter, written in Python
Python
4
star
22

wp-filter-plugins

PHP
4
star
23

elevator

Elevator controller simulation
Clojure
3
star
24

wp-comment-autogrow

PHP
2
star
25

wp-filter-email-notifications

PHP
2
star
26

ember-moxie-demo

Example upload UI using Ember.js and mOxie
JavaScript
2
star
27

train-tickets.clj

Clojure programming exercise
Clojure
1
star
28

train-tickets.hs

Haskell programming exercise
Haskell
1
star
29

train-tickets.rs

Rust programming exercise
Rust
1
star
30

wp-random-post-link

PHP
1
star
31

wp-deviant-thumbs

PHP
1
star