• 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

Minimum Theme: Email Opt-in Homepage

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 › Minimum Theme: Email Opt-in Homepage

This topic is: resolved
  • This topic has 9 replies, 2 voices, and was last updated 13 years, 3 months ago by firstname_galo.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • April 12, 2013 at 12:38 pm #35047
    firstname_galo
    Member

    I'm currently using the minimum theme and would like to replace the sample picture on the homepage for an email optin with a picture ( like the one on http://www.thechangeblog.com/ ) Any ideas how I would go about doing this?

    My site is http://www.themovementproject.net

    April 12, 2013 at 7:24 pm #35123
    Brad Dalton
    Participant

    Try this: http://www.briangardner.com/kickstart-email-list/


    Tutorials for StudioPress Themes.

    April 13, 2013 at 4:47 pm #35279
    firstname_galo
    Member

    Thanks brad. I just tried this and it shows the optin underneath the image of the homepage. Isn't there a way to get it so that it completely replaces the image header so that it looks like the one on http://www.thechangeblog.com.

     

    April 13, 2013 at 5:47 pm #35289
    Brad Dalton
    Participant

    The link you have provided to your site is returning a 404 page not found error message.

    Please paste a text link to your site.

    Remove this code from your child themes functions.php file or comment it out:

    /** Add the featured image section */
    add_action( 'genesis_after_header', 'minimum_featured_image' );
    function minimum_featured_image() {
    	if ( is_home() ) {
    		echo '<div id="featured-image"><img src="'. get_stylesheet_directory_uri() . '/images/sample.jpg" /></div>';
    	}
    	elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){
    		echo '<div id="featured-image">';
    		echo get_the_post_thumbnail($thumbnail->ID, 'header');
    		echo '</div>';
    	}
    }
    

    Commented out:

    /** Comment This Function Out 
    add_action( 'genesis_after_header', 'minimum_featured_image' );
    function minimum_featured_image() {
    	if ( is_home() ) {
    		echo '<div id="featured-image"><img src="'. get_stylesheet_directory_uri() . '/images/sample.jpg" /></div>';
    	}
    	elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){
    		echo '<div id="featured-image">';
    		echo get_the_post_thumbnail($thumbnail->ID, 'header');
    		echo '</div>';
    	}
    }
    **/
    

    This code is executing a function on the same hook the feature box code uses.


    Tutorials for StudioPress Themes.

    April 13, 2013 at 6:17 pm #35292
    firstname_galo
    Member

    Thanks Brad. I'll give it a try.

    http://www.themovementproject.net

    April 13, 2013 at 6:27 pm #35297
    firstname_galo
    Member

    Brad,

    The perfect example of what I'm shooting for is  on here http://genesis.extenderplugin.com/

    Instead of video, a picture

    April 13, 2013 at 7:02 pm #35305
    Brad Dalton
    Participant

    Very easy to do that:

    You can use content columns and create that feature box in your editor.

    You might need to install a shortcodes plugin so you can use the tick images in your list.

    Then paste the code into a text widget.


    Tutorials for StudioPress Themes.

    April 13, 2013 at 7:28 pm #35310
    firstname_galo
    Member

    So I'm trying to work with the columns but can't seem to get it. Do I have to create a separate featured box so that one aligns left and the other aligns right?

    April 13, 2013 at 8:02 pm #35315
    Brad Dalton
    Participant

    I wrote about this recently.

    You can find a plugin which adds 2/3 and 1/3 columns.


    Tutorials for StudioPress Themes.

    April 14, 2013 at 1:43 pm #35446
    firstname_galo
    Member

    Thanks Brad. I was able to get it! Appreciate your help.

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Minimum Theme: Email Opt-in Homepage’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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