• 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 Pro: Front Page Featured Image Thumbnails

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 Pro: Front Page Featured Image Thumbnails

This topic is: not resolved

Tagged: featured image, minimum pro

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 6 months ago by Dan.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 9, 2013 at 7:10 am #61489
    Dan
    Participant

    Hi all,
    Trying to implement thumbnails in the Minimum Pro front page blog posts.

    Working through other posters' information, I've changed the 'grid_image_size' setting in the "minimum_grid_loop_helper", to get the thumbnail to display, but I can't seem to dictate what size the thumbnail is to be.

    I just noticed that another MP site referenced in a post here has 150x150 thumbnails, so I'm clearly overlooking something simple.

    Any pointers much appreciated!

    Thanks

    http://chh.seokickstart.com.au/
    September 10, 2013 at 12:58 am #61627
    Dan
    Participant

    Wohoo! Figured it out. For reference for others:

    In functions.php, add your desired image sizes

    
    //* Add new image sizes
    add_image_size( 'portfolio', 540, 340, TRUE );
    add_image_size( 'your-thumbnail-image-name', 240, 100, TRUE );
    

    (Note: If you do this after uploading the images you want to use, grab the Regenerate Thumbnails plugin and run it)

    Next modify the following grid loop helper section of front-page.php to:

    `//* 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' => 'insert-your-thumbnail-image-name-you-created-here',
    'grid_image_class' => 'alignleft post-image',
    'grid_content_limit' => 200,
    'more' => __( '[Read more]', 'minimum' ),
    ) );
    } else {

    genesis_standard_loop();

    }

    }
    `
    And that should do you.
    🙂

    September 13, 2013 at 7:01 am #62246
    baconzoo
    Member

    thanks for this, it took me a while to figure it out but the code you pasted has the wrong ' character

    September 13, 2013 at 7:07 pm #62426
    Dan
    Participant

    Hi @baconzoo - yeah I did the old copy / paste trick, but that grid loop section wouldn't pick up the code tags, so it's presented as text. Been caught out like that a couple times myself. Glad you got it sorted though. 🙂

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ 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