query_posts
-
Sorry for the silly question, but can I combine
<?php query_posts( 'post_type=blog'); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
with
query_posts('posts_per_page=5');
and if yes, how?My trial-and-error method failed.
The idea is to have a different number of posts per page than the setting under “reading”.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘query_posts’ is closed to new replies.