Hi andertjf,
If you are using the mobile theme plugin, then the files that need to be edited is this one -> wp-content/plugins/td-composer/mobile/comments.php
Hope this will help you!
Thank you!
I’m trying to add this code to the file instead of the original comment box, but it’s giving an error.
Which line exactly do I have to replace with this code?
<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 () {
this.page.url = ‘<?php echo get_permalink(); ?>’;
this.page.identifier = ‘<?php echo dsq_identifier_for_post($post); ?>’;
};
*/
(function() { // DON’T EDIT BELOW THIS LINE
var d = document, s = d.createElement(‘script’);
s.src = ‘https://vidaecovegan.disqus.com/embed.js’;
s.setAttribute(‘data-timestamp’, +new Date());
(d.head || d.body).appendChild(s);
})();
</script>