Home Forums Basel – Premium Template Number of Products columns != number of Categories columns in shop page

This topic contains 1 reply, has 2 voices, and was last updated by Elise Noromit Elise Noromit 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #307177


    Thank you for your hard work of developing and supporting this theme.
    I want to find a way to have different number of Products Categories columns compared to number of product list columns.

    E.g Products Categories columns to be 6 and product list to be 4.

    I tried the following code but it did n’t worked

    add_filter('loop_columns', 'loop_columns', 1000);
     function loop_columns() {
        return is_product_category() ? 6 : 4; 

    can you help me?

    Private Content Hidden


    Woocommerce does not provide the option, unfortunately, we do not have a quick either.

    You will have to search for a plugin.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.