
To paginate WordPress posts, we need the WP-PageNavi plugin.
Install it using the following steps:
- Go to Dashboard
- Within ‘Plugins’ select ‘Add New’
- Search for the WP-PageNavi and click ‘Install Now’
- To place your display function <?php wp_pagenavi(); ?>