WordPress.org

Ready to get started?Download WordPress

Forums

IFrames in the wp-admin pages (1 post)

  1. andrewescott
    Member
    Posted 5 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags