Display the button on selected pages
When you create a button you see an active toggle next to "Show on all pages". Switching this toggle unveils the page selector to set on which page the button should and should not appear.
Before jumping into the options it's good to understand the different elements of a web address. Knowing the names of the part that make the URL will make the rest of this article much clearer.
There are a couple of ways to select the pages that you want the button to be displayed on. Let's first look at the elements of the settings panel.
The page selector panel
The page selector panel consists of two parts:
- Show button when [...]
- Here you add the include rules (the pages that you want the button to be displayed on)
- Hide button when [...]
- Here you add the exclude rules (the pages that you want the button to be hidden on)
Under each of these parts you have four page selector methods:
- Page URL is
- Page URL contains
- Page path starts with
- Page URL matches RegEx
Let's dig into each of the selector methods.
Page URL is
This is an exact match of the URL so this will apply to one single page.
This method looks at the entire URL including parameters.
Page URL contains
This method looks to match your input with any part of the URL including the domain, subdomain and parameters. This can be super useful if you want to show or hide the button on all pages that are in a specific folder.
Page path starts with
The path is everything after the domain so this method allows you to select all pages that start in a similar way.
Page URL matches RegEx
This is the most advanced (and complicated) method for matching and can be used when none of the other options work for your situation.
This method considers the entire URL including subdomain, parameters and anchors.
Did this answer your question?