How to insert a popup inside index.php?
If the page you want to have a popup on is not a static one (like blog pages) and you are using the Free version of our plugin, you can insert the popup on the page you wish, inside the index.php file.
Please, follow the steps:
Go to your theme's index.php file and paste the following code:
echo do_shortcode('[sg_popup id="1"]');
NOTE: Don’t forget to backup your current file before modification!
But if you're a PRO user of our plugin, please, follow this art...
Show a popup after a specific amount of time
If you need to open a popup not at once, but after a while, our plugin does have an option, just for your case!
When you're creating a popup, in the settings you can see Effects panel.
Under the Effects panel you will see 'Popup opening delay:' option, all you need to do is to enter the amount of time (seconds) after which popup will be shown.
How to insert popups on a page/post?
**There are many possible ways to insert a popup on a page or post.**
Method 1. How to insert an "On load popup on your page/post"
* Go to your "Pages/Posts" section
* Select the page you need and from the bottom, "Select popup on page load".
* So, your popup will appear when your page loads.
Method 2. How to insert a popup and select its event (on click, on hover, on load)?
* Go to your "Pages" section, select the page you need and click "Insert popup" right on the page.