[wp-trac] [WordPress Trac] #17190: excerpt_length filter does not work

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 20 13:39:01 UTC 2011

#17190: excerpt_length filter does not work
 Reporter:  pavelevap                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Formatting               |     Version:  3.1.1
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |

Comment (by pavelevap):

 Yes, sorry for bothering you, I did not realize that it does not work for
 manually created excerpts. Is there any other function to do it? Or should
 I get excerpt and trim it with wp_trim_excerpt() or with my own function?
 But in this case, it will be needed to change also theme.

 All I wanted to achieve was trimming excerpts (automatically or manually
 created) without editing theme (using the_excerpt() function) but only
 with the help of external plugin?

 But you can close this ticket, I guess. Or maybe excerpt_lenght filter
 should also work for manual excerpts with any parameter (suggestion).

Ticket URL: <http://core.trac.wordpress.org/ticket/17190#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list