if wp_query taxonomy term have posts
Having formulated my $query for a custom taxonomy on a page template, how would I ask if a specific term has posts?
Having formulated my $query for a custom taxonomy on a page template, how would I ask if a specific term has posts?
I have a custom post type of image with a custom taxonomy called image_tag (it’s hierarchical like categories). Here are some examples of the tags that might be used:
I’ve created a new query for a custom post type of ‘courses’. Those results are then to be filtered using tax_query, querying 3 custom taxonomies matching 1 or several term ID’s. These are passed from a search page.