You can add the following to your functions.php file:

Then, in any archive file, add wpex_pagination(); wherever you’d like the pagination to appear.