All Questions
1 question
139
votes
15
answers
610k
views
How to get URL of current page displayed?
I want to add custom PHP code to ensure that whenever a page on my site loads in my browser, the URL of that page is echoed to the screen. I can use echo get_permalink(), but that does not work on ...