I believe you can also pass an array to is_tax
:
if(is_tax(array('country', 'us_state', 'cities')) {
return 0;
}
Give that a try, but otherwise what you have is fine.
Related Posts:
- Retrieve posts by term id custom query
- Custom Taxonomy Endpoint Pagination using paginate_links()
- Check if a post has any term in this custom taxonomy?
- Query Custom Post by Taxonomy Category
- Using WordPress to make a “Product Search” type navigation drilldown
- A better Media LIbrary Experience
- Custom Taxonomy Leads to 404 Page – Permalink Structure Flushed
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- Remove Category description textarea
- How to use wp_terms_checklist() on front end
- How to get the page slug of the current archive page for a custom taxonomy
- How can I display parent and child taxonomies in separate drop downs?
- Display a custom taxonomy as a dropdown on the edit posts page
- wp query with multiple taxonomy?
- Possible to register multiple custom taxonomies in one function?
- How to show taxonomy meta on frontpage?
- Is there a way of storing posts and pages under the same hierarchy?
- Display Custom Taxonomy Terns ordered by meta_value
- Display custom taxonomy for product
- Automatically assign taxonomy term if custom meta value exists
- Function to limit the number of posts in taxonomy.php
- Can I create custom taxonomy what dont creates slug pages?
- Dynamically tax_query terms
- User role permissions based on taxonomies
- WP Query with custom taxonomy
- How To Capitalize Entries In the Taxonomy Box?
- Custom taxonomies making WP very slow – Way to fix?
- Make tag cloud links consistent
- Insert form checkbox at bottom of taxonomy edit term page
- Show only 1 term of a current posts taxonomy
- Custom user taxonomies fail when i register multiple taxonomies
- Top level parent taxonomy ID
- Taxonomy archive showing no results
- Autogenerate Front End Form Field With jQuery
- Get posts by term slug only
- Changing taxonomy term by slug (wp_update_term)
- Selecting all posts from the children of a particular parent taxonomy
- Custom Taxonomy Term Caching?
- Controlling Taxonomy Category listings to hide and unhide specifics
- How do I create a custom archive page depending on the custom taxonomy type?
- Display related products based on 2 specific product attributes values in WooCommerce
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- Add Custom Taxonomy for Blog Meta Info
- Include parent and child in category url
- How to get all taxonomies which can be added in menu?
- WordPress Tag or Custom Taxonomy Return All Posts if has that Word in Post Title
- Is there a template file to list all terms of a given custom taxonomy?
- Assign terms to new capability for all taxonomies
- Widget Logic use with Custom Taxonomy
- Select multiple categories from CPT to display in LayersWP builder widget
- Display value of custom field of custom taxonomy in single post?
- Rewrite Rules returning wrong data
- limit post by a taxonomy in the admin
- WordPress Custom post query sorting does not work
- Output unique taxonomy terms of posts inside a loop
- How to display ACF taxonomy checkbox links on WooCommerce product category archive
- WordPress set taxonomy on post?
- How to find taxonomy parent id from child taxonomy page?
- Removing “trashed” posts from post count in custom taxonomy terms?
- Show only the sub-categories (and their content) of the current custom taxonomy with ‘taxonomy.php’
- Using Advanced Custom Fields Relationship Field to select a taxonomy term
- How do I make multiple dependent input fields that use the jquery autocomplete function?
- Also show terms that are related to draft and pending posts
- Breaking Bootstrap Grid at Post Count with Tax Terms
- W3 total cache – white screen of death when trying to show certain taxonomies [closed]
- How to get this value inside RETURN
- Custom taxonomy page not working
- What is the best way to change sidebars based on custom taxonomy terms?
- Displaying the post count of all custom taxonomy terms in a list format
- How to update post taxonomies (Creating a custom UI for Custom Taxonomy)
- Taxonomy dropdown metabox in the back-end
- Taxonomy archive uses incorrect template when query strings are used
- wordpress mysql / wpdb ajax load more for terms help
- Get child product categories from parent product category for CUSTOM TAXONOMY archive page
- How to get related taxonomies based on a category with mysql query?
- Reorder a page of posts of a certain taxonomy/value by a custom field
- Get children of taxonomies
- Yoast – Custom Taxonomy – primary category
- List posts with slug title
- Unregistered taxonomy apears still as emtpy filter list
- How to paginate with an query var appended to permalink?
- Use custom taxonomy terms as parent for pages
- Get Highest and Lowest get_term_meta() value from Taxonomy Term
- Custom taxonomy return 404
- add_rewrite_rule using custom taxonomy and year
- index.php Not Showing Custom Posts / Terms
- switch statement for taxonomy content
- How to make my taxonomy URL work?
- Index page of posts tagged with two separate taxonomies
- How to include child terms within parent?
- create taxonomy
- stdClass::$labels /wp-includes/general-template.php undefined
- Custom taxonomy in short code
- How do i change the tags and taxonomies
- limiting characters shown in taxonomy descriptions
- What is the current page’s Taxonomy?
- How do I query multiple specific posts from a custom taxonomy?
- query grandchildren taxonomy terms
- Later change of taxonomy slug base not changing permalink
- An unidentified error has occurred when deleting a category