Sometimes you just need less. Or more.
Changing the default length of the WordPress excerpt is pretty simple. Open up your active theme’s functions.php file and add this to the very bottom:
Change 36 to your heart’s desire. The excerpt often shows up on archive pages as the shortened text for a post.
You just wrote a WordPress filter. Pretty easy, right?
Leave a Reply