Support » Plugin: WooCommerce Products Per Page » not working with StyleShop theme

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

    (@sormano)

    Hi,

    Unfortunately some themes (/plugins) also have some of the same functionality as this plugin inside them. It can cause that they override the settings set within the plugin.

    You’d want to disable the theme functionality before this can work in the plugin. Since I’m not familiar with that theme I won’t be able to help out directly with that, but I’ll give you some pointers that hopefully help.

    The functionality is most likely located in the functions.php file or one of its included files.
    There’s probably a filter on the ‘posts_per_page’ somewhere, changing the number that is displayed.

    Hope that helps, I wish it was easier and could just work out of the box on all themes šŸ™‚

    Cheers,
    Jeroen

    Hi Deltamadhav,

    yes Jeroen Sormani is right. Its the theme which you are using stops the plugin to work. I am using Styleshop elegant theme and I did solve this problem.

    You can follow these steps, it will help you to get resolve your problem
    In your theme Styleshop theme find the folder called
    * epanel->custom_functions.php

    in this file just comment this action
    add_action( ‘pre_get_posts’, ‘et_custom_posts_per_page’ );

    like this
    /* add_action( ‘pre_get_posts’, ‘et_custom_posts_per_page’ ); */

    thats it you are done.

    The plugin starts works like Charm, All the best

    • This reply was modified 4 years, 1 month ago by Lohith M.
    Plugin Author Jeroen Sormani

    (@sormano)

    @lohith-m Thank you for jumping in here with the solution šŸ˜€

    Thread Starter deltamadhav

    (@deltamadhav)

    Thanks Lohith , It Works šŸ™‚

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘not working with StyleShop theme’ is closed to new replies.