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
110
Replies
1
Views
187
Replies
6
Views
414
Replies
11
Views
544
Replies
2
Views
238
Recommended threads

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