I seem to be missing how to properly implement QMT, or I am doing something wrong.
I have a custom WP template I have made up, so I don’t have any widgets enabled. I have heard mention of a drill-down menu, I am not 100% what that is exactly.
Essentially what I have is a custom post type made using the CUSTOM POST TYPE UI and also created some taxonomies with it.
What I really need to be able to do is be able to query multiple custom post types, and match several taxonomies against an array of terms.
Do I need some sort of code on my page in order for this to work? Do I need a widget to be enabled?
This is the code I have,
$post_type = array('Blu-ray Players', 'DVD Players'); $args = array('post_type' => $post_type, 'disc-player-brand' => 'lg'); $m = new WP_Query($args);
What I would like to do is be able to do something like this
$post_type = array('Blu-ray Players', 'DVD Players'); $args = array('post_type' => $post_type, 'disc-player-brand' => array('lg','sharp')); $m = new WP_Query($args);
So that it look for blurays and dvds of those two brands, however, I just can’t get it to work.
I tried replacing array(‘lg’,’sharp’) with “lg,sharp” but to no success.
Can any help be offered?
I have the plugin activated. Running the plugin version 2.0.1 and WP 3.0.1
- The topic ‘[Plugin: Query Multiple Taxonomies] QMT with multiple custom post types and taxonomies’ is closed to new replies.