Force Search Results to Show Excerpt

To force the search results to show the post excerpt when using the Genesis framework, you can use this snippet in your search.php:

<?php

// Enable excerpts for search results
add_filter( 'genesis_pre_get_option_content_archive', 'pure_show_excerpts' );

function pure_show_excerpts() {
    return 'excerpts';
}

genesis();