Minimum theme – replace subscribe button with e-mail optin

Community Forums Forums Design Tips and Tricks Minimum theme – replace subscribe button with e-mail optin

This topic is: resolved

This topic contains 7 replies, has 3 voices, and was last updated by  WMcKinley 1 year, 6 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #31651

    Susan
    Moderator
    Post count: 9010

    I’m trying to replace the “subscribe” button on the home page with an e-mail sign-up box, and a “go” button.  The client doesn’t want to be redirected to another page to enter their e-mail address.

    I’ve added widget areas with newsletter sign-ups, but I’m not sure how to replace it on this theme.

    Thoughts?


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #31663

    Robert Neu
    Participant
    Post count: 90

    Hey Susan,

    If you need some help with this, ping me on Skype. Username is the same as my Twitter handle. :)


    Co-Founder of Audit WP, a WordPress SEO audit service and Flagship, a new WordPress theme company launching soon!

    #31665

    WMcKinley
    Participant
    Post count: 31

    I would be very interested in the procedure to do this as well,  for future reference.

    Please share if you don’t mind ;)


    W. McKinley – WMcKinley.comPowerEmini.com – Genesis Novice

    #31670

    Robert Neu
    Participant
    Post count: 90

    The procedure will be little different depending on how you are  gathering the info. I can probably write up a tutorial for both GravityForms and Genesis E-News Extended and post it to my blog if that would help. I’ll try to get to it this weekend.


    Co-Founder of Audit WP, a WordPress SEO audit service and Flagship, a new WordPress theme company launching soon!

    #31703

    Susan
    Moderator
    Post count: 9010

    Robert – that would be great. I know how  to add a widgeted area with an e-mail sign-up and button, but this theme having the page-title.php in addition to the home and functions files is just throwing me for a loop.

    I was able to add a newsletter sign-up area on the home page, just not in the area I needed, so any assistance would be appreciated!

    Edited to add – we’re looking at using the Genesis e-news extended widget versus gravity forms (I’ve used both myself)


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #31855

    Susan
    Moderator
    Post count: 9010

    Thanks, Robert for your assistance this afternoon!


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #31856

    Susan
    Moderator
    Post count: 9010

    @WMcKinley:

    You need to register a widget area in the theme functions file (mine looks like this):
    [php]
    genesis_register_sidebar( array(
    ‘id’ => ‘home-email’,
    ‘name’ => __( ‘Home Email Signup’, ‘minimum’ ),
    ‘description’ => __( ‘This is an email registration box on the home page.’, ‘minimum’ ),
    ) );
    [/php]

    and then hook it in the page-title php:

    [php]

    if ( is_home() ) {
    echo '’;
    echo ”;
    echo” . esc_html( get_bloginfo( ‘description’ ) ) . ”;

    if ( is_active_sidebar( ‘home-email’ ) ) {
    genesis_widget_area( ‘home-email’, array(
    ‘before’ => ”,
    ) );
    }

    echo”;
    echo”;
    }
    [/php]

    Then, in your stylesheet, you would want to add some styling (which I haven’t done yet!)

    I added the Genesis e-news Extended widget to the e-mail widget area.


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #31861

    WMcKinley
    Participant
    Post count: 31

    This is fantastic Susan and I truly appreciate you sharing the code.

    I have saved it to my bag of tricks for future use.

    I hadn’t really thought about adding a sign-up form to the Title area, but I can see cases where it would make sense.

    Cheers!


    W. McKinley – WMcKinley.comPowerEmini.com – Genesis Novice

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Minimum theme – replace subscribe button with e-mail optin’ is closed to new replies.