DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Bring Back Single-Column Dashboard in WP 3.8

Posted by on

After updating to WordPress 3.8, the single-column Dashboard disappears with no options to bring it back. For years, users could set the number of columns in the Dashboard to suit their needs, but apparently some brilliant decision was made to just remove it. Personal opinions and feelings aside, here is a quick snippet to bring back single-column Dashboard layout for those who were using it and wish to continue doing so.

How to display single-column Dashboard

Fortunately, it’s easy to bring back the single-column Dashboard configuration in WordPress 3.8; just add this code to your theme’s functions.php file:

// force one-column dashboard
function shapeSpace_screen_layout_columns($columns) {
	$columns['dashboard'] = 1;
	return $columns;
}
add_filter('screen_layout_columns', 'shapeSpace_screen_layout_columns');

function shapeSpace_screen_layout_dashboard() { return 1; }
add_filter('get_user_option_screen_layout_dashboard', 'shapeSpace_screen_layout_dashboard');

And done. No editing, just plugin-n-play. If you want to force a different number of columns, just change both instances of “1” to “2” or “3” (or whatever works).

While on the topic, what are your thoughts about the new WP Admin design? You love it, right?

12 Responses

  1. siteuntitled December 12, 2013

    It’s okay so far I guess, but I haven’t had time to really check it out because I’ve found a bug in an upload field I added for CVs on user profiles – not sure if the 3.8 admin changes caused it or if I just never noticed it until now…

  2. Yeah, disappointed they removed the option to change the column numbers, thanks for the fix.

  3. Giuseppe Mazzapica December 13, 2013
  4. Totally agree!! Why remove?!

  5. tnx ;)

  6. Great snippet, you guys rock!

  7. Bob Schecter December 21, 2013

    With so much to improve in the front end, I can’t fathom why they spend so much time fawning over the back end.

  8. Excellent work, the new dashboard was bothering me too. Thank you for a quick fix, much appreciated.

  9. I just updated to the new WP. It’s great, but I’m not sure if it’s what is causing errors with my google fonts or if it was something else I did.

  10. Pieter Goosen February 7, 2014

    Like the new dashboard more. It is even beter with this great snippet. I love my single column.

  11. Otto S. March 1, 2014

    This has been bugging me too, but the main reason I wanted to leave a message was to say thanks because you guys actually post all the source code here for us to use.

    That really is awesome, thanks a lot.

Comments are closed. Contact us with any critical information. Thank you!

Code is poetry