• Resolved Ike Ten

    (@ike-ten)


    Hi Jeff,

    My goal to enable a plugin on just a single page. I tried to do this by using 3 approaches below. Only last one worked.

    1.) Disabling the plugin for globally and using the plugin filters to enable the plugin on just that page. Issue is that even after setting priority to 999, Global Plugins overrides plugin filters. The plugin remains disabled on that single page.

    2.) Disabling the plugin for on page/post Post types and enable the plugin through Plugin filters on just that page. Issue is that even after setting priority to 999, Post type Plugins also overrides plugin filters. The plugin is still disabled on that single page

    3.) The last option was to use the setting in page/post edit, it worked. The problem with using this approach is that you need to visit each post and it updates the post date. Doing it with Plugin filters UI is great option yet not working in this situation. This option also offered incremental ability to disable/enable based on Post type settings unlike Plugin filters starts from scratch…

    Am I doing something wrong? Or is there a way to make Filters overide Post types and Global setting? I disabled my cache plugin and purged all cache.

    Thanks

    • This topic was modified 7 years, 6 months ago by Ike Ten.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ike Ten

    (@ike-ten)

    Seems the Hierarchy in order is

    Post/Page settings
    Post type settings
    Plugin Filters or Permalink settings
    Global Settings

    Plugin Author Jeff Sterup

    (@foomagoo)

    Yes you are correct in the order. Priority on a plugin filter is just for when 2 plugin filters are matched on a single page load.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rule Hierarchy’ is closed to new replies.