WordPress.org

Forums

Testimonial Rotator
Link to testimonial page (2 posts)

  1. junriel1989
    Member
    Posted 1 year ago #

    Hello,

    Is it possible to limit the number of character (excerpts) of the testimonial? I am using it on a widget with Headway theme and the.
    Also, is it possible to have a link to a page where all testimonial are in?

    Thanks,
    Junriel Bonachita

    http://wordpress.org/plugins/testimonial-rotator/

  2. Hal Gatewood
    Member
    Plugin Author

    Posted 1 year ago #

    You should be able to hook into the 'excerpt_length' filter. Try adding the following code to the function.php file in your theme.

    function new_excerpt_length($length) {
      global $post;
      if ($post->post_type == 'testimonial')
      {
      	return 75;
      }
    }
    add_filter('excerpt_length', 'new_excerpt_length');

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.