Is there a default way in wordpress to create an overlay in the dashboard area? I need a jquery ui dialog to open after a button click. This is how it goes: The button click will fire a PHP function using AJAX, which in turn will make an API call and the response will be shown in the jquery ui dialog. However, it takes time to receive the response from a remote api server, so I need an overlay with a loader of some kind. Is there anything native to wordpress that I can use? What are my options?

1 Answer 1


You should use WordPress's default javascript file in admin. Check out ThickBox in Codex.

Or, you can use jQuery UI Dialog plugin. You can find procedure to use in this answer of StackOverflow.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.