On a site I'm working on, in the profile page - for example - I have to display the content from a few custom posts (additional details, location details, billing). And instead of having the user click Edit and change the page to the 'edit page' for that particular post and then come back to edit the next one, I'm trying to display the edit form for the posts in a lightbox.
Up until now I am able to load the complete get_edit_post_link page into an iframe, that's basic but the drawback is that it includes the full page, header, footer and all which I don't need. And turning them off in CSS is not elegant at all. For the life of me, I cannot figure out how to get just the edit form from said page. That is, short of making a fopen to the edit page and getting the code from there, which is even worse than the CSS option IMO!
Including the edit form code into a lightbox would be ideal!