• Hi there,

    i want to place all the widgets in one column for all users..
    When i use the screenoptions in the admin part and check the box ‘1 column’ than this only works for the admin and not for other roles.
    Does anyone knows how i can change the adminpart for the other roles?

    hope someone have a answer

    thanks
    Rick

Viewing 1 replies (of 1 total)
  • Thread Starter Rick.spijker

    (@rickspijker)

    already found it..
    add this to function.php and it works

    function wpse126301_dashboard_columns() {
    add_screen_option(
    ‘layout_columns’,
    array(
    ‘max’ => 2,
    ‘default’ => 1
    )
    );
    }
    add_action( ‘admin_head-index.php’, ‘wpse126301_dashboard_columns’ );

Viewing 1 replies (of 1 total)
  • The topic ‘Screenoptions and columns’ is closed to new replies.