• 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 Themem 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 › General Discussion › Minimum Themem Homepage

This topic is: not resolved

Tagged: Minimum theme, nextgen gallery

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by Anita.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 20, 2013 at 9:07 pm #36645
    Junglepilot
    Member

    I need to switch the NextGen gallery for the image on the home page. I assume it is done in the functions.php file. I tried substituting the path to NextGen in the "Add the featured image.." section as so but no joy:

    /** 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() . 'wp-content/gallery/homepage/" /></div>'; /* images/rotator/rotate.php */
        }
        elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){
            echo '<div id="featured-image">';
            echo get_the_post_thumbnail($thumbnail->ID, 'header');
            echo '</div>';
        }
    }

    Ideas?

    Thanks

     

    http://photography.flyingtigersmedia.com/
    April 20, 2013 at 9:11 pm #36646
    Anita
    Keymaster

    I am not sure how to do this, but I remembered this person adding the rotate.php to her Minimum site - http://www.studiopress.community/topic/minimum-theme-rotate-home-page-image/.


    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

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