Support » Plugin: Disable Plugins » [Plugin: Disable Plugins] example regex for single post/page

  • 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

    http://wordpress.org/extend/plugins/disable-plugins/

Viewing 1 replies (of 1 total)
  • Exclude a plugin on a particular page:
    ^\/section\/page\/$ plugin

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

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Disable Plugins] example regex for single post/page’ is closed to new replies.