Support » Themes and Templates » [Resolved] Limit Excerpt Length

[Resolved] Limit Excerpt Length

  • How to limit excerpt length of the posts? cant find the normal functions or the function that the theme uses.

    Thank you

Viewing 1 replies (of 1 total)
  • Theme Author Fruitful Code


    By default it set 150 but you can add custom function

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

    Where is return 20 – it’s number of symbols

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Limit Excerpt Length’ is closed to new replies.