
In wordpress 3.0 limiting the excerpt is very easy. the_excerpt function is very useful and helpful in wordpress.
In many wordpress theme we used the excerpt. Many times we need to control excerpt characters as per our wordpress theme requirement. You can easily change the excerpt length using wordpress hook.
You just need to open your functions.php file from your wordpress theme folder and put following code in that.
function change_excerpt_length($length) {
return 100;
}
add_filter('excerpt_length', 'change_excerpt_length');
This filter is used by wp_trim_excerpt() function. By default the excerpt length is set to return 55 words.





Good! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?
I REALLY liked your post and blog! It took me a minute bit to find your site…but I bookmarked it. Would you mind if I posted a link back to your post?
This post makes a lot of sense !
I was just having a conversation over this I am glad I came across this it cleared some of the questions I had.
Of course, what a great site and informative posts, I will add backlink – bookmark this site? Regards, Reader
Nice post! You truly have a wonderful way of writing which I find captivating! I will definitely be bookmarking you and returning to your blog. In fact, your post reminded me about a strange thing that happened to me the other day. I’ll tell you about that later…
I’ve just started off a blog, the knowledge you give on this site has aided me extremely. Thank you for all your time & work.
Thanks for posting. Good to see that not everyone is using RSS feeds to build their blogs
Awesome post. I so good to see someone taking the time to share this information
Interesting read, perhaps the best article iv’e browse today. We learn everyday cheers to you!
Of course, what a great site and informative posts, I will add backlink – bookmark this site? Regards, Reader
Great read. Thanks for the info!
I’ve been checking your blog for a while now, seems like everyday I learn something new
Thanks
I REALLY liked your post and blog! It took me a minute bit to find your site…but I bookmarked it. Would you mind if I posted a link back to your post?
Intriguing post. I have been searching for some good resources for solar panels and discovered your blog. Planning to bookmark this one!
I’ve just started off a blog, the knowledge you give on this site has aided me extremely. Thank you for all your time & work.
This post makes a lot of sense !
I was just having a conversation over this I am glad I came across this it cleared some of the questions I had.