[Resolved] query_posts() breaks comments_template()
I have included comments_template() in my Loop, as I want the front page of my blog to show all the recent comments. I’ve noticed however that if I add query_posts(‘showposts=10’); before the loop, the comments stop working (the add comment link just reloads the main page)
This does not occur if I take the index.php code and use it in a page template…
I havn’t really changed anything else from the default installation. Any suggestions for what is happening?
- The topic ‘[Resolved] query_posts() breaks comments_template()’ is closed to new replies.