August 31, 2019
Change the numbe of product per row is simply Just you need Add code to your child theme’s functions.php file. Avoid adding custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme. /** * Change number or products per row to 3 */
1 2 3 4 5 6 |
add_filter('loop_shop_columns', 'loop_columns', 999); if (!function_exists('loop_columns')) { function loop_columns() { return 3; // 3 products per row } } |
Recent Comments