How to Add a Newsletter Signup Box After Your Posts

I’ve been asked a number of times how I place the newsletter signup box at the end of my posts. If you’re wondering what we’re talking about, click here and you’ll see.

Last month on StudioPress we announced that Genesis 1.9 will be deprecating the eNews and Updates widget that we include in our core framework. One of the biggest complaints and suggestions about our current solution was that it only supported Feedburner.

Genesis eNews Extended Plugin

I personally reached out to Genesis developer and community member Brandon Kraft about the Genesis eNews Extended plugin that he built. Thankfully, he agreed to develop and maintain the plugin which includes support for many email marketing providers.

Among those currently supported are FeedBurner, MailChimp, AWeber and FeedBlitz.

Simply follow the steps below, and you can add a newsletter signup box after your blog posts. With the Genesis Framework, you’ll be amazed with just how easy this is to do.

Below is all the code you’ll need — it includes two functions and some styling. Obviously you may need to add or change some of the CSS to match the look of your website.

Using the eNews Extended Widget

Now that you have your newsletter widget area registered and hooked after the post, you’ll want to grab the Genesis eNews Extended plugin and upload and activate it.

Head on over to the Appearance > Widgets screen in your WordPress dashboard and find the Genesis – eNews Extended widget and place it into the Newsletter widget area.

Make sure you fill out the widget options panel, where you can specify a widget title, text to show and a the other fields which might be required by your email marketing provider.

Building Your Email List

Now that you’ve successfully added your email newsletter signup box after your blog posts, it’s time to focus your efforts on email marketing and building your list.

Below are some additional articles on email marketing that you might find helpful:

Email Newsletter

Like what you read here in this blog post?
Get more like it delivered to your inbox daily.

