[wp-trac] [WordPress Trac] #29623: the_excerpt parameters
WordPress Trac
noreply at wordpress.org
Thu Feb 2 20:20:34 UTC 2017
#29623: the_excerpt parameters
-------------------------------+-----------------------
Reporter: valeriosza | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses: template
-------------------------------+-----------------------
Comment (by grapplerulrich):
I think there is interest for this. I have had a few themes create their
own solution so that they limit the number of character outputted in the
excerpt while reviewing themes for the theme review team.
I suppose the ticket is not easy to find as the title is not ideal. Could
someone change the title to something like "Supporting number of
characters for excerpts"
`wp_trim_words()` currently supports characters but only if the string
`'words'` is translated as `'characters'`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29623#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list