WordPress.org

Forums

[resolved] How to insert 'leave a comment' form in posts (4 posts)

  1. tribeka
    Member
    Posted 5 years ago #

    Hi there

    I am using the soulvision theme on my site http://www.ameasureofmylove.com. At the bottom of the post, it reads '0 comments'.

    I have noticed other blogs have 'leave a reply' fields or 'add comments' section which are more likely to get comments.

    Is the absence of this on my site a limitation of the theme I am using or can I enable something similar and if so, how? (I have comments enabled)

    Thanks

    James

  2. Rahul Sonar
    Member
    Posted 5 years ago #

    at the bottom of your single.php (or index.php, or any other template you want), please this code:

    <?php comments_template(); ?>

  3. tribeka
    Member
    Posted 5 years ago #

    Thanks for your quick reply, Rahul

    <?php comments_template(); ?> is already in my single.php file. What I want is for visitors to leave comment directly without having to click on '0 comments' It's not clear, anyway that by clicking on '0 comments' you would be able to leave a comment.

    Thanks again

    James

  4. tribeka
    Member
    Posted 5 years ago #

    Sussed it thanks to a savvy friend of mind.

    What I needed to do was add the line of code <?php include("comments.php");?> to index.php.

Topic Closed

This topic has been closed to new replies.

About this Topic