[Resolved] Move comment entry form above comments

Home Forums Support [Resolved] Move comment entry form above comments

Home Forums Support Move comment entry form above comments

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #707462
    Sebastian

    Hi Tom & Team,

    I think this one should be easy:

    I want the comment entry form above the comment entries that are being displayed. We have posts with literally hundreds of comments and we break them apart every ~20 comments (e.g. paginate). But the comments tend to be very long so a user would have to scroll to the end of a long comment section to enter his comment.

    It would be beneficial if we could unhook the comment entry form from its current position and hook it above the comments.
    Unfortunatly I don’t know how to do so.

    So: how to do so? 😀
    Would you please advise?
    Thank you for your help.

    #707470
    Leo
    Staff
    Customer Support

    Hi there,

    See #2 in Tom’s reply here:
    https://generatepress.com/forums/topic/comment-form-2/#post-692006

    Let me know 🙂

    #707485
    Sebastian

    Hi Leo,

    that worked.
    To save others from having to look through the other thread here is the solution again:

    Just download the comments.php file from GitHub and replace your original comments.php file in /wp-content/themes/generatepress/ with this file and voilà.

    #707492
    Leo
    Staff
    Customer Support

    No you don’t want to replace the core file as it will be erased during updates.

    Make sure you are using a child theme as Tom mentioned.
    https://docs.generatepress.com/article/using-child-theme/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.