• hassnain48

    (@hassnain48)


    Hi, how can i disable plugins only for child pages not parent page using plugin filter.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    If it is a wordpress page post type you can set something on that page and not select also affect children. THen create a plugin filter with the same permalink and select also affect children. The page settings will override the plugin filter settings only if the permalink exactly matches. The plugin filter will match for all of it’s children.

    Thread Starter hassnain48

    (@hassnain48)

    Sounds good. Let me try this and let you know if there is any issue.

    Thread Starter hassnain48

    (@hassnain48)

    Hey Jeff,

    Need to discuss one more thing. I just setup plugin organizer on homepage and disabled some plugins on homepage only. In homepage i disabled payment plugins and shipping plugins because they don’t need to be turn-on in homepage as i thought but after these implementation PO disabled payment and shipping plugins also from cart and checkout page. And our site user’s unable to place order because of this issue.

    Can you please help me out in this? I want to use PO on site to manage front-end and back-end plugins but with this issue i don’t think we can use this. Please suggest some workaround.

    Let me know if you want more details.

    Plugin Author Jeff Sterup

    (@foomagoo)

    Checkout plugins like Woocommerce use the homepage as their ajax endpoint. You have to have them enabled on that page.

    Thread Starter hassnain48

    (@hassnain48)

    So we need to enable shipping and payment plugins on all pages of site. Right?

    And i can only see this issue on production site. Staging site works perfectly

    Thread Starter hassnain48

    (@hassnain48)

    Hey Jeff, We are using cloudflare and redis for caching so please let me know if PO have any known issue with these.

    Plugin Author Jeff Sterup

    (@foomagoo)

    You don’t need to enable it on every page. Just your root URL.

    Thread Starter hassnain48

    (@hassnain48)

    Can you please share any example for this.

    Plugin Author Jeff Sterup

    (@foomagoo)

    If your domain is https://www.yoursitesregistereddomain.com then you need to create a plugin filter with https://www.yoursitesregistereddomain.com as the permalink and enable the plugin for that filter.

    Thread Starter hassnain48

    (@hassnain48)

    I am not disabled any plugin globally. I am implementing PO with Plugin filters and page by page rule.
    Why we need to enable plugin for domain? is it necessary to disable/enable plugin globally?

    Plugin Author Jeff Sterup

    (@foomagoo)

    I just setup plugin organizer on homepage and disabled some plugins on homepage only. In homepage i disabled payment plugins and shipping plugins because they don’t need to be turn-on in homepage as i thought but after these implementation PO disabled payment and shipping plugins also from cart and checkout page.

    Sorry I got your post confused with another I’m dealing with. You need to enable your payment plugin on your homepage.

    Thread Starter hassnain48

    (@hassnain48)

    Ok. And can you please guide me how PO works with cloudflare and redis. My site have more than 100 plugins so if i disabled plugins page wise accordingly then there is chance it will cache every time on each page?

    Plugin Author Jeff Sterup

    (@foomagoo)

    If your cache is relying on your plugins to be the same on every page then it will constantly refresh because the plugins and the resources they add to the page will constantly be changing. If it is caching every page separately regardless of what is on it then it won’t matter. I would imagine cloudflare is just caching the rendered content and is unaware of what wordpress is doing. So that should be fine. It depends on how your caching is done. I don’t know what Redis is.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How to enable for child page only?’ is closed to new replies.