Tagged Questions
7
votes
4answers
4k views
What's the difference between home_url() and site_url()
My understanding is that site_url() returns the location where the wordpress core files are.
So, if my blog is hosted at http://example.com/blog then site_url() returns http://example.com/blog
But ...
0
votes
1answer
79 views
site_url is not honoring scheme
I'm using site_url() for my href for anchors. I want to control what when I send the user to a secure page or non secure page. I thought I could do that with site_url('/foo', 'http') and ...