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
1
Views
254
Replies
1
Views
355
Replies
4
Views
1,814
Replies
3
Views
790
Similar threads
Replies
3
Views
1,691
Replies
10
Views
4,702
Replies
0
Views
2,093
SIG

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