开发者 | jojaba |
---|---|
更新时间 | 2019年10月25日 03:40 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 5.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
#chars
(the character count that has been typed), #words
(The number of words), #maxChars
(the max characters allowed), #leftChars
(the characters count left),#maxWords
(the max words allowed), #leftWords
(the words count left).word-count-limit
directory to the /wp-content/plugins/
directory of your Wordpress installationYou can limit characters or words count. You must choose between this two items in the admin page (see screenshots).
Yes. You just have to check the right checkboxes in the plugin options screen. Default limited role is contributor but you can also limit other roles.
The native WP word count will be displayed. The characters limit will still be functionnal, but no warning message will be displayed before submitting. After clicking on the button to submit the post and if the characters count exceed the max characters count set in the options, the submission will be refused.
Yes, all html tags enabled in your WordPress installation are allowed (the available tags are listed in the admin page).
So this format : <b>#chars</b> characters | <b>#words</b> words
… will output something like that : 80 characters | 15 words (the numbers are bold).