Created
January 20, 2016 15:22
-
-
Save anonymous/8193220ffa7bec17318c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Excerptlänge festlegen | |
function new_excerpt_length($length) { | |
return 150; | |
} | |
add_filter('excerpt_length', 'new_excerpt_length'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment