Posted By

shufflepath on 03/07/12


Tagged

php wordpress


Versions (?)

Display dashboard in a single column only


 / Published in: PHP
 

  1. function single_screen_columns( $columns ) {
  2. $columns['dashboard'] = 1;
  3. return $columns;
  4. }
  5. add_filter( 'screen_layout_columns', 'single_screen_columns' );
  6. function single_screen_dashboard(){return 1;}
  7. add_filter( 'get_user_option_screen_layout_dashboard', 'single_screen_dashboard' );

Report this snippet  

You need to login to post a comment.