How to Add Disqus Comment In WordPress Without Plugins

Actually, to Add Disqus comments in WordPress do not need a headache and difficult. Disqus itself already provides plugins to facilitate the installation of Disqus comments in WordPress. However, there are some WordPress users (including me hehe ...) trying not to install many plugins in Wordpress if it can still be installed without plugins including Disqus comments.

Disqus Comment on Wordpress

To post Disqus comments in WordPress without plugins, it can actually use the universal code provided by Disqus. But there needs to be added other code so that Disqus can blend with WordPress system.

Well, to put Disqus comments on WordPress without plugins, please use the codes below.

Please, not single.php file and search for code</main> then please keep the code below above the code above.

<div id="disqus-comments">
<div id="disqus_thread"></div>
var disqus_config = function () { = '<?php echo get_permalink(); ?>';
<noscript>Please enable JavaScript to view the <a href="">comments powered by Disqus.</a></noscript>

Then please open the footer.php file and please keep the code below above the code</body>

(function() {
var d = document, s = d.createElement('script');
s.src = '//';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);

Please replace the code username with your blog's Disqus username.


Popular posts from this blog

How to Write Articles for Beginners

Increase Blog Traffic By Setting Permalink

7 Functions of VPS You Need to Know