/ Published in: PHP
URL: http://www.kriesi.at/archives/how-to-build-a-wordpress-post-pagination-without-plugin
Make sure to put the code from the URl in your functions. php
Expand |
Embed | Plain Text
<?php $additional_loop = new WP_Query("cat=1,2,3&paged=$paged"); ?> <?php while ($additional_loop->have_posts()) : $additional_loop->the_post(); ?> <!-- Show loop content... --> <?php endwhile; ?> kriesi_pagination($additional_loop->max_num_pages);
You need to login to post a comment.
