Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End SVG Anchor Tag PHP Function Animation Transition Madness Reply To: SVG Anchor Tag PHP Function Animation Transition Madness

#169832
bmoneruiux
Participant

Hey Chris…I did some sniffing and I think there’s a event listener on #logo a to see if <?php echo home_url( '/' ); ?> is still the value of the href attribute. And if it’s not, it prepends that missing value to whatever value you may have in there.

Can’t prove it yet though as I’m not amazing at JS or jQuery…yet…

But that’s the only explanation I have for this as PHP can’t replace a value all on it’s own like that from what I know (which is little).