• 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

Generate Pro – Add featured image above the entry content on PAGES

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 › Generate Pro – Add featured image above the entry content on PAGES

This topic is: not resolved

Tagged: featured image, generate pro

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 8 months ago by Brad Dalton.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 12, 2019 at 1:19 am #493516
    Andrés
    Member

    On Generate Pro theme featured images are displayed only on posts. How can I display it on pages too? I haven't found the snippet.

    Thank you.

    😉

    My website: aqxdemy.com

    http://aqxdemy.com
    September 12, 2019 at 1:35 am #493517
    Brad Dalton
    Participant

    Change this code between lines 94 - 95 in functions.php

    if ( is_page() || ! genesis_get_option( 'content_archive_thumbnail' ) )
    		return;
    

    You could try something like :

    if ( is_archive() || ! genesis_get_option( 'content_archive_thumbnail' ) )
    		return;
    

    Or

    if ( ! is_singular(array('post','page') ) || ! genesis_get_option( 'content_archive_thumbnail' ) )
    		return;
    

    You can use conditional tags to control where the code executes https://codex.wordpress.org/Conditional_Tags


    Tutorials for StudioPress Themes.

  • 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

© 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