How to change the length of excerpt() method?

I am using the_excerpt() method to display some wordings from the blog posts.

I have read the post from this link.
http://codex.wordpress.org/Plugin_API/Filter_Reference/excerpt_length

Read More

But my situation is different.

I am displaying some wordings from the posts in two places.
In the first place I want to display 20 words and in the 2nd place I want to display 50 words.

So what will I do for this?

Related posts

Leave a Reply

1 comment