WordPress.org

Forums

Jetpack by WordPress.com
[resolved] I need help - will pay for support (3 posts)

  1. theatereleven
    Member
    Posted 1 year ago #

    I can't get comments to display correctly using JetPack on any site I've tried them on. The common denominator? I'm using the Roots starter theme.

    Here's what's happening - I place <?php comments_template(); ?> in my single.php file, and the JetPack comment form shows and accepts comments fine. The comments appear in the back end as approved, but will not display on the page.

    Can anyone help? This is driving me crazy.

    And yes, if I enable the 2014 theme, the comments display fine. It's something with my Roots theme on both sites.

    https://wordpress.org/plugins/jetpack/

  2. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Howdy,

    I'm afraid that is an issue that the Roots folks would need to check on. Jetpack Comments only handles the submission of comments. Once the comment is submitted, it is added to the WordPress database like any other comment for your theme to display however it sees fit.

    Jetpack Comments will replace the comment_form(), but that's it.

    I see your thread at http://discourse.roots.io/t/approved-comments-not-showing-up/1652 and hope they'll be able to help.

    I would check out the comments.php file at https://github.com/roots/roots/blob/master/templates/comments.php
    and compare that to
    https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentyfourteen/comments.php#L64

    The Roots theme is creating a form itself, instead of relying on WordPress' built-in process to create the comment form (which Jetpack "plugs" into for the Jetpack Comments form).

    Taking out the Roots-made form and adding in comment_form(); should take care of you.

    I'm going to mark this as resolved as the issue isn't with Jetpack. Best of luck. Cheers!

  3. theatereleven
    Member
    Posted 1 year ago #

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic