I was wanting a way to get the site header and footer and use it in the admin area.
Idea #1 An answer to another related question states to use an iframe instead I think we can use an ajax call get the header and footer from homepage and store in a function.
Idea #2 Where with jQuery we can clone() them, then store them in a function to use in the admin.
Maybe we need even both, I just think it's possible. I've seen a familiar post but still doesn't answer the question properly.
This is a close start:
add_action( 'in_admin_header', 'insert_header_wpse_51023' );
add_action( 'admin_footer', 'insert_footer_wpse_51023' );
add_filter( 'admin_print_styles', 'footer_hide_wpse_51023' );
function insert_header_wpse_51023()
{
echo '';
}
function insert_footer_wpse_51023()
{
echo '';
}