Looking for Wordpress plugins

vaneetagoswami

New member
Joined
Mar 6, 2014
Messages
370
Points
0
I am looking for a WordPress plugin through that I trim first 140 character from the post and display it after the post title. Is there any plugin you used before or you tried for the same thing than recommended that plugin name. Also if you know this is easily done from the php without install any plugin than please tell me that too.
 

Alex Thompson

Moderator
Joined
Jun 6, 2013
Messages
651
Points
43
I am looking for a WordPress plugin through that I trim first 140 character from the post and display it after the post title. Is there any plugin you used before or you tried for the same thing than recommended that plugin name. Also if you know this is easily done from the php without install any plugin than please tell me that too.
You don't need to use a plugin to do that

Use:

Code:
wp_trim_words( $yourcontent, $num_words = 25, $more = '… ' );
Replace $yourcontent with which you want to trim :D
 
Latest threads
Replies
2
Views
100
Replies
1
Views
184
Replies
6
Views
397
Replies
11
Views
542
Replies
2
Views
234
Recommended threads
Replies
5
Views
5,365
Replies
2
Views
5,000
Replies
11
Views
7,480

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top