How to Insert an Opt-In Form on WordPress With No Sidebars

by Martin Malden

Mass MailingsHere’s an interesting question I saw recently: my theme is not widget-ready, so how do I insert an opt-in form on my WordPress blog?

There are a couple of ways of doing that.

1. Using the What Would Seth Godin Do Plugin

This plugin was originally designed to offer different personal greetings, posted at the beginning or end of each article, to new and returning visitors, while inviting them to subscribe to your RSS feed.

But you can use it to contain any message or code – including an opt-in form.

I’m currently using it on this site to invite people to visit my Useful Resources page (see the bottom of this article), but I’ve used it in the past to hold an opt-in form.

All you need to do is copy the opt-in form code, provided by your autoresponder service provider, and paste it into the ‘Message to New Visitors’ and ‘Message to Returning Visitors’ boxes in your What Would Seth Godin Do settings screen.

Be sure to retain the styling (or create your own), set the repetition value to 0 and select your message location.

I’ve selected ‘after post’ and ‘posts only’ on this site, but the other options may work better for you.

Your opt-in form will then automatically appear at the end of each post (or whichever location you’ve specified).

2. Creating an Opt-In Page

The other way you could do it would be to create an opt-in page.

You would need to find a way of enticing people to go to that page, which you could do with a link at the bottom of each post and a catchy title in your menu.

In this case I’d strongly suggest you first install the Raw-HTML plugin. This is because the WordPress text editor has HTML filters which restrict the HTML you can use in the HTML view of your new post or new page screen.

I wrote a review of the Raw-HTML plugin here.

Be sure to read the instructions on how to use it and then create your opt-in page using the HTML view.  Paste your autoresponder service provider’s code into the location where you want your opt-in box to appear.

Using the Raw-HTML plugin will ensure you’re able to style both the page and the opt-in box as you want, without the restrictions imposed by the WordPress HTML filters.

If you have any questions, or any other ways to add an opt-in form to a WordPress blog with no sidebars, tell us in a comment.

Cheers,

Martin Malden

Please share this article - I'm counting on you!
       
Found this article useful? Get free updates!

Get regular updates, plus a free eBook on how to set up a business online - join us!

Your details are safe with me.
My Privacy Policy.

Previous post:

Next post: