Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi Ohodek,

    Thank you for reaching out.

    Do you have the latest version installed? This should override most theme’s which originally override my plugin.

    If you do and it doesn’t override you can use the peace of code below. Put this in you functions.php of you theme.

    /*
     * Override theme posts per page.
     */
    add_action( 'pre_get_posts', 'wppp_divi_override', 9  );
    function wppp_divi_override() {
    
    	if ( woocommerce_products_will_display() ) :
    		remove_action( 'pre_get_posts', 'et_custom_posts_per_page', 10 );
    	endif;
    
    }

    Let me know!

    Thanks!

    Jeroen Sormani

    Thread Starter ohodek

    (@ohodek)

    Worked great 10/10 support thank you!

    Seems I am not the only one having this issue with the Divi Theme I posted your solution on the Elegant Themes support forum.

    Thank You

    Plugin Author Jeroen Sormani

    (@sormano)

    Thanks for posting it to the support forum!

    Maybe got a link for me, or is it a closed forum?

    Thanks!

    Jeroen

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not working with Divi’ is closed to new replies.