Support » Theme: Supernova » Shorter excerpts

  • Resolved Ireilas


    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?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Sayed Taqui


    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.

    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.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shorter excerpts’ is closed to new replies.