Limit WordPress the_content by words


/ Published in: PHP
Save to your folder(s)

I need this function all too often and figured I'd share it. Limit the_content() by word limit by using built in WordPress functions.

URL: http://wordpress.stackexchange.com/questions/37858/truncate-custom-post-type-content

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.