I am working on a custom theme and I have the following doubt about how to correctly insert the link to some section of my website into the theme.
If you open this link you can understand what I need to do: http://localhost/wordpressAsper/
As you can see under the header slideshow I have 3 boxes that are links.
I need to link the second box (the one named Archivio) to this page: http://localhost/wordpressAsper/archivio-2/
I know that I can simply put this URL into the href attribute of my a tag but this is not a smart idea because then I have to moove the website on my remote webserver.
So I am thinking that should exist something like a wordpress function to retrive the current URL of the website.
What is the best way to implement this thing?
Tnx
localhost
simply points to your own computer. :) We won't see anything there (other than our own things :).