[Plugin: Simple Pagination] Pagination on custom listing template
-
Please see https://barplan.gobrandgo.net/news-events/
There is pagination for second page but second page appears same as first page.
I used the code:
<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; ?> <?php query_posts( array ( 'category_name' => 'News Events', 'posts_per_page' => 2, 'paged' => $page, 'order' => 'DESC' ) ); ?>
Instead of (‘paged’) I tried with (‘page’) also.
Any help is appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Simple Pagination] Pagination on custom listing template’ is closed to new replies.