Where to call my pagination function?
If you added the pagination() function to your functions.php, you only have to call it in your theme files. Which file depends on where you want to display it, see the Template Hierarchy for details. You don’t want to call this inside The Loop (between the while () {} or while : … endwhile;), because … Read more