How-to-Add-Numeric-Pagination-in-Your-WordPress-Theme

How to Add Numeric Pagination in Your WordPress Theme

Want to replace the old ← Older posts | Newer posts → links with some page links?

This plugin provides the wp_pagenavi() template tag which generates fancy pagination links.

USAGE
In your theme, you need to find calls to next_posts_link() and previous_posts_link() and replace them.

In the Twentyten theme, it looks like this: