Snippet: Display Read More link for Testimonials with Custom Excerpts
add_filter( 'wpex_excerpt_output', function( $excerpt ) {
global $post;
if ( $post && 'testimonials' == $post->post_type && $post->post_excerpt ) {
$readmore = '<a>ID ) .'" title="Read More" rel="bookmark">read more <span class="wpex-readmore-rarr">→</span></a>';
return $post->post_excerpt .' '. $readmore;
}
return $excerpt;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend WPCode)