ThemeShaper Forums » Thematic


Enlarging the Excerpt?

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

    Hi everybody,

    Does anybody know where to enlarge the excerpt sample size?

    Posted 10 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');

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

    Posted 10 years ago #
  3. soupking

    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 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.