I have a custom layout with a pagination at the end to jump to the previous and next custom post type. I’m using regular buttons with the link like this {{dc:post:permalink post=“prev”}} and {{dc:post:permalink post=“next”}}. It works fine, the problem is, I need to show those buttons when there is a previous and next item. Right now if it’s the first or last item, it will show an empty link.
Nevermind, just by adding a condition as string and entering {{dc:post:permalink post=“prev”}} is not and leaving the other value empty, works!
Hello @mcostales84,
Glad that you were able to fix it by yourself. Please feel free to open a new thread if you have any more concerns.
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
