I have two categories that post to one page….the one category I’d like to receive comments on, the other has a separate template set up for itself.
So if someone posts using the category blog, it feeds to this page and there’s a comment field I’ve added in
but when you add a comment, the page redirects and comes back blank, pointing to this page
i have this piece of code in category-news.php
<? the_content();?> <br /><hr /> <?php global $withcomments; $withcomments=1; comments_template();?> <?php endwhile; wp_reset_postdata(); // End the loop ?>
which allowed me to get a comment box there….but what comes next? How do i get the comments to show on the category-news page?
help is always greatly appreciated. =)
- The topic ‘Adding a comment takes me to blank page’ is closed to new replies.