Subject: Current page link variable?
It's killing me, I can't figure out how to get the current page URL in a plugin. I'm trying to add the opengraph details for every page to a plugin, and I'm getting the results I expect, except the URL. Is there a global variable that does this? The template vars are not always available, so what works in a post might not work in a thread or a forum view, etc.
I've spent ages on it, and can't work it out. Any hints? =)
I've spent ages on it, and can't work it out. Any hints? =)


NFG
Show profile
Link to this post