/ Published in: PHP

use in template
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function excerpt($limit) { } else { } return $excerpt; } function content($limit) { } else { } $content = apply_filters('the_content', $content); return $content; }
URL: http://bavotasan.com/2009/limiting-the-number-of-words-in-your-excerpt-or-content-in-wordpress/
Comments
