Can’t get pagination to work
-
Hi
I have tried now for a few days to get the pagination to work and can’t get it to work.I have tried this code in a page template:
// Pods Pagination for template file $pod = pods( 'grave' ); $params = array( 'limit' => 9 ); $pod->find( $params ); // Advanced Pagination echo $pod->pagination( array( 'type' => 'advanced' ) ); // Simple Pagination echo $pod->pagination( array( 'type' => 'simple' ) ); // Paginate echo $pod->pagination( array( 'type' => 'paginate' ) );
It shows the number of pages but when you click the next page, it just shows you the same items.
I have even tried adding pagination to the shortcode and it doesn’t appear on the page:
[pods name="grave" limit="9" template="Grave Blog Template" pagination="true"]
What could be the problem?
Morris
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Can’t get pagination to work’ is closed to new replies.