Whew, that’s a long title!
So I’m branching out into using the Divi theme a bit more. It’s an OK theme, I probably haven’t explored all of it’s customizations enough, but it’s no Avada. 🙂 It’s nice though.
If you are using
Then here’s a tip. It wont work…out of the box at least. However after much searching I found a quick fix here.
Just add the code below to the functions.php file in your child theme (because you know to ALWAYS use a child theme, right?)
/* products per page with - this fixes it when using divi */ add_action( 'pre_get_posts', 'wppp_extra_filter', 30 ); function wppp_extra_filter( $query = false ) { $query->set( 'posts_per_page', apply_filters( 'loop_shop_per_page', 12 ) ); }
And presto, it’s working!