Created
November 16, 2014 19:26
-
-
Save barrykooij/c50c676ae6d08d096f1c to your computer and use it in GitHub Desktop.
Related Posts for WordPress Change Excerpt Length
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 | |
function rp4wp_change_post_excerpt_length( $excerpt_length ) { | |
return '10'; | |
} | |
add_filter( 'rp4wp_general_post_excerpt_length', 'rp4wp_change_post_excerpt_length' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment