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

  1. Heliocity
    Posted 8 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):

  2. whooami
    Posted 8 years ago #

    pages use page.php

    single posts use single.php

    assuming your theme comes with those.

  3. Heliocity
    Posted 8 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