Title: [Plugin: Query Multiple Taxonomies] Plugin break taxonomy.php template
Last modified: August 19, 2016

---

# [Plugin: Query Multiple Taxonomies] Plugin break taxonomy.php template

 *  [Sahar](https://wordpress.org/support/users/saharusa/)
 * (@saharusa)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/)
 * Hi scribu,
    It looks like latest version of the plugins disabled the use of taxonomy.
   php template. (bypass it).
 * Any idea how to prevent it ?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459407)
 * It looks for `multitax.php` instead.
 * A workaround would be to create multitax.php and put this line in it:
 * `<?php include('./taxonomy.php'); ?>`
 * You could also do something a little more advanced:
 *     ```
       <?php
       if ( count(qmt_get_query()) == 1 ) :
       	include './taxonomy.php';
       	die;
       else:
   
       	// output template for when multiple taxonomies are queried
   
       endif;
       ```
   
 * Not sure if I should make it work like this by default or not or if I should 
   drop `multitax.php` altogether.
 *  Thread Starter [Sahar](https://wordpress.org/support/users/saharusa/)
 * (@saharusa)
 * [16 years ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459607)
 * Thanks,
 * All I did to work around this is to include multitax.php files in template directory
   🙂
 *  [thedimsumkid](https://wordpress.org/support/users/thedimsumkid/)
 * (@thedimsumkid)
 * [16 years ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459620)
 * Hi – thanks for your great work. I tried this on the standard structure theme
   based on hybrid.
 * When I create the multitax page it outputs the following error
 * >  Catchable fatal error: Object of class WP_Error could not be converted to 
   > string in /home/anhhan83/learningjunkies.com/wp-content/themes/hybrid/taxonomy.
   > php on line 25
 * The site works fine with the plugin in deacitivated and fine without the multitax.
   php page. Any thoughts?
 *  [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [16 years ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459621)
 * Thanks for reporting. I’m aware that there are issues with the Hybrid framework.
 *  [thedimsumkid](https://wordpress.org/support/users/thedimsumkid/)
 * (@thedimsumkid)
 * [16 years ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459622)
 * Excellent – thanks for the info.
 * Is there any way to use this plugin in a specified category?
 * E.g say I add half my posts to the “Resources” and use some custom taxonomy.
 * Will your plugin work on the resource.php page to filter based on the taxonomy
   that ONLY exists in posts belonging to the Resources category?
 * If so, what is the best way to achieve this?
 * Thanks!
 *  [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [16 years ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459626)
 * > Will your plugin work on the resource.php page to filter based on the taxonomy
   > that ONLY exists in posts belonging to the Resources category?
 * It will always attempt to load multitax.php if it exists.
 * Note that the plugin still [needs work](http://wordpress.org/support/topic/393498)
   when it comes to handling categories.
 *  [earthmanweb](https://wordpress.org/support/users/earthmanweb/)
 * (@earthmanweb)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459632)
 * this would be great, but I installed it on Beta 2 and it doesn’t seem to be working
   on my site…
 * I am using two custom taxonomies (locations, job-category), and a custom page
   type (jobs).
 * Here’s my query
 *     ```
       ?post_type=jobs&locations=beaver-valley&job-category=science-technology&post_status=publish&orderby=date&order=DESC&posts_per_page=15&paged=1
       ```
   
 * I am using the following code to change my query:
 *     ```
       $wp_query = new WP_Query();
       $new_query_vars = "?post_type=jobs&locations=beaver-valley&job-category=science-technology&post_status=publish&orderby=date&order=DESC&posts_per_page=15&paged=1";
       $wp_query -> query( $new_query_vars );
       ```
   
 * With the code above, WordPress only filters on the ‘job-category’ taxonomy. When
   I remove that, the ‘locations’ filter works just fine.
 * I installed the plugin, but I get the same results…
 * Please, am I doing something wrong?
 * Also, is this code going into Core soon? This seems like a pretty vital piece
   of functionality, IMO.
 * Thanks!
 *  [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459633)
 * Is ‘locations’ a custom taxonomy or something else?
 * Try installing the [development version](http://downloads.wordpress.org/plugin/query-multiple-taxonomies.zip).
 * > Also, is this code going into Core soon? This seems like a pretty vital piece
   > of functionality, IMO.
 * See [http://core.trac.wordpress.org/ticket/12891](http://core.trac.wordpress.org/ticket/12891)
 *  [fooddude](https://wordpress.org/support/users/fooddude/)
 * (@fooddude)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459641)
 * Using 1.2-alpha 5, the plugin appears to break category lists in the menu functions.
 * If I build a menu and add some categories, in my menu bar, I’ll get this:
 * whatever.com/category/foodwriting/travel/
 * Turn on your plugin (only plugin activated), and I get a 404 not found error 
   on all category selections, though the url displayed is the same.
 * I know it’s alpha, just thought I’d let you know.
 *  [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459642)
 * fooddude: I can’t reproduce your problem using WP 3.0.
 * I’m pretty certain it has nothing to do with custom menus, though.
 * Try switching to the default theme and disabling all other plugins and see if
   you still get a 404 on that URL.
 *  [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459643)
 * Update: fooddude, the problem you reported has been resolved.
 * See [WP3.0: Second-level category archives 404’d](http://wordpress.org/support/topic/412457?replies=2)

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘[Plugin: Query Multiple Taxonomies] Plugin break taxonomy.php template’
is closed to new replies.

 * 11 replies
 * 5 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-plugin-break-taxonomyphp-template/#post-1459643)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
