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
- How can I add the featured image functionality to a custom taxonomy?
- Woocommerce product categories order [closed]
- How to make custom taxonomy check boxes like ‘Categories’
- cat_is_ancestor_of() for custom taxonomies
- 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
- WooCommerce – Display product child categories from specific parent
- Removed slug from CPT, now How/where do I hook the filter to the taxonomy term archive pages link?
- Getting WordPress custom taxonomy/category?
- Are Custom Taxonomy Templates Possible?
- Display empty taxonomy terms with get_terms()
- Get a list of Terms for a specific category
- How to display a description of a given category from a custom taxonomy
- Display products for a category, sorted by post_excerpt
- Woocommerce – Get product category 2nd level category
- Category tree is flattened inside admin upon saving
- Get multidimensional array that reflects category hierarchy
- 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
- If statement within PHP echo
- How to know if it’s a child taxonomy?
- Taxonomies for WordPress Media Library [duplicate]
- Show Heirachy of categories in WP Download Monitor
- wp_dropdown_categories and custom taxonomy + custom post type
- Show Featured products in product category pages
- Show category images on single product page and product overview page
- woocommerce product category tabs [closed]
- Get Tags specific to Category using WooCommerce plugin
- One Specific Category To Permalink
- add_rewrite_endpoint returns 404 on archives
- How to organize custom categories for filtering and selecting
- Custom sub taxonomy order by
- Add category only if post has custom taxonomy category
- Add child category to parent on post creation and save
- Get posts from specific taxonomy term
- Why custom taxomony not showing when create a post?
- Question on using custom structures for categories
- Show button only for certain Woocommerce Product Categories
- 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
- Custom page category taxonomy 404
- Filter By Category Dropdown List With Custom Taxonomies
- query_posts by category_name and custom taxonomy
- Is it possible to create an alias/custom taxonomy for a category name?
- Same menu for different taxonomies to reach different content
- Showing HTML if Post is In Certain Taxonomy Term
- I need to exclude from a query a category and a few custom taxonomies
- How could I write a get_categories_by_year() function?
- How to load several hierarchical categories from functions.php
- Assign a custom post to a custom taxonomy based on custom field value
- 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
- Custom Fields Value As Taxonomy
- How to get posts using category slug in ClassiPress?
- Link posts together (relative, not grouped)
- How to fix select filter on category
- Migrate the posts of a category to another blog as a custom taxonomy
- List taxonomy terms assigned to a post in hierarchical view
- Display posts by alphabetical order
- Page category filter in admin dashboard
- 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 can i echo next and previous custom category from a Taxonomy
- How to load terms of a custom taxonomy of a product in woocommerce cart page
- Using heirarchial tags or Custom taxonomies
- Taxonomy Category Icon on index page
- Renaming default category taxonomy?
- Most efficient way to display current post subcategories?
- Dynamically creating content on custom URL without getting 404
- Display List of Categories Within a Custom Taxonomy
- How to exclude category and post_tag taxonomy while displaying custom taxonomy?
- New Category – 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]
- List Terms by category
- Category and tags goes 404
- How to create default categories in new installs?
- 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
- List products from current category
- WooCommerce Product Search Error
- How to Organize my Photo Albums?
- Add product category to post_class
- Taxonomy page wpml dropdown not working
- How can I get the categories and subcategories separately?