A blog for technology, SEO tips, website development and open source programming.

Change WordPress post excerpt length

0 623

wp-snippetThis post shows how to change post excerpt length in WordPress according to your theme’s requirement. By default the excerpt length is set to return 55 words. If you want to change excerpt length, you can override this length in your theme by adding your own filter.

For example if you want “70” words to display in your post except, to change post excerpt length add following code to functions.php file in your theme:

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More