Hi,
I manage the website http://www.ciscozine.com and I notice that the disqus plugin works fine on mobile version (I use the tagDiv Mobile Theme), while on pc version use the ‘old comment’ style? Why that?
I know that the disqus plugin is not ‘certified’ by you, but I see that several people use it without problem.
Anyone can help me?
Thanks
Fabio
Hello !
Disqus is not a tested plugin. Unfortunately we have not tested this plugin so we cannot offer support for it.
Our support policy: https://forum.tagdiv.com/newspaper-theme-support/
Thank you !
I notice that if I edit post page template with your editor I receive this error
Warning: require(/home/ciscozine/domains/ciscozine.com/public_html/wp-content/plugins/td-standard-pack/Newspaper): failed to open stream: Success in /home/ciscozine/domains/ciscozine.com/public_html/wp-includes/comment-template.php on line 1527
Fatal error: require(): Failed opening required ‘/home/ciscozine/domains/ciscozine.com/public_html/wp-content/plugins/td-standard-pack/Newspaper/’ (include_path=’.:/usr/local/php72/lib/php’) in /home/ciscozine/domains/ciscozine.com/public_html/wp-includes/comment-template.php on line 1527
There has been a critical error on your website.
Hi! Fabio, i saw your website and realized that you finally added DISQUS on your newspaper theme. Can I know how you did it and where? It will be really appreciated đ
Simply add this code and change EXAMPLE with your account name:
<div id="disqus_thread"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT
* THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR
* PLATFORM OR CMS.
*
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:
* https://disqus.com/admin/universalcode/#configuration-variables
*/
/*
var disqus_config = function () {
// Replace PAGE_URL with your page's canonical URL variable
this.page.url = PAGE_URL;
// Replace PAGE_IDENTIFIER with your page's unique identifier variable
this.page.identifier = PAGE_IDENTIFIER;
};
*/
(function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
var d = document, s = d.createElement('script');
// IMPORTANT: Replace EXAMPLE with your forum shortname!
s.src = 'https://EXAMPLE.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>
Please enable JavaScript to view the
comments powered by Disqus.
</noscript>
More info here: https://help.disqus.com/en/articles/1717112-universal-embed-code
-
This reply was modified 6 years by
Fabio.
Thanks Fabio for your quick answer, in which part of the template? Single.php?
Are we allowed to use PHP in the tagdiv raw html module?
For example can we place this in the raw html:
this.page.url = ‘<?php echo get_permalink(); ?>’;
I’m guessing the answer is NO, since when I do this, it outputs the code, not the PHP echo.
-
This reply was modified 6 years by
hywdotbrk.
Hi,
Is anyone using the plugin with the theme?
I can put the plugin working, but I detected some errors đ
Does anyone know / recommend a similar plugin?
embed.js:41 Uncaught TypeError: Cannot read property ‘appendChild’ of null
at k (embed.js:41)
at Object.l [as isSerif] (embed.js:41)
at h.i.toJSON (embed.js:41)
at Object.c.loadEmbed [as _loadEmbed] (embed.js:43)
at embed.js:43
someone solved this error without having to change the Disqus plugin js?
-
This reply was modified 6 years by
rvicerqveira.
In my case I used the universal code
https://help.disqus.com/en/articles/1717112-universal-embed-code