Search for: Log In Free Support [Resolved] Function to remove featured image on archive ? Home › Forums › Support › Function to remove featured image on archive ? This topic has 2 replies, 2 voices, and was last updated 7 months, 1 week ago by Leo. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts July 22, 2020 at 8:01 am #1372317 Fabien Hi, Is there a php function to remove the featured image on an archive page ? Thanks ! July 22, 2020 at 8:03 am #1372325 Fabien Nevermind, I’ve found it : add_filter( 'option_generate_blog_settings', function( $options ) { if ( is_post_type_archive( '$post-type' ) ) { $options['post_image'] = false; } return $options; } ); July 22, 2020 at 8:18 am #1372342 LeoStaff Customer Support Glad you were able to figure out. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In