• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Insert email form at the bottom of each post in Genesis.

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Insert email form at the bottom of each post in Genesis.

This topic is: not resolved

Tagged: genesis, genesis_after_post_content

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 6 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 19, 2014 at 9:24 am #105860
    visible frank
    Member

    Hi, thanks for viewing.

    I would like to have an email subscribe form after each post in this genesis site. I have tried things like the following but cannot get it to work.

    function afterpost_subscribe()
    if (is_single()) { ?>
    INSERT HTML
    add_action('genesis_after_post_content' , 'afterpost_subscribe');
    ") ?>

    Have also looked at inserting the form into the template page but not sure how to get this working either, which template does Genesis use?

    Total newbie, any help welcome!

    http://www.thereluctantspeakersclub.com
    May 19, 2014 at 9:44 am #105867
    Brad Dalton
    Participant

    Please copy ALL the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++

    https://gist.github.com/braddalton/cf0c5c31020f8de00db1


    Tutorials for StudioPress Themes.

    May 19, 2014 at 9:49 am #105872
    visible frank
    Member

    thanks Brad. Should there be php tags around this? Also, is this a widget? Where do I put my form code? Into a text widget?

    Thanks!

    May 19, 2014 at 10:18 pm #105959
    Brad Dalton
    Participant

    Sorry for the delay, i was busy updating some code on the WordPress,org Codex.

    Install the Genesis eNews Extended plugin which includes a widget. http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/

    All the code i post here and on my site is tested.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble