WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I style and add new divs in the admin dashboard area inside of the wpbody div under the Dashboard Tab? I would like to insert a new div in the wpbody div...

share|improve this question

You can use wp_add_dashboard_widget function:

wp_add_dashboard_widget($widget_id, $widget_name, $callback, $control_callback = null)

This Codex article should help you: http://codex.wordpress.org/Dashboard_Widgets_API

share|improve this answer
Link only answers are discouraged. If something happens to that link this answer becomes useless. Your answer should be able to stand on its own. – Bainternet Jun 16 '13 at 11:56
Well. It's link to Codex. If this link disapears, then I don't think that this solution will work anymore either ;) – Krzysiek Dróżdż Jun 19 '13 at 8:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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