• Hi,
    I have plugin which I turned off on some custom product categories, but works only on first page.

    for example:
    /product-category/accessories/
    it’s off
    but on page:
    /product-category/accessories/page/2/
    it’s on

    I used to turn off: Terms archives > product categories (products)

    Is that a bug or I missed something?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jose Mortellaro

    (@giuse)

    Hi @donbebeno

    it’s a limit of the current version of FDP. We can also call it a bug, because of course, you want the same set of plugins for all the pages.

    Until this bug is fixed, I suggest you copy the same settings to Custom URLs => Frontend URLs.

    If all the categories need the same plugins you can use

    */product-category/*/page/*

    if you want to match only specific categories, you can use for example

    */product-category/accessories/page/*

    Let me know if it works with the Custom URLs.

    Thread Starter Lukasz Matysiewicz

    (@donbebeno)

    Hi Jose,
    I think this could work,
    I just wonder about priority.
    How about if I turned off a few plugins on page types and If I do Custom URL after do I have to turn off other plugins as well, I think Custom URL will overwrite all settings.
    Twice work, in this scenario I supposed to turn off plugins on Custom URLs only.

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi Lukasz,

    you are right, the custom URLs override the other settings like Singles, Post Types, and Archives. You can have an idea of the priorities by looking at https://freesoul-deactivate-plugins.com/priorities/

    When you set the custom URLs, if the current URL matches a pattern set in Custom URLs => Frontend URLs, FDP will not continue to check the other settings.
    If you have more than a pattern in the custom URLs settings that would match the current URL, the upper ones in the matrix will have the priority.

    If it’s not clear let me know.

    @donbebeno

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Turn off plugin per categories’ is closed to new replies.