Query tag and post per page
-
Hi I have this function
<?php $the_query = new WP_Query( array( 'tag__in' => array( 32, 33, 34 ) ), 'posts_per_page' => 3 ); while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
what’s wrong, if I use only tag_in it works. Can I combine tag_in and post_per_page?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Query tag and post per page’ is closed to new replies.