I have tried
<?php $params = array( 'orderby' => 'book_year DESC', 'limit' => 5 ); $pod_books = pods( 'books' ); echo $pod_books->find( $params )->template( 'book_detail' ); echo $pod_books->pagination(); ?>
[pods name="books" limit="5" orderby="book_year DESC" template="book_detail" pagination="true" ]
My pods items displays fine but the pagination does not work! I have 50 items on my pod and the first 5 displays fine. The pagination link shows on the bottom but clicking on the link 2, 3, 4, 5, NEXT LAST doesn’t do anything!!!
clicking 2 is suppose to bring me to /home/books/?pg=2 but it instead goes back to /home/books/
Please help me. 🙁
- The topic ‘Pagination not working!’ is closed to new replies.