Set specific number of columns for top level term on product category archives – Woocommerce
I’m trying to make category page to show 7 columns , but it modifies subcategories too. Is there any way to modify only the main category page without applying it to subcategories? https://www.prospecs.lt/?post_type=product my code : add_filter('loop_shop_columns', 'loop_columns', 999); if…