Am I understanding this code correctly? It really doesn’t output anything it returns it and makes it available for elements in the loop to display.
Is that correct? Can anyone point me to a well written article on the wp_query? It’s all a bit confusing to me. Like how to style the query outputs and details like that. Does it belong in the loop? etc…
<?php if(!$wp_query) global $wp_query; query_posts( array_merge( array('post_type'=>'page') , $wp_query->query ) ); ?>
Thanks in advance.
- The topic ‘Question about query_post’ is closed to new replies.