How to add an email signup form under your content

Add email signup under content in WordPress

Email signup forms are essential when building your online presence.

But to build subscribers, you need to have multiple email signup forms on your website.

Previously we’ve gone through the process of adding a signup form to your sidebar, but never talked about adding it under the content.

This tutorial will take you through the steps to add a signup form under your content.

Lets get started

There are a few ways of adding the signup form under your content, but I’m going to follow the same format as adding it to the sidebar, so we’re going to be using widgets.

Almost all of this tutorial consists of code changes, I highly recommend editing code through a FTP client like FileZilla or WinSCP.

If you can’t use FTP, you can find the files in Appearance > Editor within the admin, but please copy the unedited code into a safe place before you make the changes.

#1 – Register a new widget area

The first step is adding a widget area, to do this we need to edit the functions.php file (‘Theme Functions’ in the admin editor).

Scroll to the bottom of the file and add:

The above code will add a new section called “After Content” into Appearance Widgets.

#2 – Add the new widget area into the theme file

Still in the functions.php file, we need to tell your theme to add that widget area directly after the post content.

You can do that with the following code:

If your website is running on a Genesis theme, then use the following code:

#3 – Add your code into the widget area

Finally, in the WordPress admin, AppearanceWidgets.

Drag the Text Widget into the new After Content area and copy in the code for your email signup form.

If the code you added doesn’t contain any styles then the form may look a little bit odd, be sure to adjust the styles in your stylesheet to get the look you desire.

It’s worth mentioning that because we’re using widgets after the content, you can place extra content into this area – for example you might want to advertise your latest product or promotion.

To do this you can insert the code into a text widget (or create a new widget specifically for it) and drop it into the After Content area that we just created.

  • Hello! I just wanted to ask if you ever have any trouble with hackers?

    My last blog (wordpress) was hacked and I ended up losing many months of hard work due
    to no back up. Do you have any methods to stop hackers?

  • Wonderful goods from you, man. I have understand your stuff previous
    to and you are just extremely magnificent. I actually like what you’ve acquired here,
    certainly like what you are stating and the way in which you say it.
    You make it enjoyable and you still care for to keep
    it smart. I can’t wait to read far more from you.
    This is really a wonderful web site.

  • You are so cool! I do not think I’ve truly read through anything
    like this before. So good to discover somebody with some unique thoughts
    on this issue. Really.. thanks for starting this up.

    This web site is something that is required
    on the internet, someone wifh a little originality!

  • With havin so much written content do you ever run into any problems of plagorism or copyright infringement?

    My website has a lot of completely unique content I’ve either written myself
    or outsourced but it looks like a lot of it is popping it up all over the internet without my authorization. Do you know any methods
    to help protect against content from being ripped off?
    I’d really appreciate it.

  • I visit each day a few web sites and information sites
    to read articles or reviews, except this webpage presents feature based posts.