Portfolio Displaying Next Button with a Different Category Post

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.

Hello @BH_USA,

Thanks for writing to us.

To help you with your concerns, we need to check your settings. I would request you please share the admin login details meanwhile I would suggest you troubleshoot a few of the common issues before we investigate your settings. Please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password
  • Exact page URLs

You can find the Secure Note button at the bottom of your posts

Thanks