Plugin guidance

The 'Include/Exclude' plugin

back to Plugin guidance

The 'Include/Exclude' plugin

The include/exclude plugin allows you to add functionality such as social sharing, modal pop-ups etc. to one, or a range of pages.

The plugin only has two fields:

  • Show on these pages
  • Hide on these pages

Into which you add URLs to display or hide any plugins that are "inside".

Multiple Include/Exclude containers can exist on the site at the same time. Care needs to be taken to ensure the rules don't overlap which could cause unexpected results.

Where should it be placed?

It is best placed in a footer or dedicated placeholder, so that it is visible on every page. 

The most common use is to include the social sharing plugin 'Share this' which is normally included on every page. Here is how that would typically look in the sidebar:

In the below example, all pages (*) are included in 'Show on these pages':

URL examples

The URLs in the 'Show on these pages' and 'Hide on these pages' boxes are always created without the domain or the initial /

For example, to include on all pages, you only need to write - *

To include on all Blog pages, you only need to write - blog/*

To include only on the Contact page, you only need to write - contact/

Subscribe for the latest 

Join our community of professionals and gain access to valuable content that will help you navigate the ever-changing professional services landscape.

Our thinking

Read the latest