Skip to content

Instantly share code, notes, and snippets.

@iladarsda
Created February 7, 2014 10:32
Show Gist options
  • Save iladarsda/8860383 to your computer and use it in GitHub Desktop.
Save iladarsda/8860383 to your computer and use it in GitHub Desktop.
Wordpress 3.8 - enable number of dashboard column in dashboard
function dashboard_columns() {
add_screen_option(
'layout_columns',
array(
'max' => 4,
'default' => 1
)
);
}
add_action( 'admin_head-index.php', 'dashboard_columns' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment