Pagination doesn't work
-
<?php query_posts(‘cat=blog&posts_per_page=2’); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>==============
I got these bunch of codes for the query_posts and I’m having problem with the pagination of my blog, whatever page number you click, it will still go to the same page. (which is page 1)
I’m using this
https://scribu.net/wordpress/wp-pagenavi/right-way-to-use-query_posts.htmlbut seems that I can’t understand how to debug my existing line of codes.
TIA!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Pagination doesn't work’ is closed to new replies.