WordPress.org

Ready to get started?Download WordPress

Forums

How to control ability to post comments on pages (3 posts)

  1. vmgenie
    Member
    Posted 2 years ago #

    I'm using the theme "Distinction" by James Laws with the plugin "WP-Members by Chad Butler.

    The website (http://www.johnmorrisonfamily.com) uses only pages, no posts. None of the pages accept comments, but one should. I looked through these support posts and found instructions to add <?php comments_template(); ?> to page.php in order enable comments. I have done this, but it doesn't seem to have made any difference.

    I have also edited the page that needs to be comment enabled by checking the box labeled "Comments". I also tried the box labeled "Discussion". I even tried the box "Author". So all three are now ticked, but still no ability to make comments on the page.

    The website is normally only accessible by members, but since it really isn't operational yet, I've taken off the restrictions in case someone can help, but needs to take a look first.

    In spite of my lack of experience, I've been able to solve all the dilemmas until this one.

    Vicki

  2. Peter_L
    Member
    Posted 2 years ago #

    <?php comments_template(); ?> refers to the template file comments.php. Which is a custom file. Does your theme have this file?

    Try looking into this http://codex.wordpress.org/Function_Reference/get_comments.

  3. vmgenie
    Member
    Posted 2 years ago #

    Thank you. I looked at the templates and my theme does have a temploate named comments.php. I also checked out the link you provided.

    Based on what I see, I think trouble-shooting this will prove to be beyond me at this point, so I'll either have to hire help or take a different approach (maybe use a form).

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic