Deploy Call to Actions with Conditions, Open status, and Design options
A Call to Action box holds a title, text, an image, and one call to action: links, an email form, or custom HTML. You build it once on the Optins settings screen and choose rules for where it appears, so one box can show on every post, every page, or your whole site.
That is the difference from a form you add inside one post: change the box once and every page that shows it changes with it.
Before you start
- You need an Administrator account on a site running Marketers Delight 6.0 or later.
- Install and activate the Optins Drop-in.
- To collect email addresses in the box, connect an email service first, or have your form’s HTML ready.
Create a Call to Action box
- Go to Optins in the admin menu and select Call to Action.
- Select Add New.
- Enter a name in the new box’s title bar. Visitors never see it; it is how you find the box later, and it is the name listed in each post’s Optins box.
- On the Text tab, enter the Lede, Title, Text, and Footer Text you want. Leave any of them empty to skip it.
- Optionally, open the Image tab and add an Image, then set its Image Position and Image Width (75px to 550px).
- Select Save.
The Design tab sets the box’s Background Color, Title Color, Text Color, Overlay Color, Close Color, Background Image, Background Size, and CSS Classes. Every field is optional.
Choose the call to action
Open the CTA tab and pick one option from CTA Type:
| CTA Type | What the box shows |
|---|---|
| Links | One or more buttons. Select Add New for each link, enter its text in the title bar, and drag the links into the order you want. |
| Email Form | A signup form for the Email List you choose, or your default list. The submit button reads “Join Now!” unless you change Submit Button Text. |
| Custom HTML | Any HTML you enter, such as a form from a service you have not connected. |
The Email Form option has more settings for its fields and labels. Add an email form covers each one. If no email service is connected, the Email Form option shows a notice instead of the Email List menu.
Select Save when you are done.
Choose where it shows and who sees it
Open the Display tab.
- Under Show on…, check every place the box should appear: Sitewide, Front Page, Blog Page, All Posts, All Categories, All Pages, All Author Pages, or Search Results. Other active Drop-ins, such as Stream, add their own options to this list.
- Choose who sees it from Show to…: All visitors (the default), Logged in users only, or Logged out users only.
- Choose a Position on page. The default is After Header.
- Select Save.
Position on page has 13 choices:
| Position | Where the box appears |
|---|---|
| After Header (default) | Below the site header |
| Before Header | Above the site header |
| Before Content | Before the content area |
| After Content | After the content area |
| Before Sidebar | At the top of the sidebar |
| After Sidebar | At the bottom of the sidebar |
| Before Footer | Above the site footer |
| Before Post Title | Above the post title |
| After Post Title | Below the post title |
| After Post | After the post, on single posts and pages only |
In post: Before First Headline (<h2>) | Before the first <h2> in the content |
In post: After First Headline (<h2>) | After the first <h2> in the content |
| In post: After First Paragraph | After the first paragraph in the content |
The three In post positions need the matching element in the content. A post with no <h2> heading shows no box in either headline position. Before Sidebar and After Sidebar need a sidebar, so on a page with no sidebar the box does not show in either position.
Let visitors close it
On the Display tab, check Close Button (Allow this CTA to be closed) to add a close button to the box.
Hide For sets how many days the box stays hidden after a visitor closes it. The default is 7 days. Enter 0 to bring it back on the visitor’s next page load. The setting is stored in a cookie in the visitor’s browser, so it applies to that browser only.
Select Save.
Remove it from one page
A box set to show on Sitewide, All Posts, or All Pages can be turned off on a single post or page without changing its rules.
- Edit the post or page.
- In the Optins box below the editor, open the Call to Action tab.
- Under Remove from page, check the box you want to hide.
- Update the post or page.
Remove from page appears only when at least one box is set to show on that post or page. It lists boxes by the name you gave them, which is why a clear name helps. Category screens have the same option in their Optins section.
Check the result
Open a page that matches one of the box’s Show on… options while signed in or out to match Show to…. The box should appear in the position you chose.
If it does not appear:
- Check that at least one Show on… option is checked. A box with none never shows.
- Check Show to…. A box set to Logged out users only does not show while you are signed in.
- If you closed the box while testing, it stays hidden for the Hide For days. Clear the site’s cookies in your browser or use a private window.
- Check the post’s Remove from page setting.
- For an In post position, check that the content has an
<h2>heading or a paragraph.
If you use a caching plugin, clear its cache and reload.
To show a bar across the top or bottom of the screen instead, see Add a floating bar.


