How can i get the id of the post i am editing on the edit post page
i have come up with a really good idea to preview the post as your editing it and that is to get a iframe with a src of http://localhost/?p=<?php the_ID(); ?>&preview=true but unfortunately this creates a infinate loop of iframes of the actual edit page not the page your editing in the edit page.
so i am looking to get the id of the page im editing in the edit page.
Thanks in advanced..
ps. would be cool “like that preview commments thing on css-tricks”
- The topic ‘How can i get the id of the post i am editing on the edit post page’ is closed to new replies.