Why is a three column dashboard no longer an option with the latest version of WordPress? Is there a way to hack that back?
Why is a three column dashboard no longer an option with the latest version of WordPress? Is there a way to hack that back?
Why did you think it wasn't?
Because since updating to 3.4 when I check "Screen Options" the only Screen Layout options are 1 or 2 columns.
I can't see 3 columns as an option. Is it an invisible option?
That's because the third column is the left hand menu - which always has to be there. The rest of the page is then split into 1 or 2 columns.
I had three columns plus the left hand menu before the update to 3.4.
Not via the core Screen Options you didn't. There has only ever been a choice of 1 or 2 columns.
Um, yes. Via the core Screen Options I did. I reverted one of my blogs back to 3.3.2 and got a screen capture for you.
http://www.missgiggles.com/images/4columns.gif
Why did I have an option of up to 4 columns with 3.3.2 and only up to 2 columns with 3.4?
Forbidden
You don't have permission to access /images/4columns.gif on this server.
I have the option of 1-4 columns (On all my sites, using 3.4).... that's not the norm?
It depends (and always has depended) upon the width of your screen. If you don't have a browser window big enough for 3 or 4 columns, you won't get those options. Nothing has changed as far as I know.
O I C!
I cant see 3 column on screen.
Make your screen wider.
And nothing has changed that I heard of either. it auto adjusts when I'm on Big Bertha (my big monitor) nicely.
Screen shot - http://www.missgiggles.com/blog/?attachment_id=5810
My screen size has not changed. My screen resolution has not changed. I am viewing my blog running 3.3.2 and my blog running 3.4 on the exact same browser. The blog running 3.3.2 has the option of up to four columns (and I've been running it with three). The blog running 3.4 only has the option of up to two columns.
The only thing that has changed is the version of WordPress each blog is running.
Esmi - which is it?
Not via the core Screen Options you didn't. There has only ever been a choice of 1 or 2 columns.
It depends (and always has depended) upon the width of your screen. If you don't have a browser window big enough for 3 or 4 columns, you won't get those options. Nothing has changed as far as I know.
Have I only ever had the option of 1 or 2 columns or has 3 or 4 columns always been an option depending on screen size?
Sorry - I have my browser window at a set size and, what with it being almost midnight last night when I replied to you, I forgot that the number of potential columns increases as the screen/viewport widens. Nothing has changed in this version of WordPress.
I still see it on WP 3.4
Upon reloading the dashboard I too have suddenly lost my 3rd column,
although it was there for a day or two after upgrading last week.
It is not determined by screen size; that would be asinine,
and I have a widescreen.
It is not determined by screen siz
The number of columns available in Screen Options is determined by the width of the current page. This was a known issue with WordPress 3.3 & some browsers. See if the following helps.
1. Switch back to 3 columns (if you haven't already) via Screen Options on the Dashboard
2. Empty your browser cache
3. Close your browser then re-open it.
4. Try a different browser.
5. Try a different machine
6. Try creating another admin user, then logging out of your old admin account and logging in as the new admin user
If you continue to have problems despite carrying out all of these steps, try installing & activating
http://wordpress.org/extend/plugins/use-google-libraries/ to force a true browser flush.
No, see, the problem is there is no option for 3 columns under screen options. It now only shows 1 or 2 columns, so "switch back to 3 columns" (the crux of the problem) is a non-starter.
I have logged out of wordpress and back in, tried other browsers/users,
and am already using google libraries.
Manually inserting a layout_columns record into wp_options did not help
either. This seems to be used in render_screen_layout of wp-admin/includes/screen.php to create the list of radio buttons.
How wide is your screen. I get options for 1,2,3 or 4 columns on my 1600px wide screen.
1440 pixels wide, but to have it be resolution dependent would not only be stupid (let the user have control damnit), it does not seem possible given the current code since the radio buttons are created server side.
My hardware has not changed, yet this morning I have lost my three column layout/ability to have one.
You might think the width dependency is stupid but that is how it works - although I'm pretty sure that you can select 2 columns irrespective of your screen width. It's the 3 & 4 column choices that are screen width dependant. The latter kick in around the 1200-1300 viewport width.
What I've been able to find thus far, is that the radio buttons are there, but that by default wp-admin/css/wp-admin.css hides the options for 3 and 4. I cannot find any code that makes them display, conditionally or otherwise, in PHP or JS. The relevant identifiers are columns-prefs and screen_columns.
*blachh* >-P
I also happen to have an installation of WordPress 3.3.2 running on the same server, and it does show me three columns as it ought.
Have you tried:
- deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- switching to the Twenty Eleven theme to rule out any theme-specific problems.
- resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
Here's the code from wordpress/wp-admin/includes/dashboard.php for version 3.3.2
function wp_dashboard() {
global $screen_layout_columns;
$screen = get_current_screen();
$hide2 = $hide3 = $hide4 = '';
switch ( $screen_layout_columns ) {
case 4:
$width = 'width:25%;';
break;
case 3:
$width = 'width:33.333333%;';
$hide4 = 'display:none;';
break;
case 2:
$width = 'width:50%;';
$hide3 = $hide4 = 'display:none;';
break;
default:
$width = 'width:100%;';
$hide2 = $hide3 = $hide4 = 'display:none;';
}
?>
<div id="dashboard-widgets" class="metabox-holder">
<?php
echo "\t<div id='postbox-container-1' class='postbox-container' style='$width'>\n";
do_meta_boxes( $screen->id, 'normal', '' );
echo "\t</div><div id='postbox-container-2' class='postbox-container' style='{$hide2}$width'>\n";
do_meta_boxes( $screen->id, 'side', '' );
echo "\t</div><div id='postbox-container-3' class='postbox-container' style='{$hide3}$width'>\n";
do_meta_boxes( $screen->id, 'column3', '' );
echo "\t</div><div id='postbox-container-4' class='postbox-container' style='{$hide4}$width'>\n";
do_meta_boxes( $screen->id, 'column4', '' );
?>
</div></div>
<form style="display:none" method="get" action="">
<p>
<?php
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
?>
</p>
</form>
<?php
}
And here's the code for the exact same file from 3.4.1
function wp_dashboard() {
$screen = get_current_screen();
$class = 'columns-' . get_current_screen()->get_columns();
?>
<div id="dashboard-widgets" class="metabox-holder <?php echo $class; ?>">
<div id='postbox-container-1' class='postbox-container'>
<?php do_meta_boxes( $screen->id, 'normal', '' ); ?>
</div>
<div id='postbox-container-2' class='postbox-container'>
<?php do_meta_boxes( $screen->id, 'side', '' ); ?>
</div>
<div id='postbox-container-3' class='postbox-container'>
<?php do_meta_boxes( $screen->id, 'column3', '' ); ?>
</div>
<div id='postbox-container-4' class='postbox-container'>
<?php do_meta_boxes( $screen->id, 'column4', '' ); ?>
</div>
</div>
<?php
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
}
That's a pretty big change in code. Seems to me like it's a change on the WordPress side of things, not an issue on the plugins side of things.
That it's working for most of us and not for some is why we think it's a plugin :)
Yes, it changed. The number of columns picker is still there, and it still works.
WordPress changed. The code actually was changed for column selection. With 3.3, the size of my screen did not change the options I had. With 3.4 it does. The change in code on WordPress is what is making the difference now. It's a change in WordPress code, not a plugin. If you have a wide screen then you still have the options of four columns and you are going to think that those of us with smaller screens are having plugin issues. Before with 3.3 the option of four columns was present regardless of screen width. The code change clearly indicates that it is a WordPress change, not a plugin issue.
The change in code on WordPress is what is making the difference now.
Then why is it working for others but not for you?
This topic has been closed to new replies.