• My plugin (http://wordpress.org/extend/plugins/hreview-support-for-editor/) generates a pop-up form within the wp-admin pages (specifically, in the WYSIWYG editor). The form is within an iframe, but I am having trouble inheriting all the WordPress admin styles into the iframe so that it is consistent with the other pop-ups used within wp-admin pages.

    At the moment, I’ve written some very ugly code in the page within the iframe that makes it work, but there must be a better way. The current solution is to generate a page using PHP and start the page off with

    require_once('../../../wp-load.php');
    require_once('../../../wp-admin/admin.php');

    Bad, huh?

    Can anyone help?

  • The topic ‘IFrames in the wp-admin pages’ is closed to new replies.