How to query taxonomies
-
Hello,
I am using the a custom template file for
taxonomy-advert_location.php
taxonomy-advert_type.phpand the code inside is
<?php global $wp_query; remove_filter("the_content", "adverts_the_content"); echo shortcode_adverts_list(array()); ?>
The issue now is that clicking the advert location taxonomy does not query the location and advert type. Instead of ads related to location displaying all ads are displaying.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to query taxonomies’ is closed to new replies.