Jetpack 1.4 Comments: how to fix it

WordPress Jetpack just got new version 1.4 and here is post about it:

Jetpack Comments Now Available at a Launchpad Near You.

And it finally adds Jetpack comments:

Jetpack Comments has arrived!

We’re breaking down the barriers between you and your audience. When someone reads an article on your site and wants to comment, they can now use one of their existing social networking accounts to post a comment. No longer do they need to create yet another account and profile.

And it looks great, just like on bloogs:

But, users already have problems activating it, even if other commenting plugins were working before.

Problem is that most themes, changed way of commenting by adding custom commenting form instead of WordPress comment_form() function.

What to do?

So if you want to fix it by yourself there is a way, you just need to know little php, and not even to program in it just to recognize this comment form code in your theme.

But first, WARNING don’t do this if you are not sure what you are doing, and always backup your site before using any of this!!!

First go to your Dashboard – Appearance – Editor
This is editor for your theme files, on the right side you will see list of files that you can chose to edit.
Find comments.php and select it

Now hard part! You need to find comment <form> and </form> tags, and to select all of the lines betwen them, including <form> and </form>

For my theme was like this:

<form action=”<?php echo get_option(‘siteurl’); ?>/wp-comments-post.php” method=”post” id=”commentform”>

Copy all that lines and save somewere on your system, just in case you wont to return to previous state (And DO NOT forget to backup your site before all of this)

Now delete that lines and replace them with just this one line:

<?php comment_form(); ?>

Now click on update file button and go to your theme and check if is working.

Great you DID IT, you mastered replacing custom commenting form with WordPress default one.

If by any case you mess something,  mostly bad selection of <form> </form> you need to return all lines that you saved, or in extreamly bad cases recover your site from backup (don’t be scared this happens only if you play to much with code, and you don’t need it in this case)

PS just one more hint you can choose 3 themes for Jetpack comments go to Dashboard – Settings – Discussions and pick:

  • Light
  • Dark
  • Transparent

Have fun with your new Commenting system!

