• 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

Metro Homepage Blog Image, Move Below Title & More Text Link

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 › Metro Homepage Blog Image, Move Below Title & More Text Link

This topic is: not resolved

Tagged: blog, featured posts, homepage, Metro, thumbnail

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 11 months ago by rfmeier.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 16, 2013 at 9:10 pm #46303
    devnick
    Member

    I placed the Genesis Featured Posts widget in Home - Bottom

    I'm trying to figure out how to change the structure and where... I want to move the image down, below the title in Metro because of long Post Titles.

    Here is an image of what I'm trying to do (sorry, no live link to site)

    http://tinyurl.com/m6jgufk

    Basically, it involves moving the thumbnail image link tag below the <h2> post title, see below.

    
    DEFAULT
     <div class="post-93 post type-post status-publish format-standard hentry category-uncategorized entry">
     <a href="http://..."><img width="150" height="150" src="http://..." class="attachment-thumbnail"></a>
     <h2>
     <a href="http://...">Now Two Great Lakes 100 Mile Triathlons in 2013</a>
     </h2>
     <p>In 2013... [...]</p>
     </div>
     CHANGE TO
     <div class="post-87 post type-post status-publish format-standard hentry category-uncategorized entry">
     <h2>
     <a href="http://...">Missouri Gets New Rev3 Branson Triathlon Event in September</a>
     </h2>
     <a href="http://..." class="alignleft"><img width="150" height="150" src="http://..." class="attachment-thumbnail"></a>
     <p>Branson,... [...]</p>
     </div>
    
    

    Also, trying to figure out why the [Read More] option isn't working or showing up?

    Thanks,
    -Nick

    June 17, 2013 at 7:52 am #46336
    rfmeier
    Member

    Nick,

    Looking at the widget source, there does not seem to be any options (hooks) to re-arrange the element layout of the widget. A plugin/widget could be created to extend the Genesis_Featured_Post class to display a custom layout... unless there is another widget with more options.

    As for the [Read More], the source is below. Try a few different options.

    if ( ! empty( $instance['show_content'] ) ) {
    
    	echo genesis_html5() ? '<div class="entry-content">' : '';
    
    	if ( 'excerpt' == $instance['show_content'] )
    		the_excerpt();
    	elseif ( 'content-limit' == $instance['show_content'] )
    		the_content_limit( (int) $instance['content_limit'], esc_html( $instance['more_text'] ) );
    	else
    		the_content( esc_html( $instance['more_text'] ) );
    
    	echo genesis_html5() ? '</div>' : '';
    
    }

    I hope this helps point you in the right direction.


    Ryan Meier – Twitter

    June 17, 2013 at 11:54 am #46376
    devnick
    Member

    Ryan,

    Thanks.  I guess you mean do something like this (link), just moving the featured-post-widget.php to my child theme folder?  Then I would tweak the Title and Image structure.

    On the [Read More], does it not work by default?  Strange that I would have to add code.

    June 17, 2013 at 1:28 pm #46391
    rfmeier
    Member

    Nick,

    The link you provided is one way of doing it. I would take the plugin route personally.


    Ryan Meier – Twitter

  • 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

© 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