The WordPress Search Engine. 70,985 posts and counting.

WordPress › Support » Changing the default length of the_excerpt

Add the 3 lines: add_filter('excerpt_length', 'my_excerpt_length'); function my_excerpt_length($length) { return 20; // Or whatever you want the length to be.

Continue reading here:
WordPress › Support » Changing the default length of the_excerpt

Tags: , , , ,

No Responses to “WordPress › Support » Changing the default length of the_excerpt”

Leave a Reply