[resolved] Shorter excerpts (4 posts)

  1. Ireilas
    Posted 2 years ago #

    first of all thanks for the great theme!

    I need shorter excerpts for latest posts, etc.
    Before I ruin something in the files, since I can not find the place, I prefer to ask for.
    Is it possible to change the length of the excerpts? If so, where?


  2. Sayed Taqui
    Theme Author

    Posted 2 years ago #

    I have added that option in the next version which should be available soon however if you are in hurry , you can do it now. Paste this in your functions.php file

    add_filter( 'excerpt_length', 'Ireilas_custom_excerpt_length', 999 );
    function Ireilas_custom_excerpt_length( $length ) {
    	return 20;

    20 is the number you would like to change. That's number of Words.

  3. Ireilas
    Posted 2 years ago #

    Wow, thanks for the quick reply!
    It's great that the option will appear in the next version. Then I'll remove the new code again.

  4. anu.healthykitchen
    Posted 1 year ago #

    is your next version released?? I would also like change the excerpt length and not comfortable much to use code.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic