Styling Posts Pagination

## Metadata
- Author: [[WP Theming]]
- Full Title: Styling Posts Pagination
- Category: #articles
- Summary: WordPress 4.1 introduced a new function to display archive pagination as numbered links. Developers have been making this work for long time using custom functions or popular plugins like WP Page Navi, so its great to now have a core function for this purpose.
- URL: https://wptheming.com/2015/02/styling-posts-pagination/
WordPress 4.1 introduced a new function to display archive pagination as numbered links. Developers have been making this work for long time using custom functions or popular plugins like [WP Page Navi](https://wordpress.org/plugins/wp-pagenavi/), so its great to now have a core function for this purpose.
##### Code
To use it on an archive, you just need one line of code:
If you like, you can also change the “Previous”/”Next” text or the number of paginated links that appear:
##### Styles
By default, the pagination appears just like normal links on a single line. However, with a tiny bit of CSS we can style these to stand out a bit more and make them easier to click.
Styled pagination links.
##### Conclusion
You can definitely get fancier with the styling, but this should at least get you started
ThemeShaper also wrote a great write-up of all [the new theme functions](http://themeshaper.com/2015/01/27/whats-new-in-wordpress-4-1/) introduced in WordPress 4.1, which is worth checking out., Styling Posts Pagination, WP Theming, 01gnmczej1jhx0sh4v00tm3v9z.