1

This page (body only) is made completely in a custom php code, based on a custom type created by Pods module. I would like to know if there is any module that can help me insert a paging control directly inside my php code?

1 Answer 1

1
<?php
$pod = pods( 'my_pod' );

$params = array( 'limit' => 15 );

$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' ) ); 
?>

From Pods documentation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.