Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressユーザーに投稿作成制限を追加する方法

WordPressユーザーに投稿作成制限を追加しますか?

複数の投稿者がいるサイトを運営している場合、ユーザーが公開する投稿やレビューのために送信できる投稿の数を制限することが有効な場合があります。これは、たとえ多くの人がコンテンツを書いていたとしても、忙しいサイトを管理するのに役立ちます。

この投稿では、WordPressサイトにユーザー用の投稿作成制限を追加する方法を紹介します。

How to Add a Post Creation Limit in WordPress

カテゴリー: WordPressで投稿を制限する必要があるのは誰か?

複数投稿者のブログを管理している場合、各投稿者が1日、1週間、あるいは1ヶ月に送信できるブログの数を制限したいと思うかもしれません。これは、サイトのコンテンツを管理し、編集ワークフローを改善するのに役立ちます。

WordPressの会員制サイトに投稿作成制限を設けることもできます。メンバーがコンテンツを投稿できるのであれば、制限を設けることでスパム対策やユーザーエクスペリエンスの向上に役立ちます。

同様に、不動産サイトのようなリスティングディレクトリをお持ちの場合、投稿制限を設けることで、個別企業がディレクトリにコンテンツを溢れさせることを防ぐことができます。

ということで、WordPressユーザーに投稿作成制限を追加する方法を見てみましょう。

カテゴリー:WordPressでユーザーによる投稿を制限する方法

ユーザーが投稿できる回数を制限する最も簡単な方法は、User Post Limitを使うことです。この無料のWordPressプラグインを使えば、投稿者、投稿者、購読者など、ユーザーの権限グループごとに投稿回数制限を追加することができます。

まず、あなたのサイトにUser Post Limitプラグインをインストールして有効化する必要があります。詳しくは、WordPressプラグインのインストール方法をご覧ください。

有効化したら、WordPressダッシュボードのSettings ” User Posts Limitにアクセスしてください。そこから、異なるユーザー権限グループに基づいて投稿制限を設定するオプションが表示されます。

How to add a post creation limit in WordPress

初期設定では、ユーザーが投稿の上限に達すると、プラグインは「投稿の上限を超えました」というメッセージを表示します。このメッセージは「テキスト」フィールドに入力することで変更できます。

変更できる高度なオプションもありますが、ほとんどのWordPressブログでは初期設定で十分です。

次に、「ロール」ドロップダウンを開き、制限を設定したいユーザー権限を選択します。表示されるオプションは、WordPressサイトで作成した権限グループによって異なる場合があります。

例えば、WooCommerceを使用している場合、’Shop Manager’権限が表示されます。

Creating a post creation rule for your WordPress blog or website

ユーザー権限グループを選択した後、「Type」ドロップダウンを使用して制限したいコンテンツの種類を選択します。

投稿、ページ、メディア、ナビゲーションメニューカスタムCSS、カスタム投稿タイプなど、さまざまなオプションが表示されます。

Setting rules for the different content types in WordPress

そうしたら、「サイクル」のドロップダウンを開き、ルールに使用するタイムスケール(日、年、月、週など)を選択する。

その後、「Limit」フィールドに数字を入力してください。例えば、以下の画像では、投稿者権限を持つユーザーを1日5投稿に制限しています。

Change post limit settings

ルールの設定に満足したら、「変更を保存」をクリックする。

ユーザー権限グループごとに新しい投稿制限を追加したい場合もあるでしょう。例えば、ゲストブロガーには投稿制限を設定し、エディターにはより高い投稿制限を設定することができます。

そのためには、『ルール』の横の数字を2以上に変更するだけでいい。

How to set a post limit in a multi-author WordPress blog

その後、『変更を保存』をクリックします。

プラグインはさらにルールを作成し、カスタマイズできるようにします。

Two different rules for post limits

終了したら、『変更を保存』をクリックするのをお忘れなく。

ユーザーが新しい投稿を作成し、設定された制限を超えた場合、通知が届くようになりました。

Post limit notification

ボーナスのヒントこれらの強力なツールで編集ワークフローを最適化する

複数著者のWordPressブログを管理するのは難しいものです。幸い、編集ワークフローを効率化し、コンテンツを軌道に乗せる方法はたくさんあります。

WPBeginnerが提供する、ワークフローを次のレベルに引き上げるのに役立つリソースをご紹介します:

これらの戦略を実行し、リンク先のガイドを調べることで、コンテンツ作成プロセスを整理して生産的に保つ、スムーズで効率的な編集ワークフローを構築することができる。

この投稿が、あなたのサイトにWordPressユーザー用の投稿作成制限を追加するのにお役に立てば幸いです。また、WordPressでオンラインブログでお金を稼ぐ方法についてのガイドと、専門家が選んだ使うべき最高のSEOプラグインとツールもご覧ください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

アバター

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

14件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

    • WPBeginner Support says

      There is no hard number for that, it would depend on what is sustainable, your audience, and what works for your site.

      管理者

  2. Nicole Austin says

    If post limit is 5 and we open ‘add new post’ page more than five times then we can cross limit. At this situation this code or plugin can not work.

  3. Craig says

    Hello,

    Is there a way to have this permantly set per user in a specific role?

    So for example user a in Contributor role can post upto 5 and user b can post upto 5 each etc.

    Thanks

  4. yasin says

    Hi, It no works for vendor role. How can make it withs code in function php.
    or are there different plugin. Because it is no update a lot of time.

    Thank you

  5. Rick says

    Hi there,
    thanks for the info, this plugin works great with posts published from the backend but i dont understand how it works with posts published from the frontend.
    hope you can help me

    thanks

    rick

  6. Krystian says

    Hi,

    How remove “external nofollow” attributes from comment links? I now that I can remove from wp-includes/comment-template.php but after update wordpress file will be replace. How do this with funcstions.php

    Kind regards

  7. Blair2004 says

    Nice post,
    it would be useful to displays how many post has been posted so far… this will be helpful for multi-authors blog owner to have a control over the lower required post per authors.

  8. Aanchal Gupta says

    Its a nice thing to provide the knowledge about wordpress to the begineers in a friendly way through this site the users and developers can have a great view of what is wordpress and how does it works for publishing the posts and as well as for creating a dynamic attractive sites where more visitors like to go through

    .keep it up WPBEGINNER !!!!!!!!!

  9. jitendra kumar dwivedi says

    Nice article and it is helpful article for set limit of create post for particular role.

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。