ThemeShaper Forums » Thematic

[closed]

Enlarging the Excerpt?

(3 posts)
  • Started 3 years ago by soupking
  • Latest reply from soupking
  • This topic is resolved
  1. soupking
    Member

    Hi everybody,

    Does anybody know where to enlarge the excerpt sample size?

    Posted 3 years ago #
  2. i know you aren't a fan of the codex, but the answer is right there after a quick google search

    function new_excerpt_length($length) {
    	return 20;
    }
    add_filter('excerpt_length', 'new_excerpt_length');

    http://codex.wordpress.org/Function_Reference/the_excerpt

    since default is 55 words, if you want to make it longer you'd use a bigger number than in the example

    Posted 3 years ago #
  3. soupking
    Member

    Totally hear you. I'll refer to the Codex for more stuff as I'm starting to see the forest for the trees.

    Thanks Helga!

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.