Skip to content

Instantly share code, notes, and snippets.

@slushman
Created April 15, 2015 03:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
How to Set WordPress Dashboard to Use One Column
function screen_layout_columns( $columns ) {
$columns['dashboard'] = 1;
return $columns;
}
add_filter( 'screen_layout_columns', 'screen_layout_columns' );
function screen_layout_dashboard() {
return 1;
}
add_filter( 'get_user_option_screen_layout_dashboard', 'screen_layout_dashboard' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment