Home / admin / Force dashboard to display a single column only
  • How to Force dashboard to display a single column only

    force-dashboard-to-single-column-only

    Adding this snippet to the functions.php of your wordpress theme will force the wordpress admin dashboard to display in a single column only.

    wordpress snippet : PHP

    <>
    function single_screen_columns( $columns ) {
        $columns['dashboard'] = 1;
        return $columns;
    }
    add_filter( 'screen_layout_columns', 'single_screen_columns' );
    function single_screen_dashboard(){return 1;}
    add_filter( 'get_user_option_screen_layout_dashboard', 'single_screen_dashboard' );
    

    ( WordPress codex functions, hooks, in this snippet. )

    add_filter, get_user_option,