Disable Plugins
example regex for single post/page (2 posts)

  1. 21clg
    Posted 3 years ago #

    Hello, could you please give me an example of a regular expression which will disable a particular plugin on a particular post/page id??

    In your documentation you list an example for disabling Hello Dolly on the home page, but an example of disabling Hello Dolly on a single post id would be FANTASTIC and really help to see how to customize it for any plugin and any particular page. Thanks man for this plugin Ive been searching around ALOT for something like this


  2. nicomollet
    Posted 3 years ago #

    Exclude a plugin on a particular page:
    ^\/section\/page\/$ plugin

    Exclude a plugin on all pages except this section:
    ^((?!\/section\/).)*$ plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Disable Plugins
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.