How to insert a popup inside a template?

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 of your template.
Please, follow the steps:
1. Go to your template's index.php file.

 

2. Paste the following code:
echo do_shortcode('[sg_popup id="1"]');
after  
get_header();


NOTE: Don’t forget to backup your current file before modification!
Check the following article to insert a popup on a page or post: How to insert popups on a page/post?