Customize the search results page in a Wordpress Genesis child theme
<p>I am using Wordpress and the Genesis framework for a site. I'm using a child theme (Ayoshop - not that it matters much) for the theme. I would like to customize the search results page by removing the 'post info' area where it shows the date, author, and 'leave a comment' link, and instead show the featured image for that post. The theme is using the <code>search.php</code> page from the Genesis theme, so I'm not really sure how to proceed in how to customize it.</p>

<p>Here is the code from the Genesis theme <code>search.php</code>:</p>

<pre><code>add_action( 'genesis_before_loop', 'genesis_do_search_title' );
/**
 * Echo the title with the search term.
 *
 * @since 1.9.0
 */
function genesis_do_search_title() {

    $title = sprintf( '&lt;div class="archive-description"&gt;&lt;h1 class="archive-title"&gt;%s %s&lt;/h1&gt;&lt;/div&gt;', apply_filters( 'genesis_search_title_text', __( 'Search Results for:', 'genesis' ) ), get_search_query() );

    echo apply_filters( 'genesis_search_title_output', $title ) . "\n";

}

genesis();
</code></pre>