How to display next previous pagination on single-custom.php or custom details page

I was creating a project in which I had maid a custom post type and create a custom template for details page.
But client want to display next previous on custom template details page.

Like this:

custom

So for this I have use this code on single-casestudies.php:

If anyoney any confusion then please comment. Hope it will help 🙂

Leave a Reply