I just spent the last hour or so trying to figure out how to use the new Jetpack commenting system instead of the version that is packaged with the WooThemes theme that I’m using (which is the Canvas theme).
Sidenote: The Jetpack comments were working until I messed with the comments.php file in my theme. Once I saved it, WooThemes took over, and I couldn’t find a way to get Jetpack to take it back. So, this is kind of a fix for my own stupidity, but it should also work if your version of WooThemes comments is just beating out Jetpack in your site’s comment battle for priority.
My site info:
- My version of WordPress: 3.5.1
- My version of the Woo Framework: 5.5.3
- My version of Canvas: 3.2.1
To get Jetpack’s comments to take over, this is what I did:
- First, I had to open the comments.php file in my theme folder. I used my FTP program to find the file in the typical theme location ( wp-content/themes/canvas/comments.php ).
- Once open, I made a backup of the file by renaming and saving it. If you make a mistake, you’ll wish that you had this backed up, so don’t skip this step. Close the backup file.
- Back in comments.php, find the chunk of code that looks something like this (for me it was from lines 80 to 115):
<form action="<!--?php echo get_option('siteurl'); ?-->/wp-comments-post.php" method="post" id="commentform"> ... </form><!-- /#commentform -->
- Delete that entire chunk of code.
- Replace that chunk with:
<?php comment_form(); ?>
- Save comments.php and refresh one of the pages on your blog.
And that’s all it took for me.
Did this work for you? Please send me a Tweet, like the post, and let me know in the comments.