This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* ------------------------------------------------------------------*/ | |
/* PAGINATION */ | |
/* ------------------------------------------------------------------*/ | |
//paste this where the pagination must appear | |
global $wp_query; | |
$total = $wp_query->max_num_pages; | |
// only bother with the rest if we have more than 1 page! |
NewerOlder