So I am attempting to create a next/prev button for portfolio items that are specific to portfolio category, but it seems that the logic isn’t working. What am I doing wrong or is there a more simple way to achieve this?
I have a single layout for the portfolio item that is restricted to a category, but the prev/next buttons don’t disappear once it hits a post from another category. In the picture, the 2 car garage is not in the carports category and the logic is set, but it still displays. I have checked to make sure the page isn’t selected for the category. I am using string coding for my next/prev buttons and then a created button to go back to the main page.