Hide categories from Product Categories List
-
I have a list of intentions that I want people to be able to browse by on my website. However, I just want to display products from the parent category “Intention” and exclude products from the parent categories “Jewelry Type” and “Metal Type.” If you look at the list you’ll see the parent categories as well as the child categories (bracelets, earrings, necklaces; rose gold filled, gold-filled, and sterling silver). I turned off the hierarchy so it doesn’t display “Intention” as the header since that’s already the name of the page, but it still displays “Intention” in the actual list. I have this code:
<!– wp:woocommerce/product-categories {“hasCount”:false,”hasEmpty”:true,”isHierarchical”:false} /–>;
I am just wondering what I need to add to exclude anything under the other parent categories. There would be too many products under each category to use product IDs.
The page I need help with: [log in to see the link]
- The topic ‘Hide categories from Product Categories List’ is closed to new replies.