• I want to put a query within the loop in the single.php section. What I’m trying to do is call a query to display related posts by category. I was also wondering if it is possible to have the query automatically detect the category the post is in, so it pulls the correct posts.

    Thanks for help.

The topic ‘Query Within Loop’ is closed to new replies.