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の投稿タイプのリビジョンをシンプルなユーザーインターフェースでコントロールする方法を紹介します。

動画チュートリアル

Subscribe to WPBeginner

動画が気に入らなかったり、もっと説明が必要な場合は、このまま読み進めてください。

まず最初に、WP Revisions Controlプラグインをインストールして有効化します。有効化したら、Settings ” Writingでリビジョンをコントロールします。

Revision Control Settings

ライティング設定のページを少し下にスクロールすると、新しいWPリビジョンコントロールのセクションがあります。投稿タイプごとに保存したいリビジョン数を定義することができます。

カスタム投稿タイプを使用していない場合、ここには投稿とページしか表示されません。そうでない場合、プラグインはすべての投稿タイプを表示します。

投稿タイプのすべてのリビジョンを保存したい場合は、このフィールドを空白のままにしておくだけで、WordPressはその投稿タイプのすべてのリビジョンを保存します。

設定が完了したら、変更を保存ボタンをクリックするだけで、設定が保存されます。

以上、この投稿がWordPressで投稿タイプのリビジョンをコントロールするのにお役に立てば幸いです。WordPressで古い投稿のリビジョンを削除する方法もご覧ください。

この投稿を気に入っていただけたなら、WordPressの動画チュートリアルをYouTubeチャンネルに登録してください。Twitterや Google+でもご覧いただけます。

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 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

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

  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

      For custom post types added by a theme, we would recommend reaching out to the support for that specific theme and they should be able to help.

      管理者

  2. Robert says

    Hi!

    I installed and activated the plugin – but it doesn´t seem to work. All the revisions continued listed, despite the fact that I´d tried to limit them to 10.

    Googling the problem, it seems to be a fairly general complaint.

    Saludos.

  3. WPBeginner Staff says

    Its debatable and depends on how much content you have on your site. If you have a lot of content then revisions can increase your backup file sizes. WordPress does not query revisions when its querying posts. Still some people argue that revisions can affect query times.

  4. Nadia says

    When you say “many users believe that too many revisions can increase their backup file sizes, increase post query times, and affect overall performance of their site”, does that mean it isn’t actually true?

返信を残す

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