Coming back from my period of inactivity was a confusing experience. It almost felt like the above picture (chaotic) except the nuclear destruction!
Well after updating most themes, a major version upgrade to wordpress and a lot of plugins, I discovered to my horror that my comments section was missing from my newest posts and I couldn’t for the life of me figure out what was going wrong. I searched around on the web and found the solution:
- Go to the Appearance section
- Go to the Editor sub section
- Find your theme in the dropdown in the top right
- Go to Theme Functions (it will be a file called functions.php)
- Add the following lines of code in the theme setup function:
remove_filter( ‘comments_template’, ‘dsq_comments_template’ );
add_filter( ‘comments_template’, ‘dsq_comments_template’, 99 ); // You can use any priority higher than ’10’
This solved the problem for me and the Disqus comment are now back on track!