Query_Posts Question
-
I use the below query on my category template. I would like to use something similar on my tags template. How would I modify this to get posts from a particular tag?
I assume it has to do with changing ‘cat’ to something else…
<?php query_posts(array( 'cat' => get_query_var('cat'), 'post_type' => array( 'post', 'premier' ), 'order' => 'ASC', 'orderby' => 'title', 'posts_per_page' => -1,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Query_Posts Question’ is closed to new replies.