Is it possible to limit the Excerpt field on the post page in words? Note that I am aware that it’s possible to echo the excerpt and limit it in words, but I want the field itself to limit the amount of words, similar to how character limits on text-areas work.
Is such thing possible? Maybe a Javascript solution? Maybe something similar to what this plugin does to the character bio field (although its limitation is based on amount of characters).
The reason of this is that I run a multiple author platform where users often make the mistake to exceed the word limit that is being printed in the list of posts.
You can use something like jQuery Simply Countable plugin and attach it to excerpt input.
PS there is also
word-count.js
in WP core, but I can’t make sense if it’s as easy to use for blocking stuff.