There are different ways to create a pagination for WordPress posts in a loop:
get_the_posts_pagination()that allows to display numeric pagination.
- In old times we also used plugins for that purpose, the most popular was WP-Pagenavi.
In this tutorial my goal is to show you how to create any kind of custom paginations for almost anything. For example did you know that do display page numbers in Appearance > Menus is also used