hello, I feel like this is uber-simple, but I’m not too familiar with PHP (I know/think I’ve seen it before in the code making up a theme I’ve used):
I’m trying to figure out what the variable is for the current URL (for instance, if I could call that variable here, you’d see “wordpress.org”, because that’s the URL of this page)
important: would I be able to use this right inside of a post? (I see there’s only a WYSIWYG and an HTML editor for posting, no input for PHP, would I need to use the “custom fields” or something?)
thanks in advance for the help!
- The topic ‘PHP Variable for current URL’ is closed to new replies.