Make desktop Disqus comments visible on mobile Blogger.
17 Aug 2019 | blogger codeThe following code made desktop Disqus comments visible on the mobile version of this site.
var disqus_url = '<data:blog.canonicalurl>';
disqus_url = disqus_url.replace(/\.mountainkicks\..*?\//,".mountainkicks.com/");
Just delete “mountainkicks” and replace it with the url section that comes before the “.com” of your site.
The code I found and modified for my use is from an old 2016 Blogger Help post. I used a Discuss Disqus thread to make the necessary edits for the code to work.
Here is a screenshot of the relevant code in case the discussion thread disappears.
Comments