Featured Image on homepage for Eleven40

Community Forums Forums General Discussion Featured Image on homepage for Eleven40

This topic is: not resolved

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

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

    jlph
    Participant
    Post count: 8

    I see how I can make it appear on the archive page, but how can I make the featured image also appear on the homepage feed? Or do I need to just insert images in order for them to appear in the post? Thanks!

    #88037

    AC
    Blocked
    Post count: 7712

    Open up your home.php file and look for this:

    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features'              => 1,
    			'feature_image_size'    => 0,
    			'feature_image_class'   => 'alignleft post-image',
    			'feature_content_limit' => 0,
    			'grid_image_size'       => 'grid-featured',
    			'grid_image_class'      => 'grid-featured',
    			'grid_content_limit'    => 250,
    			'more'                  => __( '[Continue reading]', 'eleven40' ),
    		) );

    See the ‘feature_image_size’ – change ’0′ to ‘grid-featured’. If you need a different size then you’ll need to open up the functions.php file and look for this:

    //* Add new featured image size
    add_image_size( 'grid-featured', 270, 100, TRUE );
    

    Add in a new featured image if you don’t want to use 270 x 100.

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

You must be logged in to reply to this topic.