• I am trying to display the most recent posts in a specific category on the single page of an article before the comment section but it seems as though the query_posts just fails. If I grab the same following snippet and move it to the sidebar, it works just fine. Any ideas?

    <?php query_posts(‘cat=4&showposts=10’); ?>

  • The topic ‘Why does query_posts only work in the sidebar?’ is closed to new replies.