/ Published in: PHP
then in your template code you just use..
echo excerpt(25);
echo excerpt(25);
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://stackoverflow.com/questions/4082662/multiple-excerpt-lengths-in-wordpress