• 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

MailPoet subscription form in Genesis Hooks

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 › Design Tips and Tricks › MailPoet subscription form in Genesis Hooks

This topic is: not resolved

Tagged: Balance, genesis hooks, mailpoet

  • This topic has 8 replies, 2 voices, and was last updated 9 years, 10 months ago by Tanya.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • July 17, 2015 at 7:33 am #159654
    Tanya
    Member

    Hello!

    I'm using the Genesis Simple Hooks plugin. Using this plugin I've inserted the subsciption form (the code of subscription form) by MailPoet into genesis_before_comments Hook. Here is the screenshot http://tanyavega.com/wp-content/uploads/2015/Screenshot-MailPoet.jpg
    As you can see, it's not centered (it's on the left side). Could you please tell me how could I center that code?
    The code itself starts like this:

    <!--START Scripts : this is the script part you can add to the header of your theme-->
    <script type="text/javascript" src="http://tanyavega.com/wp-includes/js/jquery/jquery.js?ver= ................................

    ----

    And the second question at once: Is it OK that I use two codes in one Hook field (namely genesis_before_comments Hook): the first one is HTML code by MailPoet, as you already know, and the second one is Google Adsense code.
    I've tried to insert MailPoet's code to genesis_after_post_content Hook but then the subscription form is displayed under every single post excerpt on the main page and all posts pages.

    http://www.tanyavega.com
    July 17, 2015 at 8:10 am #159656
    Brad Dalton
    Participant

    1. The Genesis eNews extended plugin supports MailPoet and is a better option.

    2. You can use conditional tags to control where the form displays. Best to use a widget area.


    Tutorials for StudioPress Themes.

    July 17, 2015 at 8:30 am #159657
    Tanya
    Member

    Thank you.
    I've tried eNews extended plugin. I didn't like it. And it works only for sidebar, right?
    I need the subcription form to be after every single post.

    July 17, 2015 at 8:35 am #159659
    Brad Dalton
    Participant

    You can use it in any widget area.

    It's a fantastic plugin and always works but you must have a good reason for not wanting to use it?


    Tutorials for StudioPress Themes.

    July 17, 2015 at 8:53 am #159660
    Tanya
    Member

    So, if I use Genesis eNews extended plugin I can put the subscription form after every single post (entry), can't I?
    BUT I'm not sure I'll manage to do that. Should I use the conditional tags that you said about?.. This tutorial seems a bit complicated http://wpsites.net/web-design/adding-new-widget-areas-in-studiopress-themes/.

    I didn't like the eNews Extended plugin because:
    1) The name in the subscription form is not centered (although the e-mail address is centered) http://tanyavega.com/wp-content/uploads/2015/Screenshot-MailPoet-eNews.jpg
    2) After the subscription I can't see any message... just the page reloads. In MailPoet (without eNews Extended) appears the message like "Thank you for you subsription........".

    Is there any simple way just to make the subscription form centered?..

    July 17, 2015 at 8:57 am #159661
    Tanya
    Member

    I think I'll try this tutorial actually. Thank you.
    But could you tell me please, which conditional tag should I use instead is_front_page ?

    July 17, 2015 at 9:00 am #159662
    Tanya
    Member

    Are you sure it will be possible to center the subscription form after I'll use the conditional tag?..

    July 17, 2015 at 7:20 pm #159692
    Brad Dalton
    Participant

    You can use

    is_singular('post'))

    Tutorials for StudioPress Themes.

    July 18, 2015 at 12:06 am #159701
    Tanya
    Member

    Thank you! I'll try this.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Design Tips and Tricks’ 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