Home › Forums › Support › Hide the featured image in the archive page This topic has 3 replies, 2 voices, and was last updated 2 years, 4 months ago by Elvin. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 19, 2021 at 5:14 am #2053530 Royal Rangers Hi, how I can hide the featured image of the posts in the archive page for post format image or video? December 19, 2021 at 7:37 pm #2054049 ElvinStaff Customer Support Hi there, Try this PHP snippet: add_filter( 'generate_featured_image_output', function( $output ){ if( ( is_archive() || is_home() ) && has_post_format( array( 'video', 'image' ), get_the_ID() ) ){ return; } return $output; }); December 21, 2021 at 12:04 am #2055212 Royal Rangers It looks like it works. Thank you December 21, 2021 at 12:08 am #2055217 ElvinStaff Customer Support No problem. 😀 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In