The generate_show_excerpt filter allows you to choose whether your blog posts show the excerpt or full post.

Default (boolean): Your option set in Customize > Blog > Blog Content


Please refer to the Using Filters article to learn how to use this filter.


If you want your search template to show the full post instead of an excerpt.

add_filter( 'generate_show_excerpt','tu_full_post_search' );
function tu_full_post_search( $show_excerpt )
    if ( is_search() )
		return false;
	return $show_excerpt;

If you want the most recent post to show full content, but the rest to show excerpts:

add_filter( 'generate_show_excerpt','tu_full_recent_post' );
function tu_full_recent_post( $excerpt )
    global $wp_query;
    $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
    if ( $wp_query->current_post === (int) 0 && 1 == $paged ) {
        return false;
    return $excerpt;

The above assumes your blog content setting in Customize > Blog > Blog Content is set to display excerpts.