• Resolved kostas146

    (@kostas146)


    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?

    my code :

    
    add_filter('loop_shop_columns', 'loop_columns', 999);
    if (!function_exists('loop_columns')) {
    	function loop_columns() {
    		return 7; // 3 products per row
    	}
    }
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Unfortunately we aren’t able to help with custom code requests like this, so if you need assistance, you may want to look into one of the service on our Customizations page:

    https://woocommerce.com/customizations/

    I’ll also leave this thread open for a bit to see if anyone from the community would like to contribute. ??

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there! No one has been able to chime in, so I’m going to close off this topic. If you need further support, I second Adam’s recommendations above.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to modify only category page instead of other subcategories?’ is closed to new replies.