1. Home
  2. Wordpress
  3. Posts pagination

This function returns a html number pagination in the template. Note, it doesn't work with custom post types.

#wordpress#php
the_posts_pagination();
copy
Full Wordpress cheatsheet