• 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

Set Featured image in Page-Title area on pages/posts in eleven40

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 › Set Featured image in Page-Title area on pages/posts in eleven40

This topic is: not resolved

Tagged: Eleven40, featured image, page title widget

  • This topic has 1 reply, 1 voice, and was last updated 12 years, 5 months ago by KarenLeighBurton.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 1, 2013 at 8:57 am #64938
    KarenLeighBurton
    Member

    Hello all I am using Elevel40 (not the "pro" because that removed the "page-title" widget area at the top that I want to use).
    What I want is to assign a certain image to the homepage in that section by way of featured post widget or genesis responsive slider, then on all pages/posts have the featured image of that particular page or post appear instead, if no image is assigned then default back to the main image used on the homepage. Can anyone help me?
    I'd also like the site description to appear below the site title. I've tried several variations and tricks that I've found but none seem to produce the result I am looking for. Any help will be greatly appreciated.
    Right now the site is on local development so I have no url to display.

    October 1, 2013 at 7:36 pm #65027
    KarenLeighBurton
    Member

    Any takers? come-on it can't be that hard? I just don't know what i'm doing for the call. I just need to know how to call the page/post "featured-image" to appear in the "page-title" section on all pages/posts EXCEPT the homepage.

    I created a page.php and placed within the theme.
    Added this code - trying to model after another post - not working...

    <?php

    add_action( 'genesis_before_content_sidebar_wrap', 'eleven40_page_title' );

    function eleven40_page_title() {
    echo '<div id="inner">';

    if (has_post_thumbnail( $post->ID ) ) :
    echo get_the_post_thumbnail($post->ID);

    else :

    if ( is_active_sidebar( 'page-title' ) ) :
    echo '<div id="page-title">';
    dynamic_sidebar( 'page-title' );
    echo '</div><!-- end #page-title -->';

    endif;

    endif;
    echo '</div><!-- end #inner -->';

    }

    genesis();

    this is really my weak point, can someone please help?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

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