show posts_per_page with query_vars
-
I use multiple lopps in the homepage and i use this:
<?php $wp_query->query_vars[“cat”] = 11; ?>
<?php $wp_query->get_posts(); ?>
….I would set a max different number of posts for every loop…how can do this ?
- The topic ‘show posts_per_page with query_vars’ is closed to new replies.