So in WordPress I have a static link in the footer that appears in all pages and I would like the URL in the link to change when but only when it’s in a certain page. So it’s like
All pages – footer link goes to
Except when on page ‘x'(or lets say the About Page) then footer link goes to
Is there a way to do that in jQuery or JS?
Read more here: Change link URL to a different link depending on the page