WooCommerce number of products displayed per page
function new_loop_shop_per_page( $cols ) {
// $cols contains the current number of products per page based on the value stored on Options –> Reading
// Return the number of products you wanna show per page.
$cols = 6;
return $cols;
}
9 Related pages
- Woo add rating to all products
- Woo get category name by id
- Woo Show all products
- WooCommerce change item title position
- Woocommerce import sample data in woocommerce (with Product Images)
- WooCommerce number of products displayed per page
- WooCommerce product loop
- WooCommerce replace h2 from product-title
- WooCommerce shop page loop























