is_multitax doesn't work
-
It seems that the plugin grabs the first selected taxonomy and uses this as the title of the results page. This is confusing for when a user selects multiple entries and gets a page that has the first as a big title. Imagine the following:
– Yellow shirts
– Green shirts
– Red shirts
– Blue shirtsA user selects Yellow shirts AND Red shirts but the results page has a big title that just says “Yellow shirts”. They aren’t going to understand that it’s a mix.
Thus I want to set a static heading for the results (taxonomy) page but can’t really do this as this plugin uses the defaults template (means the heading would be applied to all tax pages) and the is_multitax tag doesn’t seem to do anything.
So I have a taxonomies-customtax.php template with:
<?php if ( is_multitax() ) : ?> test <?php endif; ?>
At top and no good. Has anyone had any luck with the problem of the heading?
Only other option I have found would maybe be to implement this script.
https://www.ads-software.com/extend/plugins/query-multiple-taxonomies/
- The topic ‘is_multitax doesn't work’ is closed to new replies.