Shorten excerpt
git-svn-id: https://develop.svn.wordpress.org/trunk@2262 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
68c44682ba
commit
1f344fc951
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user