• 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

Design pro show feature image

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 › Design pro show feature image

This topic is: not resolved

Tagged: add_post_type_support, featured image, genesis_singular_image_size

  • This topic has 10 replies, 3 voices, and was last updated 4 years, 10 months ago by andytc.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • August 18, 2020 at 12:28 am #500639
    Annaedv
    Participant

    Hello
    I search and try that tips and code "add_post_type_support( 'post', 'genesis-singular-images' );" to my theme Design Pro. But without success.
    The image will not appear.
    How can I do?

    I can see that the size are 1000x700 px and I wounder where this size is meant to fit?

    Anna

    https://ssk.fa-avance.se/
    August 18, 2020 at 1:03 am #500640
    Brad Dalton
    Participant

    Here's another method to add the featured image to single posts in Genesis child themes.


    Tutorials for StudioPress Themes.

    August 18, 2020 at 1:30 am #500641
    Annaedv
    Participant

    Hello
    I try that (as I said in my first post).
    The image appears not in 1000x700 (as the theme has tha code) it appears in the same size as in the front (500x350).
    • I want a full size inside the post (and page). This use to work in every other theme in Genesis?
    • I want the feature img also in pages.

    How to do?
    Anna

    August 18, 2020 at 2:05 am #500643
    Brad Dalton
    Participant

    There's different methods.

    To use the method built into Genesis, you would need to filter the value for the $size variable using the genesis_singular_image_size hook.

    To enable the featured image on single pages, you could try adding a array to add_post_type_support.

    Check out the default code within Genesis to learn more.

    And you'll find more info in the docs https://studiopress.github.io/genesis/developer-features/featured-images/


    Tutorials for StudioPress Themes.

    August 18, 2020 at 2:12 am #500644
    Annaedv
    Participant

    Okey - thank's.
    But where is the img for 1000x700 meant to appear in the theme from the original start?
    Why is the size there? Where is it meant to be?
    Anna

    August 18, 2020 at 4:34 am #500645
    andytc
    Participant

    But where is the img for 1000x700 meant to appear in the theme from the original start?

    It's used for the front page image in the customiser

    front-page-featured: 1000 - 700 (cropped to fit)

    August 18, 2020 at 5:22 am #500646
    Annaedv
    Participant

    But that one is 500x350 although I set my settings to 1000x700.
    And it it 500x350 in single post too.
    Why?

    Anna

    August 18, 2020 at 6:46 am #500647
    andytc
    Participant

    If you examine the css you can see it’s being limited in width to 500px , you could adjust that to suit your needs in the customiser css section.

    August 18, 2020 at 6:57 am #500648
    andytc
    Participant

    Example -

    Default is -

    img.entry-image {
        max-width: 500px;
    }

    Add to customiser additional css - change the pixel width to what you want

    img.entry-image {
        max-width: 1000px;
    }
    August 18, 2020 at 7:13 am #500649
    Annaedv
    Participant

    Yes, I try that before, but that code changes the image in both the single post AND the content in front page.
    That is not working.
    Any other idea?
    Anna

    August 18, 2020 at 8:33 am #500651
    andytc
    Participant

    Yes , it will , you just need to be more specific with the code and decide where you want it.

    This will change it on all archives and single posts but not the front page

    .archive img.entry-image ,.single img.entry-image {
        max-width: 1000px;
    }

    you can also separate them off as you wish to get what you want

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