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 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. Danielle says

    How would I go about making sure that my Disqus comments from my old Blogger site appear on my new WordPress site? I just used your setup service to transfer my content from Blogger to WordPress last month.

    • WPBeginner Support says

      If your Disqus coments are not available then you would go into Disqus and export the old comments to import them to the new site.

      Administratör

  3. David says

    This information has helped me integrate disqus comment system to my personal website. Thank you so much.

  4. Irene Hynes says

    Hi There,

    Hip Hip Hooray! I was always told that slightly slow in the head, a slow learner. Not anymore! It’s like you have my back. I can’t tell you how much I’ve learnt here and how easily! Thank you for blessing me with this effortlessly ingestible digestible content.

    I was wondering if it was possible assign to a variable type of Array of Strings a value from the REFramework Config file.
    Thank you very much and will look for more postings from you.

    Kind Regards,
    Irene Hynes

  5. Mike says

    Hey Guys!

    I am going to have my site
    I intend to optimized my site and incresed the speed of loading page. which plugin do you suggest?
    Thanks in advance
    Mike

  6. Jagadish Prasad B says

    Hello, I am Jagadish. I added Disqus comment system on my website, but it’s not working. What happen is by mistake I deleted the site from Disqus, before that it’s worked properly. After deletion, I re-added it into Disqus but it’s not working, I tried so many times. Please help me.

  7. Agus Tamanuri says

    Thanks
    Because this article is help me .. and one more :)

    I will make this blog name into the shirt. Is it allowed?

  8. Rachael Portier says

    Every time I log into Disqus through WordPress it keeps telling me ”Unable to connect to the Disqus API servers”. I’m sure my email and password are correct though. Please help!

  9. Scott Johnson says

    Good article, but I am wondering why this current post is not setup with the Disqus plugin? Change of heart?

  10. Dwayne says

    Thanks for this post. Just implemented it though i’m yet get the confirmation email from them after creating the account more than 12 hrs ago. Oddly i got an email after setting it up on my wordpress site but yet to get the confirmation email.

  11. GroomingMail says

    Hey, quick question. I have just installed Disqus and previously had a spam filter (WP-SpamShield) can i now remove the filter as Disqus has its own spam filter or should i keep the WP-SpamShield plugin?

    Thanks,

  12. Theo Ramlall says

    As always, another well written article from wpbeginner.com
    I started of seeking help with my problem, which was the size of the over lapping comment bar but grateful your CS hack above did fix it. However I would be overjoyed in having a comment system exactly like this….if you could provide some know-how..?

    Best Regards
    Theo

  13. Aishwarya says

    Hey,

    By default, Disqus appears on your posts, not pages. In case you are looking to add Disqus to a particular page on your wordpress website, you can try this simple hack I used.

    Just plugin the universal code at the end of your page in WordPress’s text editor. It works well for me,

  14. Aaron Jane says

    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.

  15. Theo says

    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!

  16. Mohammed Haseeb says

    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

  17. Bora M. Deniz says

    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 ?

  18. Andreia Franco says

    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?

  19. couture31 says

    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!

  20. WPBeginner Staff says

    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.

  21. UgochukwuEmmanuelAgbams says

    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?

  22. Neal Umphred says

    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 says

      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. :)

  23. Dennis says

    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.

  24. Aaron Aarons says

    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 says

      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…..

  25. Codex73 says

    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?

    • Dave says

      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 says

        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.

  26. Animish says

    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?

  27. Jeanz says

    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

  28. Mehmet Fatih Yorulmaz says

    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

    • Manuel Echeverry says

      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

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.