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の投稿にbbPressフォーラムをコメントとして追加する方法

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

WPBeginnerのコメントが増えるにつれ、サイト上のディスカッションを改善するためにLivefyreのようなさまざまなソリューションを試しました。WordPressユーザーの多くは、サイト上のコメントをよりソーシャルなものにしたいと考えています。そのため、FacebookコメントやDisqusコメント、そして今ではGoogle+コメントも試されています。最近、私たちはWordPressのコメントする代わりにフォーラムを追加できるプラグインを見つけました。そのアイデアが気に入り、試してみることにした。この投稿では、WordPressの投稿にbbPressフォーラムをコメントとして追加する方法を紹介します。

bbPress forum topics below WordPress posts as comments

WordPressのコメントにbbPressを使う理由

フォーラムはオンラインコミュニティを構築する素晴らしい方法です。多くのWordPressサイトにとって、オンラインフォーラムのコミュニティ構築機能は、WordPressのコメントシステムに置き換えることはできません。同様に、フォーラムソフトウェアはWordPressの代わりにはなりません。しかし、両者を組み合わせることで、活発なディスカッション、コミュニティ構築、ユーザーエンゲージメントの向上、サイトのユーザーロイヤリティの向上といったキラーコンビネーションが得られる可能性があります。

ユーザーは、あなたの投稿に返信を残したり、他のディスカッションエリアでトピックを作成することによって、フォーラムに参加することができます。あなたの投稿に端を発した会話は、フォーラム上で複数のトピックに火をつけることができます。最も重要なことは、人々がオンラインフォーラムに参加すると、ソーシャルサークルの中でそれを共有する可能性が高くなるということです。

私たちは、すべてのWordPressサイトがコミュニティを構築するオーディエンスや欲求を持っているわけではないことを理解しています。ウェブ上には、多くのトラフィックがあるにもかかわらず、まったくコメントしないコンテンツがたくさんあります。しかし、あなたが情熱的な読者の間で多くのコメント、議論、討論、白熱した引数を生成するサイトを運営しているなら、あなたの投稿に組み込まれたオンラインフォーラムのインタラクティブ機能から恩恵を受けることができます。

WordPress投稿にbbPressトピックを追加する方法

まず最初にWordPressにbbPressのフォーラムを追加します。WordPressにbbPressでフォーラムを設置する方法をステップバイステップで紹介しています。bbPressフォーラムのインストーラとセットアップが完了したら、次のステップに進みます。本当に〜してもよいですか?このフォーラムには、例えば、任意の名前を付けることができます:例えば:サイトディスカッション、投稿ディスカッション、またはあなたが望むもの。

次の作業は、bbPress Topics forPostsプラグインをインストールして有効化することです。プラグインを有効化した後、Settings ” Discussionに行き、bbPress Topics for Posts Defaultsセクションまでスクロールダウンします。

bbPress discussion settings

bbPress Topics for Postsの設定の最初のオプションは、WordPress投稿のトピックが作成されるフォーラムを選択することです。先に作成したフォーラムを選択することもできますし、投稿を書く際に手動で投稿ごとに異なるフォーラムを選択することもできます。初期設定のフォーラムを選択した場合は、「既存の投稿に設定を適用」ボタンをクリックすることで、既存の投稿すべてにこれらの設定を適用することができます。これにより、選択したフォーラムに既存の投稿すべてのトピックが作成されます。

フォーラムのトピックに投稿タグをコピーするかどうかを選択し、各投稿の下に表示する返信数を選択することができます。必要であれば、投稿の下にトピック全体を表示したり、フォーラムトピックへのリンクを表示することもできます。各投稿に対して10件程度の返信数を表示することをお勧めします。

投稿にトピックを作成する初期設定のフォーラムを選択した場合、プラグインは公開する投稿に自動的にトピックを作成します。また、投稿の下にトピック返信フォームが表示され、そのトピックへの最新の返信が表示されます。

bbPress replies and topic reply form

