WordPress.org

Forums

have_comments() returns false [with comments_template()] (1 post)

  1. marianograndioso
    Member
    Posted 2 years ago #

    I'm working on my custom wordpress theme and I got stuck on the comments. Actually, I just copied the code for the comments template and the 3 functions from this tutorial.

    I found a solution that says I should call the template with comments_template() instead of the general include method and that is how I do it. It still doesn't show a single comment, even though get_comments_number() returns 2 and I see the comments in the dashboard.

    Any ideas ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags