Increase Length of Post Excerpts

  • Mango


    I would like to increase the length of the Post Excerpts on my Home/Archive/Category/etc Pages as the words only occupy a little over half the available space. It appears that this is currently set at 55 words in Theme-Loop.php and I have tried changing this to 80 words using this setting however nothing changes.

    Am I missing something or looking in the wrong place?

    Currently using Graphene 1.92

    Comments appreciated.



    Kenneth John Odle


    Do not edit theme files. Instead, create a child theme and use this in the child theme’s functions.php file:

    function custom_excerpt_length( $length ) {
    return 20;
    add_filter( 'excerpt_length', 'custom_excerpt_length', 100 );



    Thanks Kenneth, that worked a treat. Changing the “20” to a “75” gave me just what I wanted.

    Cheers mate,


Viewing 3 posts - 1 through 3 (of 3 total)

  • You must be logged in to reply to this topic.