• 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

Matt M.

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 21, 2021 at 11:49 am in reply to: Hide Featured Image Essence Pro #502778
    Matt M.
    Participant

    I think this might work:

    
    if ( is_category( 'your_category' ) ) {
    
    remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
    
    }
    
    

    Alternatively, you can just use CSS to hide the featured image.

    Wordpress adds the category as a class to the html. So find the class-name of your featured images (often .wp-post-image) and then you could write css like this:

    `
    .category-categoryname .wp-post-image {
    display: none;
    }

    January 21, 2021 at 11:19 am in reply to: page speed optimization: Preload fonts (navigation pro) #502776
    Matt M.
    Participant

    Somebody correct me if I'm wrong please, but I don't think you can preload fonts on your own domain. Preloading is for external resources.

    January 21, 2021 at 11:18 am in reply to: INCLUDE HTML, CSS AND JAVASCRIPT #502775
    Matt M.
    Participant

    The easiest way to include in a specific page is by using the Gutenberg 'custom html' block. Then literally just copy and paste that code you shared into the block. I'd put it at the top of your page.

    I use this trick all the time to include custom CSS for an element that's only on one page, to avoid weighing down my main stylesheet.

    January 21, 2021 at 11:12 am in reply to: Cumulative Layout Shift #502774
    Matt M.
    Participant

    Your site scores an A on GTmetrix and a CLS of 0.06, so it looks like you've fixed your major issues. For some reason lighthouse in chrome inspector tools isn't quite as impressed.

    For others struggling with this issue, it comes down to this:

    You're loading the CSS and javascript that style your above the fold content too late. Get a plugin that generates criticall CSS and inline it in the head. Make sure to load Jquery and any other layout-affecting JS as render-blocking.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)

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