I ended up using this bit of code and it worked:
<?php if (has_term('adult-dvds','product_cat')) { ?>
<p>blah blah blah</p>
<?php } ?>
Related Posts:
- Combine two taxonomies in a hierarchical tree
- WooCommerce: List All Categories
- Can’t custom taxonomies have same terms (slugs) as categories?
- get_categories for custom post type with a specific custom taxonomy attached
- Order get_terms() By Custom Field
- Use tag interface for hierarchical taxonomy?
- How can I select a primary category?
- Using URL parameters, list posts from category and custom taxonomy
- How to make custom taxonomy check boxes like ‘Categories’
- Different templates for parent and children categories/taxonomies
- Are Categories, Tags and Custom Taxonomies any different in regards to SEO?
- How to create non-unique sub-category slugs?
- Show Post from parent category (custom taxonomy) ONLY!
- How to get next previous category in same taxonomy?
- How to split the categories of subcategories with thumbnails
- Are Custom Taxonomy Templates Possible?
- How to order categories in Woocommerce that are spread over multiple pages? [closed]
- How to add categories to products in woocommerce programatically? [closed]
- Get a list of Terms for a specific category
- Order Taxonomy Term by date created
- How to display a description of a given category from a custom taxonomy
- How to get the number of child categories a specific parent category has?
- Display products for a category, sorted by post_excerpt
- How can I convert some categories to a custom taxonomy?
- Category tree is flattened inside admin upon saving
- How do you remove display of WooCommerce product category on single product page?
- PHP Fatal error: Cannot use object of type WP_REST_Response as array in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
- How to know if it’s a child taxonomy?
- Show Heirachy of categories in WP Download Monitor
- wp_dropdown_categories and custom taxonomy + custom post type
- Show Featured products in product category pages
- Specifying multiple categories in URL (permalink)?
- WordPress category add image field
- Should the actual /category/ directory be 404? Is that normal WP behaviour
- Limit number of terms that a custom taxonomy can save per custom post type
- Can you pre-check wordpress categories?
- Change existing taxonomy settings when using custom taxonomy
- Show category images on single product page and product overview page
- How to get the id from the custom category?
- woocommerce product category tabs [closed]
- One Specific Category To Permalink
- add_rewrite_endpoint returns 404 on archives
- Add category only if post has custom taxonomy category
- Categories overview that links to page displaying posts
- Get all media categories
- Add child category to parent on post creation and save
- Get Number of total Parent Categories for Custom Taxonomy
- How to change how many list item show in category generated by file edit-tags.php
- Display custom taxonomy attached to the post on post single page
- Why custom taxomony not showing when create a post?
- Limit categories and it’s subcategories for specific group of users
- Ive got a term (get_term_by) but now I want to filter it by a category it is in?
- Question on using custom structures for categories
- add slug beside name in Admin Category Checklists
- Get Categories Where Taxonomy Equals ‘n’
- Having a template per category? Bad for server overhead?
- Echo text using is_tag
- custom page for custom Taxonomy
- Same menu for different taxonomies to reach different content
- Category link redirect to custom template page instead of index.php?
- How could I write a get_categories_by_year() function?
- How to display product categories and number of sales on WooCommerce
- Posts not listing out sub category in hierarchy
- Post to inherit custom category background image from parent
- show category in woocommerce
- 3.1 post formats and specific categories/custom taxonomies
- How to fix select filter on category
- Migrate the posts of a category to another blog as a custom taxonomy
- List of post categories only associated to another custom taxonomy
- List taxonomy terms assigned to a post in hierarchical view
- Display posts by alphabetical order
- Automatically add custom taxonomy to posts in a category
- How to set the same base url for two different taxonomies?
- Taxonomy custom check box meta field not getting saved
- Ordering terms whilst in loop
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- Grab all the posts for particular category
- Get WooCommerce product category list in functions.php
- How to assign Categories and tags inside the TinyMCE Editor for each Image?
- Taxonomy Category Icon on index page
- Why use hierarchical taxonomies instead of many custom taxonomies?
- Renaming default category taxonomy?
- Most efficient way to display current post subcategories?
- How to Manage and link certain custom taxonomy?
- How to add a post with new Taxonomy without assigning to default category?
- How to add additional field to Add new category part (without plugin use) [closed]
- Category and tags goes 404
- How to create default categories in new installs?
- Most efficient use of custom taxonomies, categories, and pages
- Create Cross Promoting Categories in WordPress Using ‘pre_get_posts’
- Check if value is a custom taxonomy category name
- finding out the top 5 source ( source is a custom taxonomy ), in a given category
- How can I add the custom taxonomy categories to the posts and pages?
- Display all subcategories for a product category in woocommerce
- Narrow Down a Shop Page Results Based on a Product Tag in WooCommerce
- WooCommerce Product Search Error
- How to Organize my Photo Albums?
- Converting Categories (with ACF fields) to custom taxonomies
- Add product category to post_class
- Taxonomy page wpml dropdown not working