3
votes
4answers
447 views

How to show the real post date in a draft

When looking at a draft post, get_the_date() only seems to return today's date, not the post date, even if I have selected another date on the post edit screen. Is there a way to show the "actual" ...
3
votes
2answers
549 views

How to get the clean permalink in a draft?

When I use the_permalink or get_the_permalink in a draft or scheduled post, the URL provided is not the "final" permalinkā€”it is the unpretty ?p=xxxxx version. How can I get the final, "clean" ...