Site icon Experience Wordpress Developer Online – Design Develop and Maintenance Support

WooCommerce Change The Number Of Shop Columns

In WooCommerce, Shop page display product in 3 columns with sidebar, or three columns with no sidebar. this column is fully responsive. they sized accroding their theme design or browser window. If you want to increase number of column in shop page here is solutions. Add below line of code in your theme’s functions.php file of your active child theme (or theme) and save the file.

add_filter( 'loop_shop_columns', 'wc_loop_shop_columns', 1, 10 );
 
function wc_loop_shop_columns( $number_columns ) {
return 4; //Add numbers of column
}
Exit mobile version