How to integrate a SleepPRO™ form or popup on a WordPress site

Forms

Here is how to add a SleepPRO™ form or popup to a WordPress website. First create your form or popup and copy its script. See How to embed a SleepPRO™ form or popup on an external website.

A form

  1. In your WordPress dashboard, go to Appearance, then Widgets.
  2. Choose where the form should show, such as the sidebar or footer, and add your script there.
  3. Click Update.

A popup

Option a, with a plugin:

  1. Go to Plugins and search for Insert Headers and Footers.
  2. Install and activate Insert Headers and Footers by WPBeginner.
  3. In the plugin settings, choose Header & Footer and paste the popup script in the Header section.
  4. Click Save.

Option b, with the theme file editor:

  1. Go to Appearance, then Theme File Editor.
  2. Choose footer.php.
  3. Paste the popup script directly before the closing </body> tag.
  4. Click Update file.
ScreenshotThe popup script in Insert Headers and Footers
Place the script before the closing body tag, or the popup may not show.

Visit your site to check the form or popup works. There are other ways to add them to WordPress too. These two are reliable.

Still stuck? We are here for you.

SleepPRO™ support is available 24/7 and usually replies within 12 hours, often sooner.

Send us an email