Last active
December 31, 2015 23:49
-
-
Save paulletourneau/8062550 to your computer and use it in GitHub Desktop.
Show Column Dashboard Layout Options & Default to 2 Columns in WordPress 3.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Show Column Dashboard Layout Option & Default to 2 Columns | |
function pl_dashboard_columns() { | |
add_screen_option( | |
'layout_columns', | |
array( | |
'max' => 2, | |
'default' => 1 | |
) | |
); | |
} | |
add_action( 'admin_head-index.php', 'pl_dashboard_columns' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment