I have created a simple one-page site with scroll to anchor links, using the full site address so it works on other pages etc. But when I am on the page with the links they are all highlighted on the menu. I searched here and found a previous discussion here but I cant get it to work using GP Hooks for the header or footer.
Do I need to amend the code?
I appreciate I could use page scroll to ID plugin but I really wanted to do it without adding another plugin if thats possible