The question came up on the Studiopress forum how to completely remove the option to display excerpts on the content archives from the Genesis Theme Settings.
This little code snippet will do just that:
add_filter( 'genesis_archive_display_options', 'ch_remove_excerpts_from_content_archive_display_option' ); /** * Removes the Entry excerpts display option from Genesis Theme Settings Content Archives * box. * * @param array $archive_display Existing display types. * @return array Amended display types. */ function ch_remove_excerpts_from_content_archive_display_option( array $archive_display ) { if ( isset( $archive_display['excerpts'] ) ) { unset( $archive_display['excerpts'] ); } return $archive_display; }
[…] After yesterday’s post, I got a few inquiries how to remove the entry content display option from the Genesis Theme Settings, instead of entry excerpt. […]