I’m attempting to make custom buttons for post navigation at the bottom of a Pro Layout for single blog posts. The problem I’m having is figuring out what the url of the previous and next buttons should be.
What I have currently is {{dc:post:post_type_url post=“next”}} for the next button and {{dc:post:post_type_url post=“prev”}} for the previous button. The problem is both of these don’t work and just redirect to the homepage.
I know that the Post Navigation module exists. I tried using it, but the problem is that it shows both forward and back buttons no matter if you are the last post or first post (which I don’t want.)