By default, when a new user signs up, the dashboard displays 2 columns. I would like to have it display one column by default.
I found a thread on it...http://mu.wordpress.org/forums/topic/15078?replies=2
but haven't heard back.
I found in the wp-admin/includes/template.php file on lines 3594 - 3620 this code..
function screen_layout($screen) {
global $screen_layout_columns;$columns = array('dashboard' => 4, 'post' => 2, 'page' => 2, 'link' => 2);
$columns = apply_filters('screen_layout_columns', $columns, $screen);if ( !isset($columns[$screen]) ) {
$screen_layout_columns = 0;
return '';
}$screen_layout_columns = get_user_option("screen_layout_$screen");
$num = $columns[$screen];if ( ! $screen_layout_columns )
$screen_layout_columns = 2;$i = 1;
$return = '<h5>' . __('Screen Layout') . "</h5>\n<div class='columns-prefs'>" . __('Number of Columns:') . "\n";
while ( $i <= $num ) {
$return .= "<label><input type='radio' name='screen_columns' value='$i'" . ( ($screen_layout_columns == $i) ? " checked='checked'" : "" ) . " /> $i</label>\n";
++$i;
}
$return .= "</div>\n";
return $return;
}
if I change the line 3609
$screen_layout_columns = 2;
to
$screen_layout_columns = 1;
It works but for all all post edit and page edit pages as well.
I want to only have 1 column as the default for the dashboard and not effect the post and page edit pages.
Can anyone help me?
Thanks
Cody