• 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

petedw

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 1, 2015 at 1:31 pm in reply to: Clickable Featured Image on Blog Page #135816
    petedw
    Member

    Finally found my answer. For those wondering, withing functions.php I added the following (in bold):

    <a href=
    "
    ' . get_permalink($post->ID) . '
    " >

    //* Add featured image above the entry content
    add_action( 'genesis_entry_content', 'generate_featured_photo', 8 );
    function generate_featured_photo() {
    	if ( is_page() || ! genesis_get_option( 'content_archive_thumbnail' ) )
    		return;
    
    	if ( $image = genesis_get_image( array( 'format' => 'url', 'size' => genesis_get_option( 'image_size' ) ) ) ) {
    		printf( '<div class="featured-image"><img src="%s" alt="%s" /></div>', $image, the_title_attribute( 'echo=0' ) );
    	}
    }
    January 1, 2015 at 9:50 am in reply to: Clickable Featured Image on Blog Page #135795
    petedw
    Member

    I'm still struggling with this 1. Could someone please assist. I'd just like to say if the if there's a featured-image link it to the post.

    Thank you!

    December 15, 2014 at 4:10 pm in reply to: Clickable Featured Image on Blog Page #134623
    petedw
    Member

    Any idea's what I should be looking for that I may have modified to prevent this from happening then?

    November 14, 2014 at 11:46 am in reply to: Static Home Page Width Problem – Generate Pro Theme #131535
    petedw
    Member

    Sorry, didn't realise that wasn't showing:

    http://www.eddale.co/

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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