Pagination not working
-
I created an page, in which I want to include certain categorie posts. I used a template for this page and this is the loop:
<?php query_posts('cat=4,6,5,81,3,9&posts_per_page=30'); ?> <?php while (have_posts()) : the_post(); ?> <div class="bericht meta"> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <div class="content"> <span class="post-meta">Door: <?php the_author_posts_link(); ?> - <?php the_time('j F Y') ?> om <?php the_time() ?><?php edit_post_link('Edit', ' | ', ""); ?><br />Categorie: <?php the_category('| ') ?><?php get_category_link() ?></span> </div><!-- content --> <div class="clear"></div> </div><!-- bericht --> <?php endwhile; ?> <?php wp_pagenavi(); ?>So when I click on the pagination (called using a plugin), the url changes to url/page/2/. The problem is that it still displays the (same) first 30 posts…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Pagination not working’ is closed to new replies.