Testimonial Slider
Doesn't return true excerpt, here's a fix (1 post)

  1. Shivanand Binary Turf
    Posted 1 year ago #

    The slider doesn't return the true excerpt since the custom post type it creates doesn't have excerpt support.

    Edit testimonial-slider.php and Change line 568

    'supports' => array('title','editor','excerpt')

    and then to your functions.php add the following:


    /* this will return excerpt regardless of the setting in the slider settings */
    function my_testimonial_excerpt($excerpt,$post_id,$slider,$css){
    $testi_post = $post_id;
    $testi_post = get_post($post_id);
    return $testi_post->post_excerpt;
    return $excerpt;


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonial Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Shivanand Binary Turf
  • This topic is not resolved
  • WordPress version: 3.6.1