Remove featured image on custom post type
I have a custom post type called finalists, which has a featured image (which I want to display elsewhere). I have tried this code to remove the featured image but can’t get it to work. Do you have any ideas. add_action( 'after_setup_theme','generate_remove_single_featured_images' ); function generate_remove_single_featured_images() { if ( is_singular( $post_types = 'finalist' ) ){ remove_action('generate_before_content','generate_featured_page_header_inside_single', … Read more