You want Custom Post Pagination in WordPress. there have only 2 steps.
Log in WordPress
Step 1 : add plugin WP-PageNavi WP-PageNavi
Step 2: add the following code to your page template
Kalpesh Chavada is Our Founder & CEO of Akshar Group Technologies. He is serving with 11+ years of experience in different technologies like Magento, WordPress, Laravel, jQuery, Shopify, Branding, and Digital Marketing. He is very good with creative logic and always ready to take on challenges.