このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

WordPress Word Count and Limit

説明

This plugin replaces the word count info in bottom of the edit post window by the characters/words count (on the fly). Additionnaly, you can limit the characters/words count for defined user roles.

Here’s the list of the settings (see screenshots for further infos):

  • Enable or disable characters/words count limit.
  • Max characters and words count setting
  • Warning characters and words count setting (the count before max count when the warning is fired)
  • Output Format. You can define how you would like to see the output displayed using different placeholders : #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).
  • Choose what user role should be limited. Default set to contributor role.
  • Choose the post types that should be limited. Default set to post.
  • Set customised messages for warning or for contributor submission.

Availabe languages : english and french.

スクリーンショット

  • How to find the WordPress Word Count and Limit options
  • The Options page with characters limit
  • The Options page with words limit
  • The output for the format : #chars characters | #words words
  • The output for the format : #chars/#maxChars characters, #leftChars left | #words words (when under the limit)
  • The output for the format : #chars/#maxChars characters, #leftChars left | #words words (when over the limit)

インストール

  1. Upload word-count-limit directory to the /wp-content/plugins/ directory of your WordPress installation
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください

FAQ

What could I limit?

You can limit characters or words count. You must choose between this two items in the admin page (see screenshots).

Could I enable the characters/words count limit for multiple user roles?

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.

What happens when user disable JavaScript?

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.

Can I add html tags in the output format?

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).

評価

2018年3月29日
This plugin is a hit and miss. I got it working just the other day and now it doesn’t work anymore. Had to degrade my review.
2016年9月3日 3 replies
Doesn’t respond to my blogs, users, and it doesn’t even have any option for Subscribers…so I added that, still doesn’t work. Too bad.
2016年9月3日
I like this plugin, nice output But here’s the thing, can it target a specified post? Let me explain; I want to limit user content if its a ‘free’ listing submission for a listing directory. That would be perfect!
5件のレビューをすべて表示

貢献者と開発者

WordPress Word Count and Limit はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WordPress Word Count and Limit” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.4.3

  • ready for WordPress 5 and higher (disable the Gutenberg Editor to work)

1.4.2

  • Added counter on Pages (must be checked in admin page)

1.4.1

  • Fixed the text domain issue (strings weren’t translated)

1.4

  • Words limit available now
  • Improving code
  • Improving Admin page explanations

1.3

  • Works on all WorPress Version (also 4.3 and 4.4 versions)

1.2

  • Fixed wrong post type display in option page
  • Fixed the wrong condition set to get the options in option page
  • Changed the way the user is notified when over the limit (now fires when submitting, not on hovering the publish div)
  • Fixed some typos in fr tanslation

1.1

  • Improved the characters and word count system
  • Adding new options : impacted post types and customised messages.
  • Fixing typos in language files

1.0

  • First release. Thanks for your feedback!