Featured images on frontpage Minimum Pro

Community Forums Forums Design Tips and Tricks Featured images on frontpage Minimum Pro

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  lovegun 6 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #66474

    lovegun
    Participant
    Post count: 2

    Hi. How can I also show the featured image for each post on the front page? Right now the minimum pro theme only displays the excerpts from each blog post but I also want to show a small featured image beneath excerpt.

    #66481

    braddalton
    Participant
    Post count: 7472

    Use the Genesis > Theme Settings > Content Archives > Display Featured Image


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #66587

    lovegun
    Participant
    Post count: 2

    Thanks but that is more of a general setting which affects pages etc. (“These options will affect any blog listings page, including archive, author, blog, category, search, and tag pages”)

    The front page is a custom page I think where these general settings doesnt apply. I think you need to edit a .php file for this

    Anyone knows how?

    #66595

    braddalton
    Participant
    Post count: 7472

    If you’re referring to the front page grid, then you can customize the size in the front-page.php file:

    //* Genesis grid loop
    function minimum_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features'				=> 0,
    			'feature_image_size'	=> 0,
    			'feature_content_limit'	=> 0,
    			'grid_image_size'		=> 150,
    			'grid_content_limit'	=> 100,
    			'more'					=> __( '[Read more]', 'minimum' ),
    		) );
    	} else {
    
    		genesis_standard_loop();
    
    	}
    
    }
    

    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #66616

    lovegun
    Participant
    Post count: 2

    That worked! thanks!!

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

The topic ‘Featured images on frontpage Minimum Pro’ is closed to new replies.