Support » Plugins and Hacks » Link to testimonial page

Link to testimonial page

Viewing 1 replies (of 1 total)
  • Plugin Author Hal Gatewood


    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');
Viewing 1 replies (of 1 total)
  • The topic ‘Link to testimonial page’ is closed to new replies.