3.4 pagination problem
my blog doesn’t work since i upgraded it from WP 3.3.2 to 3.4.
so previous/next_post_link is not working.
This is the code i’m using for my index page:
<?php $args = array( 'post_type' => 'foto', 'posts_per_page' => 12, 'orderby' => 'post_date', 'order'=> 'DESC', 'post_status' => 'publish', 'paged' => (get_query_var('page')) ? get_query_var('page') : 1); query_posts($args) ;?> <?php while ( have_posts() ) : the_post(); ?>
currently i changed posts_per_page to 30, so that every post can be seen.
thx for ur help.
- The topic ‘3.4 pagination problem’ is closed to new replies.