PHP [SOLVED]: Hide WooCommerce specific sub-category in single product pages list output Home › Forums › Scripting › PHP Tutorials › PHP [SOLVED]: Hide WooCommerce specific sub-category in single product pages list output Tagged: categories, php, products, woocommerce, wordpress Viewing 1 post (of 1 total) Author Posts January 1, 2018 at 3:56 am #245550 Cloudy PointKeymaster Question On WooCommerce single product pages, under the add to cart button displays the product category list. In my website I have 2 product categories named “In Ground Hoops”, so it is getting displayed twice because it is a main category and a sub-category. How can I hide this sub-category from being displayed there? I can’t target it with CSS and the woocommerce_template_single_meta hook is all or nothing from what I can find. Any ideas on where to start and/or how to do it would be appreciated. Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.