If you have a custom post type (for example – Portfolio), you might want to add Previous and Next buttons under each portfolio piece.
Here’s an example of that on this website: Single Porfolio piece. Notice at the bottom Previous and Next links go to other single pages of custom post type – Portfolio.
You need to add this code to your functions.php file (this example uses ‘portfolio’ custom post type, but you can change it to your custom post type):
If you want to style your links, you can add this in your styles.css: