WordPress.org

Forums

Strange Problem: No comments section on page (1 post)

  1. sagarsir
    Member
    Posted 7 years ago #

    Hi everyone.

    I am having a strange problem (or maybe I'm missing something myself). I created some pages on my WordPress blog by ripping the WordPress Index Page code and allowing only posts from a particular category to show on those pages by using this code:

    <?php query_posts('cat=6'); // exclude the first category ?>

    I saved the code as a new page template and made my pages follow it's respective template.

    The problem is that the posts come up without any hassle BUT there is no option to allow posting of comments. However, when I view the same posts through the archives page, the comment section comes up. Have I left out some pirec of code or something that needs to be put in there? I've already tried putting in "<?php get_comments();>" but to no avail.

    Any suggestions are welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic