Hide menu item when category is unused
-
OK here is what I am trying to do. I am using Customizr and WooCommerce. I have a menu item which is a product category for “Specials”. Is there any way to make it hidden when no products are using the SPECIALS category. I do have a child theme and I suspect it will be a php problem but I am terrible with that. Any help would be greatly appreciated. Thanks
<li class="menu-item menu-item-type-taxonomy menu-item-object-product_cat menu-item-1580">
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Hide menu item when category is unused’ is closed to new replies.