In this article
The Fine Print
- This only works with our standalone Leadboxes—not Leadboxes that are attached to a Leadpage. To learn more, check out Creating a Leadbox.
- This guide assumes you have the WordPress plugin installed. If you haven’t installed the plugin yet (or are using a version below 2.1) you can follow our installation instructions here.
- For an overview of Leadboxes (and the different types you can use), see How Leadboxes Work.
There are two ways to publish Standard Leadboxes to WordPress:
- Copy the HTML of your Leadbox and paste it into WordPress’ “Text” editor.
- Use the plugin’s Leadbox shortcodes.
The copy and paste method is covered here: Adding a Leadbox to a Blog Post. Here’s how to use Leadbox shortcodes:
- Create a new page/post, or edit an existing one.
- In the Visual editor, position your cursor wherever you’d like your Leadbox, such as at the end of your post.
- Click the Leadboxes drop-down menu icon and select your desired Leadbox.
You’ll see some code appear in your post that looks something like this:
[leadpages_leadbox leadbox_id=00xx00x0000] [/leadpages_leadbox]
Repeat the steps above to add as many Leadboxes as you’d like to your post.
Your Leadbox will use whatever publishing settings are currently saved within Leadpages. To publish a button or image Leadbox using our shortcodes, simply adjust your publishing settings within Leadpages and save them. See here for more detailed instructions.
Timed and exit Leadboxes
Our plugin allows you to publish timed or exit Leadboxes globally to your site—so all your pages can instantly call visitors to action. You can also publish timed and exit Leadboxes to individual pages. Follow the steps below to learn how.
Configuring your publishing options
To publish a timed popup or an exit Leadbox to WordPress, you’ll first need to configure and save those settings in Leadpages. Click Publish Options from your Leadbox’s action menu, then choose your desired options from the popup, as seen below.
Global timed and exit Leadboxes
Here’s how you can publish timed/exit Leadboxes globally to your WordPress site:
- Click Leadboxes in your WordPress Dashboard’s sidebar.
- Select your Leadbox from the timed, exit, or both sections. If you don’t see your Leadbox, check to ensure you’ve set timed or exit options within Leadpages, then click the refresh button.
- Decide if you want your Leadbox to appear on all pages, posts only, or pages only. Note that only one global timed or exit Leadbox can be active at a time.
- Click Save to finish.
If you want a different Leadbox to show up (or none at all) on a particular page, you can use the page-specific publishing options.
Page-specific timed and exit Leadboxes
To publish page-specific timed and exit Leadboxes, use the Leadbox widget when editing your page.
- Create (or edit) a page or post in WordPress.
- In the sidebar, select your timed and/or exit Leadbox from the Page Specific Leadbox panel.
When you publish or update your page, your timed/exit Leadbox will be there. You can also use a global Leadbox if you’ve set one up, or select “None” to prevent any timed/exit Leadboxes from appearing on your page.
At this time, only Standard timed and exit Leadboxes are available from page-specific drop-downs. You can publish Drag & Drop Leadboxes following our guide here: Publishing Your Leadboxes.
Frequently asked questions
Why does my Leadbox appear in a new window at a Leadpages URL on mobile?
Leadboxes on mobile automatically open in a new page in order to support the widest variety of mobile devices possible—so you don’t miss out on opt-ins from visitors using older devices.
Why doesn’t my timed or exit Leadbox show up on mobile?
Exit and timed popups are disabled on mobile. One reason is to ensure your site’s SEO isn’t negatively affected by Leadboxes—Google and other search engines may boost sites’ search rankings that avoid using timed popups on mobile.
How can I add a timed or exit Leadbox to a Leadpage?
Since Leadpages aren’t quite the same as normal WordPress pages, the Leadbox plugin does not interact with them. Instead, you can add your exit or timed Leadbox HTML code to your page’s tracking code head section. See our guide here for instructions.
(Updated February 7, 2017)
Please let us know if you have additional questions.
You can always file a support ticket if you have additional questions by clicking the Support button in your dashboard shown here or clicking here to file a support ticket.
You may also be interested in: