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

Så här add to Disqus Comment System i WordPress (enkel metod)

Vill du add to Disqus comment system till din WordPress website?

Disqus är en av de mest populära plattformarna för comments på marknaden. Det är känt för sitt användarvänliga gränssnitt och sin tjänst för webbhotell för comments, vilket gör det till ett förstahandsval för populära webbplatser som PBS och Bloomberg.

I den här guiden kommer vi att prata om du ska add Disqus till din website och hur du aktiverar det i WordPress.

How to Add Disqus Comment System in WordPress

Ska du använda Disqus med WordPress?

Disqus är ett av de mest populära systemen för kommentarer från tredje part som är available för användare av WordPress. Förutom användarvänligheten och alternativen för customize erbjuder det också en plattform för webbhotell för att lagra och hantera kommentarer.

Eftersom Disqus hanterar kommentarer på en server som är separerad från ditt WordPress webbhotell kan det hjälpa din website att prestera bättre om du använder det. Det är därför många användare av WordPress använder det som ett alternativ till WordPress standardsystem för comments.

Med det sagt är Disqus enligt vår mening ej det bästa systemet för comments som vi har provat. Även om det hjälpte till med vår website prestanda, var vi inte ett fan av dess moderation capabilities, och det add to affiliate links till vårt content utan vår behörighet.

Efter att ha inaktiverat Disqus såg vi att vårt engagemang för comments ökade avsevärt. Du kan läsa mer om vår erfarenhet i vår Disqus review.

Självklart är det upp till dig om du väljer att använda Disqus eller andra plattformar. Men om du letar efter Disqus-alternativ, så har vi några rekommendationer.

Vilket WordPress Comment System ska du använda istället för Disqus?

Efter att ha testat olika tillägg för kommentarer har vi kommit fram till att Thrive Comments är det bästa Disqus-alternativet.

Thrive Comments är ett all-in-one plugin för kommentarer med ett användarvänligt gränssnitt som är perfekt för både nybörjare och experter på bloggning.

The Thrive Comments WordPress plugin

Förutom funktioner för hantering och moderation av kommentarer kan du använda Thrive Comments för att öka användarnas engagement med actions efter kommentarer. När användaren lämnar en comment kan du redirecta dem till relaterade inlägg eller ett customize tackmeddelande med en gratis gåva.

Dessutom kan du add likes och dislikes samt upvotes och downvotes för att uppmuntra publikinteraktion i din comment section. Dessutom kan du skicka aviseringar till kommentatorer när deras kommentar får svar.

För mer detaljer kan du se vår review av Thrive Themes-sviten, som innehåller en section specifikt om Thrive Comments.

Om Thrive Comments inte passar dina behov, kan du också kontrollera vår fullständiga lista över de bästa WordPress-tilläggen för att förbättra kommentarer.

Om du fortfarande är intresserad av att använda Disqus, oroa dig inte. Vi kommer att gå igenom hur du addar till Disqus plugin för comment system. Du kan använda snabblänkarna för att hoppa till olika sections:

Step-by-Step 1: Skapa ett Disqus-konto

Det första steget för att installera Disqus comments i WordPress är att skapa ett Disqus account. För att göra detta måste du gå till Disqus website (disqus.com) och registrera dig.

När du har gjort det bör du se sidan under. Gå bara vidare och klicka på ”Jag vill installera Disqus på min site.

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

På nästa page måste du add to details för din new Disqus site, där du kommer att hantera all dina Disqus comments. Dessa inkluderar Site Owner, Website Name och Category.

I fältet Website Name kan du infoga önskad subdomain för Disqus-webbplatsen. Därefter klickar du helt enkelt på ”Create Site”.

Creating a new Disqus site

You will now arrive at the Disqus site dashboard.

Klart är att du måste välja en av Disqus planer för att kunna konfigurera systemet för comments i WordPress. Om du inte är säker på vilken du ska använda ännu, kan du komma igång med den gratis Basic-planen.

Choosing a Disqus plan

Du kommer nu att bli ombedd att välja en plattform.

Välj bara ”WordPress” för att fortsätta.

Choosing WordPress in the Disqus website

Du kommer nu att se WordPress installation page. Obs/observera fältet Installation Token, som kommer att vara användbart för installationen senare.

Du kan lämna den här tabben öppen medan du fortsätter med nästa steg.

The empty Disqus WordPress installation token field

Step-by-Step 2: Installera Disqus tillägg för kommentarsystem

Öppna nu din WordPress dashboard för att installera Disqus Comment System plugin. För Step-by-Step instruktioner, kontrollera vår guide om hur du installerar ett WordPress plugin.

Därefter går du till Disqus-menyn från din WordPress dashboard. Under ”Do you have a Disqus account?” klickar du på ”Yes”.

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

Du kommer nu att se frågan ”Do you have a site registered on Disqus you want to use?” (Har du en site registrerad på Disqus som du vill använda?).

Välj ”Yes”.

Saying I have a registered site on Disqus in WordPress

Klart att du kommer att se några instruktioner för att installera WordPress och en synkroniseringstoken som du ska kopiera.

Gå vidare och klicka på knappen ”Kopiera” här.

Copying the Disqus installation token in WordPress

Låt oss nu återvända till Disqus website. Klistra in token som du just kopierade från WordPress dashboard i lämpligt fält.

Tryck sedan på knappen ”Install [Disqus webbplatsnamn] på din site” och klicka på ”Konfigurera” längst ner.

Pasting the WordPress installation token in Disqus

Och det är allt!

Om du uppdaterar Disqus-menyn i din WordPress dashboard, bör du nu se ett gränssnitt som liknar detta:

The Disqus WordPress plugin page

Låt oss nu se om Disqus har aktiverats utan problem i din comment section.

Öppna helt enkelt ett blogginlägg i WordPress on the front end och rulla ner till kommentarerna. Så här ska det se ut om installationen har gått korrekt till:

Example of the Disqus comment section on a WordPress website

Step-by-Step 3: Importera och exportera äldre WordPress comments till Disqus

När du har installerat kommentarsystemet Disqus kommer det att ta över de nativa WordPress-kommentarerna på din site. Med andra ord kommer de befintliga kommentarer som finns lagrade på din WordPress website ej att vara synliga för användarna.

För att fixa detta måste du importera alla befintliga kommentarer till Disqus-kommentarsystemet. I WordPress admin area, gå till Disqus plugin’s inställningar page, rulla ner och navigera till ”Syncing” tabs.

Navigating to the Syncing tab in the Disqus WordPress plugin

Sedan rullar du ner och väljer ”Importera Comments”.

Du kan se vilka av dina comments som har importerats utan problem i tabellen längst ner.

Importing comments in Disqus

En sak att notera är att om du har custom post types, kan du notera att dina äldre inlägg inte visas efter att du bytt till Disqus. För att lösa detta måste du deactivate Disqus på custom post types.

För praktisk vägledning, kontrollera vår artikel om hur du inaktiverar Disqus på custom post types.

Så här granskar och konfigurerar du Disqus Comments

Om du vill granska kommentarer med hjälp av Disqus kan du clicka på knappen ”Moderate” på Disqus plugin page.

Clicking the Moderate button in the WordPress Disqus plugin page

Då kommer du till sidan för moderation på Disqus website.

Om du är bekant med WordPress pages för kommentarer är det inga problem att navigera till Disqus pages. Här kan du approve, borttaget eller markera kommentarer som skräppost.

The Disqus comment moderation page

För tips och tricks om WordPress moderation av kommentarer, kan du kontrollera följande artiklar:

Hur man troubleshoot Disqus Comment Display Issue

På vissa teman i WordPress kan området för Disqus comments visas bredare än resten av området för posten. För att fixa detta måste du add to lite custom CSS till ditt temas eller barntemas stylesheet.

Även om du kan add to custom CSS genom theme-filens editor, rekommenderar vi inte det. Tracking av ändringar blir knepigt, vilket gör det oklart vilken kod som kommer från temat och vilken som är customize.

Istället föreslår vi att du använder WPCode, som är det enklaste code snippets plugin. Det låter dig på ett säkert sätt lägga till och hantera custom code på din WordPress site. Om koden inte fungerar kan du enkelt ta bort snippet i pluginet.

Koden du behöver add to finns under:

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

Denna CSS ställer in maxbredden för area comment till 650px och centrerar den på vyn. Ditt theme kan ha en annan bredd, så du måste justera den för att uppfylla dina behov.

För en Step-by-Step tutorial kan du läsa vår guide om hur du enkelt kan add to custom CSS till din WordPress site.

Så här ska det se ut på WPCode:

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

Learn More sätt att hantera dina comments i WordPress

Att använda Disqus är bara ett sätt att hantera dina WordPress comments. Här är fler guider som du kan kontrollera för att förbättra ditt engagemang för comments:

Vi hoppas att den här artikeln har hjälpt dig att lära dig hur du addar Disqus comment system i WordPress. Du kanske också vill kontrollera vår guide om hur du utväljer eller begraver kommentarer i WordPress och våra expertval för de bästa WordPress-tilläggen för att utveckla din website.

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.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

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.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

94 kommentarerLämna ett svar

  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

    • WPBeginner Support

      Please contact Disqus support they would be better able to help you with that.

      Administratör

  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.

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.