I have been facing pagination problem in category page (WP 3.3) . In wp-admin setting I have set 5 posts per page. Pagination with 5 post page works fine. If I want 2 posts per page and wp-admin setting is 5 posts per page then I get pagination problem.
Any body please help to solve this problem. And what is wrong in my code.
Here is my code.
if (have_posts()) :
while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<div class=”blog_page”><?php previous_posts_link( __( ‘« New’, ‘twentyten’ ) ); ?>｜<?php next_posts_link( __( ‘Old »’, ‘twentyten’ ) ); ?></div>
<?php endif; wp_reset_query(); ?>
- The topic ‘Pagination problem’ is closed to new replies.