Comments

  1. says

    Hi Brian – Nigel Merrick here from Zenologue

    This post was very timely indeed! I just bought the “Minimum” theme yesterday, and have been customizing it for my site, and was wondering how you were able to get that nice email sign up box in here :-)

    Want to let you know that it works just great, and I have it configured to work with my iContact sign-up form without any customization being necessary to the plugin.

    Great job, and I’m loving my new theme!

    All the best to you.

    Nigel

  2. says

    Hey Brian,

    Maybe it’s just me, but I never really get a lot of signups from this method. Most of mine come from my blog pages and links throughout my posts.

    Actually almost all of my signups come from directly advertising my squeeze page (landing page), but that’s a different story. Still, I really like the styling of this box!

    Thanks for the tutorial,
    -Gabe Johansson

    • says

      Obviously different things work for different folks – depending on what your goals are. Since I don’t have a need at the moment to build landing pages (though if I did I most certainly would build them with Premise), a simple “hey, drop your email if you’re interested in what I have to say” really suffices.

  3. Kimberly Bordonaro says

    Super excited by the extended enews pluggin.

    I’ve found they opposite to be true. of course my squeeze pages and popup gets the most conversions, but theres definitely been an increase in my subscriptions since implementing the signup form after my blog posts (thanks to your help in getting the form to work with my mailresponder after your first tutorial).

    My clients always ask about how to do that so I’m thrilled by this new update.

    Thanks, Brian!

    • says

      Yeah, the “Feedburner only” thing was really getting under my skin, so I’m thrilled that Brandon started work on that plugin. Good stuff for so many people that’s for sure.

  4. says

    I need to get signed up with MailChimp. I think I’ve told myself that about 50 times, and have resorted to sending myself reminder emails and calendar notifications. Thanks for another reminder!

  5. Bob R says

    Hi Brian,
    I guess this works with any Genesis theme which is good. Some themes don’t have an “after post” widget built in and this actually builds that widget area. I was wondering if there is possible to add two widgets areas under the posts like in old Focus theme?
    Can I ask you a question? How did you built the “subscribe” menu button in the header? It’s very effective I guess.

  6. says

    Hey

    As always, easy to implement.
    Might be better to choose another widget id for the example because ‘newsletter’ is already used in Streamline (and might be in others current or future themes).
    For streamline users, there’s a simple fix, just replace ‘newsletter’ with ‘newsletter2′ or anything else in Brian’s code above.

  7. Jon P says

    The plugin is a great addition. I was just messing with this on a test site over the weekend based off your original newsletter signup post. And it worked great…unless you’re using the enews plugin in multiple places.

    I guess the question is – is it possible to make it newsletter widget specific? Thanks for the timely update!

      • says

        Do you mean customize the styling based on where the widget is being dropped in? You can change multiple instances in CSS.

        To give you an idea, check out http://sp.brandonkraft.net – it has two enews-ext widgets in place (styled the same, but picture them being different). If you view the source on the page, you’ll see that the first widget is wrapped in a div id=”enews-ext-2″ and the second in a div id=”enews-ext-4.

        You can customize it by adding #enews-ext-2 or #enews-ext-4 before it, e.g. using #enews-ext-2 .enews { instead of just .enews.

        Your ids would be different, so my suggestion is have your CSS figured out elsewhere, add the multiple instances of the widget, check out the ids, then add the #enews-ext-XX selector to the right CSS.

  8. says

    Thanks so much for this tutorial and for arranging for the plugin to work across more platforms. I’ve needed this for several blogs for so long. I always intended to modify your previous tutorial to work with AWeber, but now I won’t need to!

  9. says

    Brian,

    I love the concept. I’m having trouble with the implementation though.

    I am using the Streamline theme. This theme has an “After Post” widget area. I am already using the Genesis – eNews widget in my sidebar. I don’t want the same styling on both. How do I distinguish the two areas and only apply your CSS to the box after my posts?

    • says

      Hey Ian – sorry for the delay, your comment got dumped into spam for some reason. In Streamline, you can target that specific location by using .after-post before your .enews declarations in CSS. This will make it more specific.

      Does that make sense? It’d look like this:

      .after-post .enews {
      background-color: #f5f5f5;
      }

  10. says

    What if I wanted it to display on particular pages? not posts…. I tried modifying like this:
    /** Add the newsletter widget after the post content */
    add_action( ‘genesis_after_post_content’, ‘custom_add_newsletter_box’ );
    function custom_add_newsletter_box() {
    if ( is_page( array( 12, 14, 16, 248 ) )
    genesis_widget_area( ‘newsletter’, array(
    ‘before’ => ”,
    ) );
    }

    like found here for the is page array… but I keep getting errors and having to reupload the original functions. using associate theme.

  11. says

    Hey, Brian…I have installed Brandon’s new eNews widget and I use the eleven40 theme which has a widget called “After Post,” so….is this tutorial pretty much not needed for me? Thanks!

  12. Derek says

    Hello. Will this work for non genesis themes? And if not can anyone recommend an email newsletter option that is easy to implement and looks/works just as good as this one? Thanks.

  13. says

    I have a question, I followed all the steps. The sign bar does show up after my blog. How do you get a box to appear? Also the images I uploaded them in my themes images folder and they do not appear either? Can anyone shed some light please. Any help, or direction would be greatly appreciated thanks!

  14. says

    Thank you so much Brian. Was looking for something completely different but ended up redoing my signup box. Love it now. Even though I used to have it in the sidebar and that one doesn’t work anymore (the width is incorrect now). This is way better though!

    Cheers,
    Nicolas.

  15. says

    Hi Brian,
    I recently purchased the Prose theme for Genesis. The demo showed the Email Newsletter and form/signup field in the right sidebar. But when I activated the Prose theme it was gone (along with the social media buttons.) I looked through the widgets area and the only one I saw was for Feedburner. I emailed this question yesterday but haven’t received a response.

    Found your post and thought I’d ask.
    Do you know why I’m not seeing the Newsletter signup in Prose?
    I would like it to appear in the right sidebar as well as below the post.

    For below the post I can take your info and edit the code. In Prose it appears I have to use Custom code- CSS option to edit the code. Am I to be copying the same code you provided above in the Custom CSS window?

    Thanks,
    Deb

      • says

        Hi Brian,

        Thanks so much for getting back with me. No my question hasn’t answered. I added your code and ran into a couple of quirky things with the signup box and other things. I can’t spend anymore time on this theme.

        However, I just got an email from you guys at Copyblogger about the Metro theme -your theme :) I’m going to purchase this and use it instead of Prose. It has all the features/widgets I want and mobile-responsiveness. Very Very Clean! Nice Job!

        The only question is how would I change the theme color style? If you could send me a link to how to do this I would greatly appreciate it.

        Thanks again,
        Deb

  16. says

    Just as an FYI for anyone else reading through these comments. If you have any questions or suggestions for the eNews Extended plugin, please do check out the plugin’s site at http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
    If nothing on there helps, post a question in the plugin’s forum at
    http://wordpress.org/support/plugin/genesis-enews-extended

    I try to do a good job keeping up with requests in the forum… don’t use the contact form for support, trust me, you’ll get a response faster by posting in the forum! :-)

  17. says

    Hey Brian, thank you so much for this code, it helped me out a lot! Well sorta, after messing around with the styling so it fits my theme (lifestyle), it caused the right sidebar to wander off down below the comments, as if it didn’t have enough space…

    For the time being I’ve removed it, but I’d like to bring it back. What might be causing that? Is there some sort of overflow I’m not accounting for, or something completely different?

    Thanks!

  18. says

    Hi Brian, I really thank you for posting this wonderful tip. I’m currently using eleven40 theme and the sign up box looks good for my blog. The only problem is with the text color as you can see it. A little dark color would do real good for my theme color. BTW genesis framework and child themes are super Cool. Visit my blog http://pcdigger.com and any suggestions would be highly helpful for me. Thanks again :)

  19. says

    Great post Brian Gardner, I was desperately searching for this since I upgraded my blog theme into Genesis. Now I too got a News letter subscribe box in my blog! Thank you very much for sharing this :)

  20. says

    I tried to add the first code listed into the bottom of my functions.php file and clicked update. Now my whole site crashed and I have no clue of what do do to fix it. I clicked the back arrow, and tried deleting the copied code for this function and resaving it back to the origional and it didn’t help. I was almost done setting up my page and making my initial posts and I screwed it up. I’m a complete wordpress newbie – using the Magazine theme, or I was, but all I get now is a white screen (of death?) Any help you can give me to get started fixing this would be greatly appreciated.

  21. says

    Thank you for sharing this! It looks beautiful.

    For some reason, I couldn’t get the styling to show until I added it to my CSS Stylesheet Editor. Instead of going to Appearance, Editor, then style.css.

  22. says

    I’m definitely a novice, but I put this code in and it downed my site. I overwrote (through Cpanel) the functions.php file with the original from my Minimum download, and my site is still down. If anyone’s out there, help please.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>