Display On Whole Site
By default, the popup is displayed only on the page/post where the popup block is used.
There could be instances when you want the popup to be displayed in the whole site. To achieve that, you would have to
insert the popup block in the Header
or Footer
templates since these templates are loaded in all the pages.
To add the popup block to either Header
or Footer
template, follow the steps below:
- Go to Appearance > Editor
- Click on Patterns on left hand navigation panel.
- Inside Patterns tab you will see Header and Footer under Template Parts.
- Click on either Header or Footer to edit.
- Insert our Simple Popup Block