DISQUS Stop to work

Posted in: Newspaper
Post count: 91

Hello,

My disqus was working before the last Newspaper Update, now is not working with CLoud Library.

I have to change some configuration?

Post count: 35449

Hi,

Unfortunately the disqus plugin is working only with the default theme templates, this is not compatible with tagDiv Cloud Library, sorry!

Thank you you for your understanding!

Post count: 91

Hello, Calin.

Thanks for your reply.

But why disable something that was working before?

I dont see info in the new documentation telling us that the new update would remove functions.

What we have to do?

Post count: 35449

Hi,

The new update did not remove the functions, but some of theme was moved.
Did you try to set the disques shortcode in a single post template, maybe this will work. -> https://wordpress.org/support/topic/cant-find-the-shortcode-2/
Also I can try to help you, I do not say for sure that I will make it work, because is an untested plugin, but I can try to find a way, if you provide some more information about the settings you made and the way that this plugins was working with our theme.

Thank you for your understanding!

Post count: 91

Thank you Very much, Calin.

I solved my problem using Universal code:

https://help.disqus.com/en/articles/1717112-universal-embed-code

Important things to change:

/*
var disqus_config = function () {
// Replace PAGE_URL with your page’s canonical URL variable
this.page.url = ‘<?php echo get_permalink(); ?>’;

// Replace PAGE_IDENTIFIER with your page’s unique identifier variable
this.page.identifier = ‘<?php echo dsq_identifier_for_post($post); ?>’;
};
*/

// IMPORTANT: Replace EXAMPLE with your forum shortname!
s.src = ‘https://EXAMPLE.disqus.com/embed.js’;

Thanks again.

Post count: 107

Can you explain in little more detail about how to exactly fix this? I am facing the same issue.

Post count: 91

Hi,

Copy the universal code here: https://help.disqus.com/en/articles/1717112-universal-embed-code

Add an HTML RAW where you want the disqus box and paste the code:

http://prntscr.com/ojovej

Change the code to:

this.page.url = ‘<?php echo get_permalink(); ?>’;

Change the code to:

this.page.identifier = ‘<?php echo dsq_identifier_for_post($post); ?>’;

Change the code to:

s.src = ‘https://EXAMPLE.disqus.com/embed.js&#8217;;

Replace EXAMPLE with your forum shortname!

If you dont know your shotname, look here:

https://help.disqus.com/en/articles/1717111-what-s-a-shortname

Thats it 🙂

  • This reply was modified 7 years by mateusnds.
Post count: 107

Thanks, it worked. Do I need to keep the plugin now? And also I read I will have to manually export comments. What’s that about?

Post count: 91

Hey, Wrestle.

I didn’t read nothing about it. Sorry.

Best Regards.

Viewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.