ディスカッション設定ページで初期設定のフォーラムを選択しなかった場合、投稿編集エリアから手動で各投稿にトピックを作成することができます。投稿編集画面で右上にある表示オプションのフライダウンメニューをクリックし、ディスカッションボックスをチェックします。投稿編集エリアの下までスクロールすると、個々の投稿に対してコメントやトラックバックを有効化または無効化できるディスカッションボックスが表示されます。この投稿に対してフォーラムトピックを作成する新しいオプションがあります。

bbPress forum settings in discussion box on post edit screen

bbPressのフォーラムをコメントの代わりとして使用している場合、サイト上のコメントをオフにしたいかもしれません。そのためには、設定 ” ディスカッションに行き、新しい記事にコメントを投稿することを許可するというボックスのチェックを外してください。これで、あなたが追加した新しい記事にコメントフォームが表示されなくなります。しかし、過去の記事にはコメントを投稿することができます。すべての記事へのコメントをオフにするには、phpMyAdminを使って次のSQLクエリーを実行します。

注意:データベースを直接変更する前に、必ずバックアップを取ってください。

[SKX1]
UPDATE ‘wp_posts’ SET comment_status = ‘closed’ ;
[SKX2]

このクエリーはデータベースの投稿テーブルを更新し、すべての投稿日: にコメントするよう設定します。初期設定のwp_接頭辞を使用していない場合、投稿テーブルの接頭辞が異なる可能性があるので、投稿テーブル名を変更する必要があることに注意してください。

WordPressのコメントの代わりにbbPressのフォーラムを使うというアイデアについてどう思いますか?ご質問やご意見は、Twitterでご連絡いただくか、以下にコメントを残してください。

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

Avatar

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

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

  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!

  2. A. W. Raihan says

    I think the idea of using bbPress forums to replace WordPress comments is more likely for a forum website where they can increase the number of the post’s reaches and engagements. For the forum it’s the best free plugin but let me know how about the simplepress? I didn’t explore that yet.

  3. Ahmed El Kordy says

    this is an excellent article, and wpbeginner is the way to go keep it up, folks.

    I followed your instruction and it’s working fine with WordPress default post type but not with the custom post type any suggestion would be greatly appreciated.

    Thank you in advance and looking forward to hearing from you cheers :)

    • WPBeginner Support says

      The option to add it to custom post types should be under Settings>Discussion if you do not see your custom post type there, we would recommend reaching out to the plugin’s support and they should be able to assist!

      管理者

      • Ahmed El Kordy says

        you are a lifesaver, thank you.

        and just in case anyone had the same issue when you create a custom post type you will get an option in Settings>Discussion with the name of the custom post type you created and all you have to do is to enable it as easily as that, all credit goes to wp-beginners support

  4. richard everson says

    Is there a way to have this option: “Use a bbPress forum topic for comments on this post” check marked by default when adding new posts?

  5. Hrvoje says

    Great tutorial, at first.

    But I have one question. It works for default post type, but not for custom post types… Any idea how solve that?

  6. Dale Reardon says

    Hi,

    I am thinking of installing this plugin on my new site but it hasn’t been updated for ages. Does anyone know if it still works or there is a newer alternative plugin?

    Dale.

    • Memonon says

      I installed it today and messed a bit around with it creating posts and such as intended. Seems to work without any problems in the current version of WP (4.7)

      Memonon

  7. Siparker says

    as bbpress 2.6 still isnt out do you think the topics for posts plugin is still worth using in the meantime? its got the not updated for over 2 years thing at the top in the wordpress plugin repo?

  8. Atul Narang says

    Can readers login on the bbpress forum/commenting system with social media such as Facebook, twitter, etc. ?

  9. Paul says

    Looks like a good way to keep a forum alive. What worries me is the risk of duplicate content, any thoughts on this?

  10. Cédric says

    Hi and thanks for your great article !

    I would like to use that but I’d like to have 2 different topics for each posts which is created, not only one. Is it possible ? How ?

    Thanks you very much :) !

  11. Alex says

    So say you have a new reader and they want to comment how does the email capture work and forum login work ?

    Im hoping its EASY AS FOR TH READER E.G.

    Name

    Email

    Password

    How does it work? would like to save there email with mail chimp as well ?

    Alex

  12. David Foster says

    I think this is a cool idea, however you are not using this method on this post…did you find that it did not work well? Just curious.

返信を残す

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