Timeline for Excerpts that don't truncate words
Current License: CC BY-SA 2.5
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 21, 2011 at 23:51 | vote | accept | Eeyore | ||
Feb 18, 2011 at 18:34 | history | edited | user66 | CC BY-SA 2.5 |
Add usage example for the_excerpt_length()
|
Feb 18, 2011 at 18:32 | comment | added | user66 | @Eeyore the_excerpt_length isn't a filter, it's a function that lets you echo an excerpt of a specific length. Sorry for the confusion. I'll add a usage example to the answer. | |
Feb 18, 2011 at 4:40 | comment | added | Eeyore | After adding the the latter example I get 500 error. I put both methods in functions.php and added add_filter( 'excerpt_length', 'the_excerpt_length' ); | |
Feb 14, 2011 at 21:31 | comment | added | user66 | @Rarst Good call. Updated with a function. | |
Feb 14, 2011 at 13:47 | history | edited | user66 | CC BY-SA 2.5 |
added 840 characters in body
|
Feb 14, 2011 at 9:00 | comment | added | Rarst | One more thing that people often miss - you can have different excerpt length even on same page by adding and removing filter as necessary between calls. | |
Feb 14, 2011 at 5:44 | history | answered | user66 | CC BY-SA 2.5 |