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
Recommended threads
Replies
29
Views
13,842
Replies
11
Views
7,592
Replies
11
Views
5,963
Similar threads
Replies
1
Views
48
Replies
5
Views
2,080
Replies
10
Views
4,978
Replies
0
Views
2,204
SIG

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