Webmaster Hub

Fix Common JetPack Comments Issues

JetPack Comments is perhaps my favourite feature from Automattic’s JetPack plugin. Not only does it increase blog engagement, but its use iFrames and JavaScript confused bots which seriously reduces comment spam. Unfortunately getting JetPack Comments installed and working with certain themes can be incredibly difficult.

‘Invalid request signature’ Error

This is the most common error encountered when installing JetPack. Your old comment form will be missing, but instead of displaying JetPack Comments you will see an error stating ‘Invalid request signature‘ or ‘Invalid request signature or no blog id supplied.

Disable Incompatible Plugins:

The following is a list of plugins known to cause issues with JetPack. More info available at JetPack’s official website.

  • W3 Total Cache’s “Minify” function
  • Anti-Spam Bee
  •  Spam Free WordPress

Remove Incompatible Scripts:

Many commercial themes use  the following JavaScript to fix issues with YoutTube video’s. Comment out the following code or remove it entirely.

/* Fix YouTube iframe overlay and z-index issues
——————————————————————————- /*
var ifr_source = jQuery(this).attr(‘src’);
var wmode = "wmode=transparent";
if(ifr_source.indexOf(‘?’) != -1) {
var getQString = ifr_source.split(‘?’);
var oldString = getQString[1];
var newString = getQString[0];
else jQuery(this).attr(‘src’,ifr_source+’?’+wmode);

Comment Form Doesn’t Display

Your theme’s comments.php file may not contain the necessary code that Jetpack Comments requires to render correctly. Using the WordPress theme editor; go to /wp-content/themes/yourtheme/comments.php and make the following changes:

Always make a backup before editing files!

Replace Custom Forms

If your theme contains a custom form, remove everything between the <form>…</form> elements. Replace the form with “<?php comment_form(); ?>,” which is WordPress’ native comment form rendering function.

Remove Other Commenting Systems

Plugins for 3rd party commenting systems such as Disqus, Facebook Comments and Livefyre will interfere with JetPack Comments. Make sure they are disabled and removed.

It’s still not working!

If JetPack comments still aren’t working on your site; there are a couple of ways to get support. You can directly contact JetPack support, create a topic at the WordPress.org support forums or get help from the author of your theme (if the issue is theme specific).

Leave a Reply