the_excerpt() length – changing the default not working
I’ve got the latest version of wordpress installed.
I’m writing text into the excerpt box in the ‘add new post’ box of the admin system and then calling this via the_excerpt() function.
I’ve tried several ways of changing the default excerpt length from 55 to 10 words, including changing the excerpt_length in the formatting.php file, as well as adding the well known functions within my own theme’s functions template that I found in the codex.
Can anyone give me any pointers or codes where they have been successful in trimming the excerpt length?
- The topic ‘the_excerpt() length – changing the default not working’ is closed to new replies.