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
0
Views
69
Replies
0
Views
260
Replies
1
Views
701
Recommended threads
Replies
6
Views
4,127
Replies
0
Views
4,913
Replies
19
Views
7,454
Similar threads
Replies
5
Views
2,619
Replies
10
Views
5,926

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