Community Forums › Forums › Archived Forums › Design Tips and Tricks › MailPoet subscription form in Genesis Hooks
Tagged: Balance, genesis hooks, mailpoet
- This topic has 8 replies, 2 voices, and was last updated 9 years, 6 months ago by
Tanya.
-
AuthorPosts
-
July 17, 2015 at 7:33 am #159654
Tanya
MemberHello!
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.
http://www.tanyavega.com
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.July 17, 2015 at 8:10 am #159656Brad Dalton
Participant1. 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.
July 17, 2015 at 8:30 am #159657Tanya
MemberThank 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 #159659Brad Dalton
ParticipantYou 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?
July 17, 2015 at 8:53 am #159660Tanya
MemberSo, 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 #159661Tanya
MemberI 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 #159662Tanya
MemberAre 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 #159692Brad Dalton
ParticipantJuly 18, 2015 at 12:06 am #159701Tanya
MemberThank you! I'll try this.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.