I want to create a link in a template to certain pages. Now I could just write it out to what the current URL is now but I wanted to know what is the most flexible way to do this if I already know the slug? Is there a function for this?
Hmm, and what, if I do not know the ID of the page?
I would like to have a link simply to next page, e.g. if the page of September 19th is displayed, then on the top I want to have a link to whatever page was published afterwards (September 20th??, or October 2nd??)
It only returns the general site url, does not return any type of url to the page im linking to. Heck, it dosent even include the location to the actual wordpress install. It just gives domain.com, versus domain.com/blog/page/