Looking for Wordpress plugins

vaneetagoswami

Well-known member
Registered
Joined
Mar 6, 2014
Messages
140
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

Well-known member
Moderator
Joined
Jun 6, 2013
Messages
297
Points
28
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
 
Older Threads
Newer Threads
Latest Threads
Replies
0
Views
10
Replies
0
Views
13
Replies
0
Views
12
Replies
0
Views
11
Replies
0
Views
11
Recommended Threads
Replies
2
Views
3,113
Replies
5
Views
3,670
Replies
6
Views
3,804
Similar Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

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