WooThemes Testimonials: Modify content to use excerpt
Modify the woothemes_testimonials_content filter and replace post_content with post_excerpt.
/** * Snippet Name: WooThemes Testimonials: Modify content to use excerpt * Snippet URL: https://wpcustoms.net/snippets/woothemes-testimonials-modify-content-to-use-excerpt/ */ function custom_testimonials_content( $content, $post ) { $content = $post->post_excerpt; return $content; } add_filter( 'woothemes_testimonials_content', 'custom_testimonials_content', 10, 2 );