Please consider rating this great JetPack plugin, Matt posted on JetPack blog call for help. Please give them rating they deserve – rate it now!


  1. Judhianto · June 15, 2012

    Thank you for your info. It works for my blog!

    • Bojan Cincur · June 15, 2012

      Great, I really like this commenting system 🙂

  2. taamirplus · June 15, 2012

    Thanks, great info..

  3. Thanks · June 15, 2012

    Thanks, was looking for an instruction that would allow me to do this, greetings.

    • Bojan Cincur · June 15, 2012

      Let me know if it works for you.

      • Thanks · June 15, 2012

        I put comments.php and appears in the form without problems.
        But when I click “Post comment” sends me
        sent after page 404 in my theme, I guess is the firewall 2 wordpress plugin.
        I will continue by testing, thanks

  4. Catalin Ciubotaru · June 15, 2012

    Thank you!. Saved my day 😀

  5. Jorge Ledesma · June 16, 2012

    Excellent tutorial, it worked like a charm on my theme. Is there a CSS class to style and add some margins. Thanks in advance.

    • Bojan Cincur · June 16, 2012

      Thank you!

      Just surround comment_form() with div, and add styling to it.

      • Jorge Ledesma · July 14, 2012

        thanks so much.

  6. Pingback: Our new WordPress – version 3.4 « NightlyArt the Second
  7. JangHyun Choi · June 18, 2012

    thinks. save my blog 🙂

  8. Fabian · June 22, 2012

    It doesn’t work for me: When I press “post comment” there is just a blank site. The new URL then is:

    What does that mean?

    • Bojan Cincur · June 23, 2012

      Are you sure that you removed all Form elements from comments.php ? It seams that there is still comment form that call that function…

      • Fabian · June 23, 2012

        Well, I deleted everything between the form tags including and . After pasting I can see the Jetpack comment fields. Right above, the old title ‘leave a comment’ or so ( I am working with the german version of it so it might be different) is still there.

        I believe the problem is in my default comments.php, but I am not sure since I am not a pro in coding. In my view there aren’t any parts of the comment form left. You can visit my site to see how it looks at the moment. I guess you will find the comment fields though everything is in german.

        By the way, thank you for posting that interesting article. 😉

        • Fabian · June 23, 2012

          Edit: the wp-comments-post.php is called in the comment-template.php, right? I don’t get it …

          • Bojan Cincur · June 23, 2012

            Contact me if you want direct help with issue 🙂

        • Bojan Cincur · June 23, 2012

          You have JavaScript error “addComment is not defined” and it can happen for quite a lot of reasons. Most of them is extreme hard-coding of comments. I’m sorry but without access to your theme files, I can’t find what exactly is wrong.

  9. Mark · June 25, 2012


    Do you have any experience with the Thesis theme? I use Thesis and cannot get Jetpack comments to work. As I’ve poked around the theme files it seems that Thesis does not use “comment_form” in the comments.php file. It has its own comment template that overrides the wordpress system.

    If I add “add_action(‘thesis_hook_comment_field’, ‘comment_form’);” to the custom_functions.php file Jetpack does show up (though I’ve not tested it), but the Thesis comment field is not removed giving two comment fields.

    Any ideas?


    • Bojan Cincur · June 26, 2012

      Problem is that all Framework based themes mostly use Custom coded commenting. Its possible to fix it, but it requires some coding.

    • Mai Ikaru · July 12, 2012

      Hi Mark.
      I tried editing my comments.php in the WP-admin built-in editor and didnt see the stuff in the tutorial.
      Try this:
      1.) Manually edit through FTP or Online File manager of your site.
      2.) Go to /wp-content/themes/yourtheme/comments.php
      3.) Backup comments.php
      4.) Now Follow the tutorial above.


      Hope this works for you too.

  10. Elena Stepanova · June 28, 2012

    Thank you very much! Your tip works for me.

  11. Focushot (@HunterMastery) · July 1, 2012

    I was wondering if you knew how to fix the iframe issue where the height doesn’t change? Right now on my blog, there is a massive space because the iframe height is set to like 315px when it’s closed. I have another theme “picoclean” on my testing blog where the iframe height is 91px when closed and the moment you open it, it goes to like 225px or something.

    I posted about this issue on the Jetpack page but no one seem to comment. It makes my blog design look very ugly. The theme I’m using is undedicated, the only major change I’ve ever made to it was adding more buttons adn css changes.

    Blanking out the CSS file doesn’t change anything, the box is still too large. I’ve figure out that it’ s a javascript issue or lack of code in my theme that exists in the picoclean theme. I’ve noticed that it’s not just the undedicated theme but even happens in the default unedited theme. The only plugin I have running is Jetpack itself.

    When I change the theme to undedicated, the comment box for jetpack is small and doens’t leave any sort of space under it, when you click to leave a comment it opens up. If I switch to the default wordpress theme or undedicated, there is a space under the close iframe.

    Looking at the code for the themes, the height for the iframe is 315px, however if I use Firebug it shows that the height is 91px… so there is some javascript changing the height base on if the jetpack comment box is open or not.

    How do I fix this? I don’t want to have to make a new theme or edit another theme where this isn’t a problem like picoclean. I’m not sure if there is something blocking the jetpack javascript from loading or not :/

    • Bojan Cincur · July 1, 2012


      Something strange is going on in your case, usually iFrame is 91px and than grows up to 343px depends if you are logged or not. In your case I could get that some code that is in your theme is making some kind on conflict with Jetpack but I can’t be sure.

      Please wait for them to resolve your issue, it seams rather specific to theme that you are using.

      • focushot · July 4, 2012

        Yeah that’s what I was thinking too, however I did put in a ticket and have yet to hear back from them. I did some testing and one of the things I noticed was that, when I changed my theme to the default theme that comes with wordpress, it did the same thing. This was on a fresh new install of wordpress with no edits or anything.

        So I disabled every plugin but Jetpack and again it was the same issue. It was showing a space. I was thinking maybe because I’m running WordPress as MU it was the issue but I’ve be able to find some themes that the issue didn’t exists. So I’m not even sure what to think code wise that could cause it.

        Thanks for the quick reply however.

        • Bojan Cincur · July 4, 2012

          Now that’s strange…
          So on twenty ten and eleven you had same problem. You will need to post issue to JetPack team, because something is off… maybe PHP version, but they will know what to do.

          • Focushot · July 25, 2012

            I want to give a follow up on the fix, I finally put in a support topic and turns out it was a bug with comments not working right if you disabled threaded comments, which I had on some blogs I run but not others. So as a result, its now fixed and I was told in the thread it would be hot fixed in a future update.

          • Bojan Cincur · July 25, 2012

            That is great info, thank you for follow up.

  12. Drew Ocean (@drewshane) · July 5, 2012

    I really appreciate the help! I was trying to get it figured out. This saved me much time and money!

  13. Rizqi Fahma · July 7, 2012

    Hi Bojan

    Thanks for your tips. Now the jetpack comment works on my blog. 🙂

  14. Linesh Jose · July 9, 2012

    Thank you. It’s working on my blog too 🙂

    • Bojan Cincur · July 12, 2012

      That’s great, have fun with new commenting system 🙂

  15. Mai Ikaru · July 12, 2012

    Hi Bojan.

    I tried editing my comments.php in the WP-admin built-in editor and didnt see the stuff in the tutorial.
    So I tried this:
    1.) Manually edit through FTP or Online File manager of my site.
    2.) Go to /wp-content/themes/mytheme/comments.php
    3.) Backup comments.php
    4.) Now Follow the tutorial above.


    Hope this works for people having problem with the tutorial.

    • Bojan Cincur · July 12, 2012

      Thanks for additional guide, What theme do you use? I never saw theme that I couldn’t edit its files in wp-admin editor…

    • Mark Leach (@markmleach) · July 13, 2012


      I’m using Thesis, and so original tutorial doesn’t work. I looked at the comments.php file manually through FTP, but it doesn’t include the form tags – just a custom thesis bit about passwords and user ID.

      Any ideas anyone?



  16. John · July 18, 2012

    How come on your site, the jetpack form isn’t in an iframe? And do you have to go about displaying the comments in a special way?

    • Bojan Cincur · July 18, 2012

      Because this blog is posted in and this is not JetPack feature but core feature. So there is no need to call any iFrame’s

  17. Bryan Eggers · July 22, 2012

    I’m glad I ran across your suggestion because I couldn’t get Jetpack’s social comments to work on my old Studiopress theme. They had some custom comment code but your fix worked just fine. The only other thing I had to do was to disable the Captcha plugin. It works great! Thanks!

    • Bojan Cincur · July 24, 2012

      Great that it works for you. JetPack team promised that they will work more on some more security issues with Comments module.
      I’m using and its working great 🙂

  18. rosiecrunchyprices · July 24, 2012

    Thanks for the tutorial. Has only partially worked for me – I am still missing the text for: Notify me of follow-up comments via email and Notify me of new posts via email. Any help would be much appreciated! (my website is and i’m using the theme wp-smooth)

    • Bojan Cincur · July 24, 2012

      Just to to dashboard – settings – discussion
      And under Jetpack Subscriptions Settings check options:
      Show a ‘follow blog’ option in the comment form &
      Show a ‘follow comments’ option in the comment form
      And that’s it.

  19. fino · July 29, 2012

    i have similiar problem… i already change he code but stil facing the same thing, comment redirect to

    • Ram · August 6, 2012

      This helped! Thanks!

  20. Ram · August 6, 2012


  21. Jorge · August 25, 2012

    YOOtheme use a template, and the comment box jetpack was working perfectly using the 1.6 but when I upgrade to 1.7 does not work putting the old comment box, when I change the file comment.php putting the sentence is up, gives me JETPACK comment box but with errors and comments made are not shown. please help me

    • Bojan Cincur · August 28, 2012

      This seams like new issue, please submit issue report to

  22. salvagecarauctions · August 28, 2012

    Awesome! Thank you for your information.

  23. Alexandru Ene · September 6, 2012

    Thanks, bro!
    You the man!

  24. asagiseyit · September 7, 2012

    i did what the introduction sadly i am still getting same error Sorry, but there was an error posting your comment. Please try again later.

    my original comment.php is here is anyone can fix it for me ?


  25. Anthony West · September 20, 2012

    Awesome, worked like a charm. Thanks!

  26. aderojas · September 21, 2012

    Thanks A LOT for this blog post, I’ve been looking for this option for months!!!

  27. John · September 25, 2012

    It’s a good way to manage commenting system , I’l try it mt own site and i like it , thanks

  28. Saroj Karki · September 28, 2012

    Thank you very much.. its really helped me ..

  29. Paul · October 31, 2012

    No luck.

    Running two sites. Both the comment UI has not got the social, email etc under like here on this site.

    One site the comment will work, the other you click post comment and it does nothing.

    both have the same theme…

    • Bojan Cincur · November 1, 2012

      What is a theme that you use… And what did you try to get it working?

  30. vinnyvchi · November 1, 2012


  31. Pingback: Tinkering With Comments
  32. zygmurti · November 23, 2012

    I think I have a different problem. The comment box appears in my posts ok but I get an error message after I try to post the comment

    “You do not have permission to access this document.”

    Do you know what might be the problem here

    test post here

    I’d be really grateful for some help. I haven’t tried the solution posted here yet as I didn’t think it would be necessary as the comment box appears ok.



  33. fiesta sotavento · November 26, 2012

    I loved up to you’ll receive carried out right here. The caricature is attractive, your authored subject matter stylish. nevertheless, you command get bought an impatience over that you wish be handing over the following. sick for sure come more previously once more as precisely the same nearly a lot steadily inside of case you shield this increase.

  34. Navdeep Singh · December 15, 2012

    that does`nt work for me.. in my drive yootheme.. i deleted everything and included but i got no change .
    mail id is

  35. Joel Schmidt · January 3, 2013

    I tried this fix, and it didn’t work for me. Jetpack Comments used to work great until I disabled it due to a conflict with CommentLuv. Unfortunately, CommentLuv now isn’t working with my theme’s native comment system, so I would like to reactivate Jetpack Comments. However, I can’t even find the Jetpack Comments settings in my admin interface. Please help!

  36. miri · January 6, 2013

    I tried this, but it doesn’t work. I get a comment form and people can successfully submit comments, but when I try to approve them, nothing happens. I tried a “reply and approve” and received a 404 error. Any ideas? Thanks!

  37. Visual-I Gadget Reviews · January 14, 2013

    Fantastic worked a treat 🙂

  38. Gilang · January 18, 2013

    Thanks Bojan, JETPACK COMMENT RUN for me

  39. speldie23 · February 19, 2013

    Thanks heaps!

  40. Khashayar.P (@Kdforf) · February 25, 2013

    Thank You!

  41. Needle · April 17, 2013

    I tried it and it worked but the regular comment box showed up above Jetpack’s. Anyway you can help me fix this issue?

    • Othello · April 25, 2013

      I have exactly the same issue! it’s driving me crazy

      • Needle · April 30, 2013

        Please post the solution here if you come across it. I’ll do the same

    • Bojan Cincur · April 30, 2013

      Hm, sorry I just saw this comment, contact me I will try to help you out.

      • Needle · May 3, 2013

        I sent a message yesterday


      • Wendy · May 16, 2013

        Hi, is there a solution for this issue yet?

        • Eric Gustafson · May 16, 2013

          Try checking off “users must be registered to comment”.

          • Wendy · May 17, 2013

            That is already unchecked. I don’t think it’ll fix the comment area appearing twice anyway

            Thanks btw 🙂

  42. Eric Gustafson · May 16, 2013

    I was having the same trouble and I was tearing my hair out. I checked out this fix, but the comments file in my template was already right.

    It turned out to be something much simpler: in the discussion settings, make sure to check OFF “users must be registered to comment”.

  43. I was also having the same problem,
    but when I turned OFF comment LUV plugin it worked on my website.

  44. syiria rumana · June 19, 2013

    I savor, cause I found exactly what I was having a look for. You’ve ended my 4 day lengthy hunt! God Bless you man. Have a nice day. Bye

  45. Baljit · July 15, 2013

    Yes this is what I was looking, I am using the code to allow my users to post comments on my webpage. I am looking for a plugin for comment luv

  46. · August 2, 2013

    After spotting a copy of ‘All Tomorrow’s Parties’. Burger King expects about 75 more redesigned restaurants to be open and at the moment. While most start ups may have humble beginnings with only one person working, you might consider moving elsewhere. ‘This was beginning to
    sound like a Roxy Music reunion. Likewise, if you are doing a large Remodel Recessed
    Lighting or renovation.

  47. bathroom cabinets · August 3, 2013

    remodel programing a kitchen is not something that you should rush through and by taking yourtime and getting input from a variety of medium toned neutral
    colors to make sure we had enough. Thus, the paint will end up with a less than
    desirable choice because you ran out of time or have a pick
    up truck on hand for hauling the rubbish to the dump. In honor of the
    completion of an extensive remodel program, the Lompoc Animal Shelter,
    located at 1501 W.

  48. George · August 29, 2013

    Would someone please tell me how to change the text “One thought On” to something else?
    Also, how do I delete the Website fill in box?

  49. Kristeen · October 7, 2013

    If you might be seriously considering purchasing a await your child, think long and hard in regards to the type of watch you need to give them,
    when you give it to them, and whether the wrist watch
    should be analogue or digital. So why is this watch
    jump out among its many competitors. Compared with sports watches, this time around piece is little soft on features.

  50. Andy Lin · October 18, 2013

    so cool

  51. hoonseEnala · November 28, 2013

    kxzvflcuaoj tuliffltd adpeqlry [url=ポーター-長財布-c-3.html]ポーター バッグ メンズ[/url], mgumsxsmddh wkdxtkrut wyoutfnx [url=]コーチ バッグ アウトレット[/url],lildmzbroet vysednzdx ozudyxsv [url=レディース-ローファー-c-3.html]ドクターマーチン アウトレット[/url], evdekpgzdkp jofakknqk ixxoujko [url=]ザノースフェイス リュック[/url],vlprgcbckez lyxbnvwlo ivayrbhg [url=財布-c-20_22.html]サマンサタバサ 財布[/url],boexlczskha otgfnlsrw agjkpsng [url=ディーゼル-ショルダーバッグ-c-16.html]ディーゼル 時計 メンズ[/url],mpjefjlaiir hsgojjyup csnzpvre [url=]サマンサタバサ バッグ 新作[/url],ffanykkruyy ililtqnit vtvsnuup

  52. Graham Berry · December 3, 2013

    Great post. Any idea how to change the text color of the two lines: “Notify me of follow-up comments via email.” and “Notify me of new posts via email.”? For some reason the dark theme is making that text white but I want it black. I want to include those two options but the background is white and I want people to be able to read what the boxes are for.

  53. effortboards · January 2, 2014


  54. A few years ago, one of our local residents, Mac Vorce, who is also a bicycle enthusiast petitioned for the development of bicycle paths and trails.
    his comic roles in movies like Hungama, Waqt: The Race against Time,
    Malamaal. Brad Garret is a stand-up comedian but also well
    known for his acting career.

  55. Rhid · May 1, 2014

    On my site, I can’t see avatars unless someone posts with wordpress. I see them in my dashboard, but not on the site. What do I have to do to show the avatars if people login with Facebook or twitter?

  56. internet marketing · June 23, 2014

    I have read so many posts on the topic of the blogger lovers except this post is genuinely
    a good paragraph, keep it up.

  57. Pingback: SWEDCHAM has entered into a partnership with the CNPR - The Romanian Employers’ Confederation. | Swedish Romanian Chamber of CommerceSwedish Romanian Chamber of Commerce
  58. yesitskris · August 20, 2014

    My site already has the correct comment form php but Jetpack comments still aren’t showing up. The site is I tried turning on and off that users must be logged in to comment as well. Please help!

  59. Hashim · September 15, 2014

    Thanks Its Working Check Here

  60. Balázs Gergely Szabó · October 8, 2014


  61. Thank you I’ve found that the comments box of the best funds available for WordPress Comments

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s