Reply To: How to remove "featured images" from displaying on posts

Home Forums Support How to remove "featured images" from displaying on posts Reply To: How to remove "featured images" from displaying on posts

Home Forums Support How to remove "featured images" from displaying on posts Reply To: How to remove "featured images" from displaying on posts

#150491
Tom
Lead Developer
Lead Developer

@rtprisco – Wow, don’t know how I missed your post! Are you still needing help with this? Sorry about the huge wait!


@Ramon
, this PHP should remove the code completely:

add_action( 'wp', 'generate_remove_single_featured_image' );
function generate_remove_single_featured_image()
{
    if ( is_single() ) :
        remove_action('generate_before_content','generate_featured_page_header_inside_single', 10);
    endif;
}

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/