I’m using query_posts() to filter a certain category out of the index page and monthly archives (to be used as ‘asides’)
In the index page, i just use query_posts(), but in the monthly archives, I need to get the archive month from the query, and pass it to wp_query() so it will show the right category.
How do I do this?
I hope this makes sense…
- The topic ‘Get the category from the query’ is closed to new replies.