Solved: Hide header button based on current page

Hi

My current project has a CTA button in the header. I was just wondering if there was a way to hide that button if the user was actually on the CTA button’s target page?

Thanks!

So resolved this issue, so for anyone else searching for this i the future, I did some playing around and realized I could use conditions for the header. So I:

-Created a CTA header, and set conditions to only display it on the CTA page.
-Excluded the CTA page from the Default header template
-I then had to include entre site in default header conditions as a second condition or it did not display.