mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Shorten excerpt
git-svn-id: https://develop.svn.wordpress.org/trunk@2262 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -123,7 +123,7 @@ function get_the_excerpt($fakeit = true) {
|
||||
$output = $post->post_content;
|
||||
$output = strip_tags($output);
|
||||
$blah = explode(' ', $output);
|
||||
$excerpt_length = 120;
|
||||
$excerpt_length = 70;
|
||||
if (count($blah) > $excerpt_length) {
|
||||
$k = $excerpt_length;
|
||||
$use_dotdotdot = 1;
|
||||
|
||||
Reference in New Issue
Block a user