WordPress.org

Support

Support » How-To and Troubleshooting » Strange Problem: No comments section on page

Strange Problem: No comments section on page

  • sagarsir

    @sagarsir

    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.

  • The topic ‘Strange Problem: No comments section on page’ is closed to new replies.