Do you want to change the post excerpt length of your WordPress blog post in your Genesis Theme with just a few lines of code and without using any plugin? Then you came at the right place.
Here we have posted the code snippet that will help you to control the length of words which is showing in the post excerpts.
Let’s get to the point and don’t waste the time.
Read Also: Customize the Read More Link
How to change post excerpt length in WordPress
Below we have posted the post excerpt length function code. Just copy the PHP code into your theme’s functions.php or if you are using child theme then use it’s functions.php file and paste the code.
Code of Post Expert Lenght
That’s it.
Let us know how was this guide. If you have any query related to WordPress let us know in the comment section and don’t forget to share this with your friends.
Stay Hungry, Stay Foolish – By Steve Jobs