Monthly Archives: June 2012

WordPress Add Pagination

The easiest method I found to add a good pagination: 1. Install WP-PageNavi plugin. 2. In the template file, the loop should be like this: <?php // The Query, $the_query = new WP_Query( 'category_name=blog&amp;paged='.$paged ); // The Loop which loops through all the posts of category while ( $the_query->have_posts() ) : $the_query->the_post(); ?> <?php the_content(); […]

Posted in Wordpress | 1 Comment