I’m setting up several pages and posts, which I intend to publish at the same time.
My issue is that I want to add links between them and not have to go back and fix them later.
I’ve found code to add a hack, which will show draft pages in the ‘insert / edit link’ dialog. However, I’ll almost certainly want to change the path in these links.
I’m looking for some kind of shortcode insert option, which will just store the id of the page and when I publish the page, transpose the final url for me.
It seems nuts to me that WordPress doesn’t have some kind of link management, which will provide the correct urls everytime.
Perhaps I’m doing this wrong and there’s an option to do this already?
Read more here:: Dynamic link to posts / pages currently in draft