[wp-trac] [WordPress Trac] #23159: Add Words Counter In The Excerpt Metabox
WordPress Trac
noreply at wordpress.org
Fri Jan 11 04:10:21 UTC 2013
#23159: Add Words Counter In The Excerpt Metabox
-------------------------+------------------------------
Reporter: alex-ye | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+------------------------------
Comment (by kovshenin):
You're right, `the_excerpt` is only trimmed when it's auto-generated from
the content, and not when a custom excerpt has been provided. Quite a few
themes that use the excerpt would rely on them to be 55 words or less, but
most themes are okay with longer ones. Adding a tip that shows the excerpt
length is limiting in the post edit ui. It's not a hard limit, but it's
still a limit :)
If themes are afraid that users use custom excerpts which are longer than
the defined excerpt length and if the theme design really relies on that,
they could just use `wp_trim_words` on whatever is returned from
`get_the_excerpt()`, whether it's an auto-generated or a custom one.
That said, I do feel a pain that when I'm writing a post, I can preview
the post, but there's no way to see how it would look on the front page
with the thumbnail and excerpt and everything, unless I privately publish
it or something. But I guess that's a whole different problem :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23159#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list