Skip to content

Change WooCommerce Products In Per Row

How To Change WooCommerce Product Columns in Per Row

Changing WooCommerce Products In Per Row is part of every woocommerce website. Sometimes we need to change our WooCommerce shop page column layout to make it a little bit fantasy.

Today we will see how to change woocommerce products per row with loop_shop_columns hooks in wordpress. If you want to change your shop page columns layout then you might need an instruction to achieve it. Here in our video, you will get all the necessary tips to change your woocommerce website shop page layout using filter hooks. Our tutorial will help you to make these changes within a few minutes.

How To Change WooCommerce Product Columns in Per Row
How To Change WooCommerce Product Columns in Per Row

You can watch the video here to understand everything fully like how it works or how to add woocommerce loop shop columns to change shop page layout or copy the code from below.

[embedyt] https://www.youtube.com/watch?v=i6jhaJ5zY6I[/embedyt]

 

Changing WooCommerce Number of Products In Per Row

 

/*
-------------------------------------------
Change Number of Products Per Row
-------------------------------------------
 */

if(!function_exists('wpc_loop_columns')){
    function wpc_loop_columns(){
        return 2; // Return 2 Column Products
    }
}
add_filter('loop_shop_columns', 'wpc_loop_columns');

 

Leave a Reply

Your email address will not be published. Required fields are marked *


Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.