Meta Comments not updating

Hi,

Under blog post titles, in the meta section, the comments counter won’t update. It just has a percentage symbol, regardless of how many comments exist on the article.

Is there a way to either A) fix this so it works like it used to, or B) remove the comments meta entirely (as well as the “/” before it)?

Image:

Hi there,

Thanks for posting in.

Are you using the standard comment system of Wordpress? Or something else like Facebook or Disqus? Please provide a sample URL that has this issue.

Thanks!

Hi Rad,

I’m using Disqus comments. Here’s a URL: http://edmprod.com/how-to-promote-your-music-on-a-budget/

Hi There,

Upon checking your website, I could see that the Javascript errors.

Where did you add the Google Tag Manager code?

Could you please provide us with your admin account so we can take a closer look?

Thanks.

Hi Thai,

I’ve added the admin account as a secure note to the previous reply.

Not sure where I added the GTM code.

Hello There,

Thanks for updating in! It turns out that you are using an older version of the theme, X 4.5.1. Please have it updated to the latest version. Our latest versions are:

  • X theme 5.2.2
  • Cornerstone 2.1.3

This latest release contains fixes for several issues so be sure to check out the changelog (http://theme.co/changelog/).

After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

And I also noticed that you have added a custom JS code that results an error. Please have it updated and use this instead:

(function(){var c=encodeURIComponent,s="SCRIPT",d=document,e=d.createElement(s),t=d.getElementsByTagName(s)[0],p="t="+c(d.title||"")+"&u="+c(d.location.href||"")+"&r="+c(d.referrer||"");e.src="https://api.autopilothq.com/anywhere/f67a359be1fd437cb9d8d532b571558003254feb5c9948f3b324482dd80d91db?"+p;e.type="text/javascript";e.async=true;t.parentNode.insertBefore(e, t);})();(function(){var c=encodeURIComponent,s="SCRIPT",d=document,e=d.createElement(s),t=d.getElementsByTagName(s)[0];e.src="https://api.autopilothq.com/anywhere/aa/f67a359be1fd437cb9d8d532b571558003254feb5c9948f3b324482dd80d91db";e.type="text/javascript";e.async=false;t.parentNode.insertBefore(e, t);})();</script>

<script src="//static.leadpages.net/leadboxes/current/embed.js" async defer>

The opening <script> tag and the closing </script> should be remove because it is already being wrapped when this JS code will be displayed in the page.

Please let us know how it goes.