post → getPagination
Generates and returns pagination for multipage posts.
To split a post into multiple pages use the <!--nextpage-->
tag in your posts. Read here more about multipage posts.
Description
string getPagination([array $args])
- $args
- Arguments trough which you can customize the output
Examples
// output the pagination for the current post atom()->post->Pagination(array( 'type' => 'numbers', // numbered navigation; 'prevnext' will force only previous / next links 'pages_to_show' => 10, // max number of page links to display before appending dots (...) ));
Last revision 12 years