From wordpress 3.0 version wordpress intruded the custom post type function. Many wordpress theme developers are using custom post type method for showing different sections.
Many times we need to change the excerpt text length and showing on main landing page of custom psot type.

Set the 2 or many excerpt lengths for different custom post type in wordpress
You can set the different excerpt length for each custom post type. you just need to open functions.php file and put following code in file.
function new_excerpt_length($length) {
global $post;
if ($post->post_type == 'post')
return 32;
else if ($post->post_type == 'products')
return 65;
else if ($post->post_type == 'testimonial')
return 75;
else
return 80;
}
add_filter('excerpt_length', 'new_excerpt_length');
Using above code you can set the many excerpt lengths for your custom post type.
If you are still facing issue with custom post then please do write to me.
Incoming search terms:
- custom excerpt length for each post
- wordpress custom post type excerpt
- wordpress 2 types of exerpts
- multiple excerpt lengths wordpress 3
- more excerpts type wordpress
- how to adjust twentyten excerpt custom length
- excerpt length post_type
- excerpt length for custom post type
- custom post wp excerpt
- custom multipal excerpt length in wordpress
- wordpress different excerpt lengths for each widget






Great blog! I am loving it!! Will come back again. I am bookmarking your feeds also
Hello.This article was extremely remarkable, particularly since I was searching for thoughts on this matter last Thursday.