• 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

Place featured image above header

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 › General Discussion › Place featured image above header

This topic is: not resolved

Tagged: entry, featured, image, post, title

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 10 months ago by brainfruit.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 22, 2014 at 8:12 am #86438
    brainfruit
    Member

    Hi

    I want to place a featured image above the post title on the blog page of my site, but have it below the title on single post pages.

    Google hasn't been my friend on this occasion. Can anyone help?

    http://www.brainfruitcreative.com/
    January 22, 2014 at 8:33 am #86446
    nutsandbolts
    Member

    You'd need to write a function... Something with a conditional like

    if( is_home() || is_archive() || is_category() )

    Let me ponder this for a little bit...


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 22, 2014 at 8:37 am #86447
    brainfruit
    Member

    Thanks! That's very kind.

    January 22, 2014 at 8:39 am #86449
    nutsandbolts
    Member

    Here's a tutorial from Brad Dalton that should help: http://wpsites.net/web-design/add-remove-image-above-post-title/

    The only thing I would change is where it says if ( is_page() ) return; since you don't want them on single posts either. So you'd do something like if ( is_page() || is_single() ) return; and that will keep the function from working on pages or single posts.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 22, 2014 at 8:46 am #86452
    brainfruit
    Member

    Thank you! I'll give this a go as soon as I get home. Thanks for taking the time to find the example.

    Dan.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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