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.


string getPagination([array $args])
Arguments trough which you can customize the output


// output the pagination for the current post
  '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 (...)