. . "The first part can be done using the built-in WP function paginate_links() or a plugin such as WP-PageNavi." . .