Jetpack by WordPress.com
[resolved] Comments height problem (5 posts)

  1. jaska120
    Posted 2 years ago #


    Today I installed Jetpack comments to my website http://www.jaakkomustalahti.com. I am having issue with the comments box height. It just sticks there and it is having the free space under it even when you haven't clicked to comment. Do you have any solutions to fix this? I am using my own created theme so am I messing something with css?

    Another question: Is it possible to have the comments box hidden and when clicking a link, example in metadata, the comments box could popup.

    Thanks, Jaska


  2. jaska120
    Posted 2 years ago #

    I tested my site with TwentyEleven and comments worked ok. Any solutions for my code?

  3. Jeremy Herve
    Jetpack Mechanic
    Plugin Author

    Posted 2 years ago #

    Instead of adding the comment form on your front page, I would recommend calling comments_template only on single posts and pages.

    This way, the comment form won't appear unless the users click on a "Leave a Comment" link on your home page.

    Twenty Eleven is indeed a good example. You can use its comment functions as an example for your theme.

    Let me know if it helps.

  4. jaska120
    Posted 2 years ago #

    I changed the code to comments_template and added comments_popup_link to metadata. When I click on link it will lead to post (as it suppose to do) and comment form.

    Now the problem is that the Jetpack comments are not showing with the comments_template function. There is just a normal comment form.

  5. jaska120
    Posted 2 years ago #

    Porblem solved. I copied Twenty Eleven's comments.php file and used it instead. I also took some lines from Twenty Eleven's functions.php to get comments working properly.

    Thanks you for good tip.

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