Add Support for JetPack Comments in Your Theme
Some of our older themes currently lack support for the Jetpack plugin, as well as other plugins that make use of the
comment_form() function in themes. This short guide will show you how you can quickly and easily update any of our themes to be compatible with Jetpack and others.
Here is a quick list of some of our themes that might need such an update:
This guide has been generalized as much as possible so that you can follow the same process for any of our themes.
So to start, you’re going to need access to the theme files. If you happen to have them on your local computer, then it’s very easy. If you have them on a live site however, you will need to either access the files via FTP or through the WordPress theme file editor found in Appearance > Editor in your WordPress admin.
Once you have access to the files you will need to look for a file called
comments.php in the root of the theme folder. So taking Yamidoo PRO Magazine as an example, you would find the file you need at
Now you will need to find a certain chunk of code within that file and replace it with another different chunk of code…
The chunk of code you’re looking for, taking Yamidoo PRO Magazine again as an example, is:
The chunk of code you’re looking for might not be exactly the same for every theme, but it should be very similar to the above.
Basically, look for
<form>...</form>. That, along with any code between those tags, should be what you want to replace.
As for the fix? Well, it couldn’t really be much simpler… Just replace that whole chunk of code with this:
<?php comment_form(); ?>
That’s really all there is to it. A simple and easy fix for what might seem like a complex problem.
Thought it would be harder? Nope, that’s it. ;)