Modal window from within WordPress admin

Give the anchor a class of thickbox and make sure that the thickbox script is enqueued on your admin page using add_thickbox

add_thickbox();

and

<a href="https://wordpress.stackexchange.com/questions/48514/your url" class="thickbox">click here</a>

You can see what add_thickbox does here:

http://hitchhackerguide.com/2011/02/11/add_thickbox/

Leave a Comment