Jetpack Comment System Not Working? Here’s how to fix it.

WordPress recently released the newest shiniest add-on for bloggers: JetPack. Even though this is still a bit messy at the moment, I think the WordPress team has done a fine job trying to integrate some of the more crucial elements of blogging into one neat package.

Anyway, some of you are having issues with integrating the new Jetpack Comment system into your current blog/theme.

If you have installed the latest version of JetPack and cannot see the new comment system active on your current site – it’s most likely because your Theme author has hardcoded the way it’s displaying comments (DOH!) instead of calling the proper wordpress function: comment_form() to dynamically build the comment form.

Before we attempt to resolve this issue, I strongly advise you to backup your database and core files. Do that now.

Steps:

1.) Open up comments.php in your favorite editor and find the code segment that looks similar to this:

<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" class="comment_form" id="commentform">
blah blah blah blah
</form>

2.) Replace it with the following function call:

<?php comment_form(); ?>

3.) Save. Upload. Refresh.

This should fix this issue. If you are still having trouble with this, check to make sure you are calling the comment_form() method correctly within comments.php and make sure that your browser cache is cleared before refreshing.

Quick Tip: If you want to adjust the width etc. on the new comment system, you will need to modify:

/plugins/jetpack/modules/comments/comments.php (different from the comments.php we modified earlier)

Tags: ,

Leave a comment..

This site uses Akismet to reduce spam. Learn how your comment data is processed.