Minimum Themem Homepage

Community Forums Forums General Discussion Minimum Themem Homepage

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  AC 1 year, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36645

    Junglepilot
    Participant

    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/
    #36646

    AC
    Blocked
    Post count: 7712

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

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

You must be logged in to reply to this topic.