home_url(); showing current page instead of site address
Since you didn’t post actual code in your question, I can only speculate. However, a common problem is that, when calling home_url(), it is not echoed. The value of the function is returned, rather than echoed, so it must be explicitly echoed by the code. I’m guessing you have something like this: <a href=”https://wordpress.stackexchange.com/questions/95730/<?php home_url(); … Read more