marko krstić

Collections

Archives

Change WordPress default excerpt length

Add this code to function.php to change excerpt length to 20 words

<?php  
	add_filter( 'excerpt_length', function($length) {
    	return 20;
	} );

Let's Connect

Feel free to reach out for collaborations or just a friendly hello 😀
mailme@markokrstic.com
linkedininstagramdribbblefacebook-official