WordPress.org

Ready to get started?Download WordPress

Forums

Unable to display comments on Pages/Subpages (3 posts)

  1. Heliocity
    Member
    Posted 7 years ago #

    I apologize if this has been answered a million times before - A quick search didn't turn up anything.

    The problem is pretty simple: Comments won't display on Pages or Sub-pages, regardless of the setting within the Page creation screen.

    They do show up on single posts - For some reason I thought Pages and Single posts used the same template. Am I wrong?

    For Example,

    Single Post: http://www.heliocity.net/2007/new-ocean-guides/

    Page (with comments enabled, but not displayed):
    http://www.heliocity.net/guides/how-to-upload-mmf-or-mp3-ringtones-to-your-ocean/

  2. whooami
    Member
    Posted 7 years ago #

    pages use page.php

    single posts use single.php

    assuming your theme comes with those.

  3. Heliocity
    Member
    Posted 7 years ago #

    Thanks! I have no idea how I didnt see that page.php file.

    Adding <?php comments_template(); ?> in the proper place fixed it up perfectly.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic