Directory

WordPressにDisqusコメントシステムを追加する方法(簡単な方法)
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にDisqusコメントシステムを追加する方法(簡単な方法)

WordPressサイトにDisqusコメントシステムを追加したいですか?

Disqusは、市場で最も人気のあるコメントプラットフォームの1つです。ユーザーフレンドリーなインターフェースとコメントホスティングサービスで知られ、PBSやBloombergのような人気サイトでよく使われています。

このガイドでは、ウェブサイトにDisqusを追加すべきかどうか、WordPressで有効化する方法について説明します。

How to Add Disqus Comment System in WordPress

WordPressでDisqusを使うべきか?

Disqusは、WordPressユーザーが利用できる最も人気のあるサードパーティのコメントシステムの1つです。ユーザーの使いやすさとカスタマイザーオプションの他に、コメントを保存・管理するためのサードパーティホスティングサービスも提供しています。

DisqusはWordPressのホスティングサービスとは区切りサーバーでコメントを処理するため、これを使用するとサイト全体のパフォーマンスが向上します。そのため、多くのWordPressユーザーが初期設定のWordPressコメントシステムの代替として使用しています。

とはいえ、私たちの意見では、Disqusは私たちが試した中で最高のコメントシステムではありません。Disqusは私たちのサイトのパフォーマンスには役立っていますが、そのモデレーション機能はあまり好きではありませんでしたし、私たちのコンテンツにアフィリエイトリンクを勝手に追加していました。

Disqusを無効化した後、コメントするエンゲージメント率が大幅に上昇しました。私たちの経験については、Disqusのレビューをご覧ください。

もちろん、Disqusを使うか他のプラットフォームを使うかはあなた次第です。しかし、もしあなたがDisqusの代替を探しているのであれば、いくつかお勧めのものがあります。

Disqusの代わりにどのWordPressコメントシステムを使うべきか?

様々なコメントプラグインを試した結果、Thrive CommentsがDisqusの代替プラグインとして最適であることがわかりました。

Thrive Commentsは使いやすいインターフェースで、ブログ初心者にも上級者にも最適なすべて一体型のコメントプラグインです。

The Thrive Comments WordPress plugin

コメント管理やモデレーション機能の他に、Thrive Commentsを使って投稿後のアクションでユーザーのエンゲージメントを高めることができます。ユーザーがコメントを残した後、関連投稿や無料ギフト付きのカスタマイザーメッセージにリダイレクトすることができます。

さらに、「いいね!」や「嫌い」、「アップヴォート」や「ダウンヴォート」を追加することで、コメント欄でのオーディエンスの交流を促進することができます。さらに、コメントした人にコメントが返信されたときに通知を送ることもできます。

詳しくはThrive Themesスイートのレビューをご覧ください。このレビューにはThriveコメントについてのセクションがあります。

Thrive Commentsがあなたのニーズに合わない場合は、コメントを改善するWordPressプラグインの全リストもご覧ください。

まだDisqusを使うことに興味がある方もご安心ください。Disqusコメントシステムプラグインを追加する方法を説明します。クイックリンクを使って各セクションに飛ぶことができます:

ステップ1: Disqusアカウントを作成する

WordPressにDisqusコメントをインストールする最初のステップは、Disqusアカウントを作成することです。これを行うには、Disqusのサイト(disqus.com)に行き、サインアップする必要があります。

そうすると、下のページが表示されるはずです。そのまま進んで、’I want to install Disqus on my site’をクリックしてください。

Clicking on the I want to install Disqus on my site button

次のページでは、すべてのDisqusコメントを管理する新しいDisqusサイトの詳細を追加する必要があります。これらには、サイトオーナー、サイト名、カテゴリーが含まれます。

ウェブサイト名フィールドに、ご希望のDisqusサイトサブドメインを挿入できます。その後、「サイトを作成」をクリックするだけです。

Creating a new Disqus site

これでDisqusサイトのダッシュボードに到着します。

この時点で、WordPressにコメントシステムをセットアップするために、Disqusプランのいずれかを選択する必要があります。まだどれを使えばいいかわからない場合は、無料のベーシックプランから始めることができます。

Choosing a Disqus plan

プラットフォームの選択を求められます。

WordPress」を選択して続行します。

Choosing WordPress in the Disqus website

WordPressのインストールページが表示されます。Installation Tokenフィールドに注目してください。これは後でセットアップする際に役立ちます。

次のステップに進む間、このタブを開いたままにしておくことができます。

The empty Disqus WordPress installation token field

ステップ2:Disqusコメントシステムプラグインをインストールする

WordPressダッシュボードを開き、Disqusコメントシステムプラグインをインストールしてください。ステップバイステップの手順については、WordPressプラグインのインストール方法をご覧ください。

その後、WordPressダッシュボードからDisqusメニューに移動します。Disqusアカウントを持っていますか」で「はい」をクリックする。

Saying Yes to the Do you have a Disqus account question in WordPress

Disqusに登録したサイトを利用しますか」という質問が表示されます。

はい」を選択する。

Saying I have a registered site on Disqus in WordPress

この時点で、WordPressのインストール手順と、コピーする同期トークンが表示されます。

ここで「コピー」ボタンをクリックしてください。

Copying the Disqus installation token in WordPress

Disqusのサイトに戻りましょう。WordPressダッシュボードからコピーしたトークンを適切なフィールドに貼り付けます。

そして、’Install [Disqus site name] on your site’ボタンを押して、一番下の’Configure’をクリックする。

Pasting the WordPress installation token in Disqus

それで終わりだ!

WordPress ダッシュボードの Disqus メニューを更新すると、このようなインターフェースが表示されるはずです:

The Disqus WordPress plugin page

それでは、あなたのコメント欄でDisqusが正常に有効化されているか確認してみましょう。

フロントエンドでWordPressのブログ投稿を開き、コメントまでスクロールするだけです。インストールが正しく行われていれば、このように表示されるはずです:

Example of the Disqus comment section on a WordPress website

ステップ3:古いWordPressコメントをDisqusにインポートしてエクスポートする

Disqusコメントシステムをインストールすると、サイト上のネイティブWordPressコメントを引き継ぎます。つまり、WordPressサイトに保存されている既存のコメントはユーザーから見えなくなります。

これを解決するには、既存のコメントをDisqusコメントシステムにインポートする必要があります。WordPressの管理エリアで、Disqusプラグインの設定ページに行き、下にスクロールして「同期」タブに移動する。

Navigating to the Syncing tab in the Disqus WordPress plugin

次に、下にスクロールして「コメントをインポートする」を選択する。

どのコメントが正常にインポートされたかは、下部の表で確認できます。

Importing comments in Disqus

注意点として、カスタム投稿タイプを使用している場合、Disqusに切り替えた後に過去のコメントが表示されないことに気づくかもしれません。これを解決するには、カスタム投稿タイプのDisqusを無効化する必要があります。

カスタム投稿タイプでDisqusを無効化する方法については、こちらの投稿をご覧ください。

Disqusコメントを管理・設定する方法

Disqusを使ってコメントをモデレートしたい場合は、Disqusプラグインのページにある「Moderate」ボタンをクリックしてください。

Clicking the Moderate button in the WordPress Disqus plugin page

Disqusサイトのモデレーションページが表示されます。

WordPressのコメントページに慣れているのであれば、Disqusのナビゲーションは問題ないだろう。ここでは、コメントを承認、削除、スパムとしてマークすることができる。

The Disqus comment moderation page

WordPressでコメントする際のヒントやコツについては、以下の投稿をご覧ください:

Disqusコメント表示の問題をトラブルシューティングする方法

WordPressテーマによっては、Disqusコメントするエリアが他の投稿エリアよりも広く表示されることがあります。これを修正するには、テーマまたは子テーマのスタイルシートにカスタム CSS を追加する必要があります。

テーマファイルエディターを使ってカスタムCSSを追加することはできますが、あまりお勧めしません。変更をトラッキングするのが難しくなり、どのコードがテーマのもので、どれがカスタムなのかが不明確になります。

代わりに、最も簡単なコードスニペットプラグインであるWPCodeを使用することをお勧めします。WordPressサイトにカスタムコードを安全に追加・管理することができます。コードが機能しない場合は、プラグイン内で簡単にスニペットを削除することができます。

追加するコードは以下の通り:

#disqus_thread {
	margin: 0 auto;
	max-width: 650px;
}

このCSSはコメントするエリアの最大幅を650pxに設定し、画面の中央に配置します。あなたのテーマでは幅が異なるかもしれませんので、必要に応じて調整してください。

ステップバイステップのチュートリアルについては、WordPressサイトにカスタマイザーを簡単に追加する方法をご覧ください。

WPCodeではこのように表示されます:

Adding custom CSS to adjust the Disqus comment section width on WordPress

さらに詳しくWordPressでコメントを管理する方法

Disqusを使用することは、WordPressのコメントを管理する一つの方法に過ぎません。ここでは、コメントするエンゲージメントを向上させるためのガイドを紹介します:

この投稿がWordPressにDisqusコメントシステムを追加する方法を学ぶのにお役に立てば幸いです。また、WordPressでコメントする方法やWordPressのエキスパートが選ぶサイトを成長させる最高のプラグインもご覧ください。

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

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

  1. Syed Balkhi

    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. Aaron Jane

    Hello,
    I’m getting lot of spams on my site with the default comment system, though I have akismet installed. Thought about using Disqus, but I see that Disqus is no longer used by wpbeginner. Can you share why you moved away from disqus ?

    Thanks Aaron.

  3. Theo

    Thanks a whole lot for this post. I’ve decided to start using disqus for some of the same reasons you mentioned here. This was helpful!

  4. Mohammed Haseeb

    Okay. I know Disqus is good but I have a question. Is there a way to remove hyperlinks from profile names of people commenting on my blog posts. Here is the link to my blog

  5. AlleXyS

    Hello … I tried some days to activate disqus on my website. CAN’T , due of a issue in database…. I install disqus (plugin) => comments => disqus => tell me to upgrade my DATABASE !! I click UPGRADE, but nothing happening, my website tell me that this page can’t be found .. So, I think the script can’t run

    here I can’t arrive : http://cdn2.wpbeginner.com/wp-content/uploads/2014/04/disqus-signin.png

  6. Bora M. Deniz

    Hi, very simple expression and useful article. I’m between jetpack plugin and disqus system .Which one is the more useful for visitors and further SEO of website ?

  7. Santhosh Veer

    when i try to import the worpdress comments i show error please help me to fix this

  8. Andreia Franco

    I have disqus on my blog for a couple of months, since then I just have received lots of spams and disqus doesn’t work at all. I see disqus on other wordpress blogs and it seem to work very well. I do not know what to do with mine. I always go back to moderate and try to activate it but it doesn’t work, still. Do you have any suggestions?

  9. couture31

    SOOO glad to have you all as a resource! I have transitioned to a self-hosted WP site and I visit your site daily for tips! Thanks for your help and patience…the step by step directions are awesome!! So grateful!

  10. WPBeginner Staff

    Edit the post and make sure comments are enabled for that post. Also go to Settings > Discussion and make sure that the box next to ‘Automatically close comments on articles older __ days’ is unchecked.

  11. UgochukwuEmmanuelAgbams

    Thanks for this tutorial. I have earlier registered on disqus, installed and activated the plugin, but ny problem now is, at the footer of my blog post after disqus, I have a report that says, ‘comments are closed’, and another issue is, disqus does not sync with my loged in users. What should I do about this?

  12. Neal Umphred

    My experience trying to get Disqus onto my site does not resemble anything like what you have written above. It’s an hour later and I can’t get anything happening . . .

    • Teresa Robeson

      I sympathize because it is the same for me. There is no “plugins” link on my admin page, nor is there any option for adding Disqus (or anything else) under the Comments link. Maybe it’s because I’ve only got a free WP site, but I didn’t have this much trouble installing Disqus on my Blogger site. There are days I really hate WordPress.

      I hope you got it figured out since you posted 2 weeks ago. :)

  13. Dennis

    I personally have used jetpack comments for comment on site to handle spam. Most persons I have noticed are usually uncommon with the disqus concepts and dislike the sign up process, very few notice the ‘guest’ option. But I’m looking into using Vanilla comments by integrating vanilla forums into my wordpress website and keep the comment actions completely under my control simples like a good option to me so far from testing.

  14. Aaron Aarons

    I don’t have my own blog but I regularly post comments to blogs that use Disqus. Quite frankly, there is so much I dislike about Disqus that I would never use it, without major future improvements, in a blog I had any control over.

    1) Comments either don’t show up at all in Google searches on phrases within them, or they show up as part of the page of the particular commenter’s Disqus comments, rather than as part of the page they comment on.

    2) If I save a web page that has Disqus comments, the comments are not saved with the page, and the ability to retrieve the comments depends on the future maintenance of such comment threads by Disqus.

    3) I can save a page with comments as a PDF, but then the information about the precise date and time of a comment can no longer be seen even by a mouse-over (nor by looking at the non-existent source), so all one sees is how many days, weeks, months or years before the time the page was saved the comment was posted. This makes it impossible to follow the chronology of a discussion.

    4) In one case, a blogger lost his domain name and had to get a new, different one. Since then, the old pages can be accessed with the new domain name, but the old comments do not show. There is a way to get to the original comment thread, but it’s not accessible to the casual user.

    There are other, less serious, annoyances, that have slipped my mind for the moment.

    If I am wrong about any of the items I had listed as problems above, I’d like to know.

    • Earl Henson

      I wonder if Google traffic is lower than it would be if comments don’t show in Google? And of course comments would be the same with Disqus but wouldn’t they become higher over time as more people discover this blog? But if NEW users can’t discover this blog because the comments are not Google searchable…..

  15. Codex73

    Recently installed “Disqus Comment System” WordPress plugin, it displays correctly and accepts comments. When I reply through the Dashboard, these won’t show on thread. Should replies be handled directly in the Disqus thread instead?

  16. Bricky

    Is there a way to display a number in front of each comment using disqus?

    • Dave

      Even with Disqus, the comments are fully indexed along with the page. Do a View Source of this page to see for yourself.

      • Rob Orr

        That’s not necessarily true. It’s possible that Google will index your comments, but I’ve seen many more that are not indexed as opposed to those that are.

  17. Animish

    Thanks for this useful article. But there is one question stuck in my mind. Does Disqus affect the load time of posts? Because it uses iframe to load comments. Didi you notice any difference?

  18. Jeanz

    Hello Syed. What you think about this plugin? – WordPress Comments Evolved – that allow to display G+ comments, FB comments, WordPress and Disqus. I can’t find any useful review in google search, thanks

  19. Mehmet Fatih Yorulmaz

    I have two problems about Disqus (which I already use):

    First, it does not allow me to convert my commenters to subscribers by adding a checkbox to the bottom of the comment box. Normally, I was using Mailchimp Comment Optin plugin for this. Also, it does not work with “Comment Redirect by Yoast” plugin…

    Second problem is, Subscribe button is difficult to notice for inexperienced commenters. In wordpress comment box, the simple checkbox for subscribing to the replies was very easy to notice. Also, guest commenters are by default subscribed to all comments. And they are not given option to subscribe to “only replies”. Last, but not least, the word “subscribe” is very ambigious. What is it? Subscribe to my site, subscribe to my newsletter or subscribe to the comments?…

    Third issue is, language support. My site is in Turkish and I can select Disqus interface to be in Turkish. But, when my not English speaking visitor hits “Subscribe”, they are sent an English confirmation email. Or when they wanna edit their subscription preferences, again they are being forwarded to an all Engish page.

    I appreciate your thoughts on these issues…
    Thanks

  20. WPBeginner Staff

    Manuel, we haven’t noticed any decline in the number of comments we receive on WPBeginner.

    • Manuel Echeverry

      its true but there a some WP pages that claim that have to disable disqus because the visitors dint like it. I personaly use Disqus in my site and have no bat experiences until now, but its something that we have to pay attention

  21. Manuel Echeverry

    I love disqus but the are some people that claim is hard to use por the blog visitors making you lose commenters, wath do you know about that

  22. WPBeginner Staff

    No actually the number of comments is nearly the same as before. There is less spam though.

  23. Gagan Masoun

    Now, you are also getting too many comments after adding Disqus comment system…

  24. Golam Rabbani

    I am going to add disqus in my blog. I think it can help me to avoid spaming comment. Thanks for your nice tips.

  25. WPBeginner Staff

    Andor, we checked the plugin with floating social bar. Both plugins are working as expected. Are you its Disqus causing the issue?

    • Andor Nagy

      Pretty sure. For me it isn’t floating neither here nor on my website. I maybe caused by browser cache.

  26. WPBeginner Staff

    We will try to look into this in some future article. Meanwhile you may contact disqus support they may already have a solution for this.

  27. Nicolas Messer

    Could you maybe just go into some more details regarding custom post types…I was searching for a solution how to get previously made comments on a CPT into disucss but didn’t have any luck and read in the other post that you ran into that same issue as well. Thanks a lot!

  28. Andor Nagy

    Thanks for the tutorial! Unfortunately if you install the plugin, the floating social bar won’t float anymore.

    • vinod

      Thank you for the article.

      I have more than 75000 (75k) comments and I am unable to import them to disqus from my wordpress site. It would be great if you can explain how large number of comments can be imported and integrated seamlessly between wordpress and disqus.

      Thanks a lot.

  29. WPBeginner Staff

    Disqus improves page speed which is good for SEO. When a user leaves a comment on your blog you can get their email from the Disqus admin page.

  30. bouncedancer

    Thank you for this very informative article. You guys epitomize what’s great about the internet.

  31. Abhisek Padhi

    Disqus was important for Wp-Beginner To Scale up. I wasn unable to properly implement disqus SSO (Single sign on) feature. First I requested disqus to enable the SSO for my site, then i created an application, copied the api keys to my disqus plugin. Added logo’s. Now when a user tries to use SSO in disqus comments a login windows opens and if he/she is a new user, he/she register’s then log in. Here the problem arises, after logging in, the window must close automatically and the user should be redirected to the page from which he left, unfortunately the login windows don’t dissapear, rather it log’s into WordPress dashboard, which is very undesirable behavior. They (disqus) recommend using window.close() javascript, but i couldn’t figure out how to use and where. See, if you could help. This solution will help a lot of wordpress users using disqus.

  32. kathir

    Hi sir, I would like to know disqus affects seo and when a user registers can I get their info like email id and name etc ?

  33. Declan Wilson

    Do we still need to use Akismet to filter spam or can we cancel it if we move over to Disqus?

  34. Jesse Brede

    Yeah, I use Disqus on any site that has an active community. The lack of visual control is a bit frustrating, but like iOS, the uniform layout is an advantage as more sites adopt it.

  35. OtakuPT

    One question, “Synk Disqus with wordpress” should i activate this option
    or not?

    I make this question because of SEO, if i activate this option the comments appear in the source code of the page, if i don’t activate the comments do not appear in the source code.

    How does this interfere with search engine optimization? And what is the better option?

    Best regards

  36. Luca Rosaldi

    I love Disqus. One huge upside for the end users is that they are automatically updated whenever someone replies to a comment, in an unobtrusive way. It’s like a digital hub for comments.

  37. Jay Castillo

    I also started to use Disqus late last year because of comment spam (I get about 50 to 100 each day even with GASP and commentluv), and switching to Disqus really helped. I then noticed that even Pat Flynn started using it on SPI (also because of comment spam), and now WPBeginner. Makes me feel I made the right choice.

    One more advantage with Disqus is registered users can go back and edit their comments just in case of wrong spelling/grammar, etc.

    By the way, thanks for the tip on how to prevent Disqus from overriding the comment count. I didn’t know there was a way to do that until now, and I can’t wait to try it out. Thanks for sharing!

  38. RW

    thanks for this post. I haven’t used it before but I’m going to give it a shot. I appreciate you posting these kind of topics.

返信を残す

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