Code Overview Use this tool to share WordPress snippets with the community. Snippet // Enable line break in excerpt using Views plugin remove_shortcode('wpv-post-excerpt'); add_shortcode('wpv-post-excerpt', 'get_the_excerpt'); add_filter( 'get_the_excerpt', 'wpautop' ); Update Code Save Snippet
// Enable line break in excerpt using Views plugin remove_shortcode('wpv-post-excerpt'); add_shortcode('wpv-post-excerpt', 'get_the_excerpt'); add_filter( 'get_the_excerpt', 'wpautop' );