-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add word count to post settings #1557
Comments
We can use the word counter module that is currently in core. https://github.com/WordPress/wordpress-develop/blob/master/src/wp-admin/js/word-count.js |
Do you often want to know the word count for a section of text you're working on? My only concern is I'm not sure if that's helpful. Usually when I'm writing articles I only care about the total word count. Keen on your thoughts. Thanks! |
That's a good point @jwold. From a technical standpoint, I think we're going to need to track the count for each text block in order to display the full count but that doesn't mean we need to display the per-instance count. This might become helpful if an editor wants a certain amount of copy in a text block that appears before a more link but that may be the exception rather than the rule. |
Added some comments on #1624 (comment), relevant to this discussion. Also worth noting, we need a UI for when you have opened all the metaboxes in the sidebar (and probably keep them open, pending #450). In this configuration, would we want to use some trick to stick the counter at the bottom, in essentially a sidebar footer? Then you'd scroll the content between the sidebar header and sidebar footer. |
This might work. I think that could be a decent solution. A few other ideas. I like how Bear Notes has a tooltip popup. It's something to at least consider (in mobile it would open another sidebar): But since that could get confusing to have a post settings sidebar with a popup, I'm not sure. Thoughts? |
If we have to go with a counter in the main body, I like the dropdown idea from Bear that you screenshotted. Perhaps we could go super minimalist and instead of an icon just have a number. Instead of "123 Words", just "123", and then on click we could expand and show more. |
@jasmussen I like that idea. Super simple in main body but popout to show more. |
We could pair this with Table of Contents which counts headings alone. |
Table of Contents could be moved to show as a popover as well on the main content like @jwold proposal. |
Note: If this already exists elsewhere please close it. I tried to find a duplicate.
Would it be helpful to add word count into the post settings area for the whole document? If that's too much work at this point we can hold off.
The text was updated successfully, but these errors were encountered: