This is my situation, I have a login page and in the functions folder there is the php for that, say the page is example.com/login.php, upon login error it redirects to example.com/login.php#error
Essentially I'm trying to figure out how to add code that only shows when you are on the #error page.