How to achieve this order for the dashboard widgets

Hello i am trying to get the widgets to display for all sites in this order (i upload image) but i don't seem to understant how to do it.

The 2 widegts on tops of rows are custom made by Ashok on this thread.

  • Kasia Swiderska
    • Support nomad

    Hi rcbiili,

    To change order in Dahsboard Widget order, your Config in "dashboard-widgets-order.php" file should look like this:

    $dashboard_widgets_order['normal']['core'][] = 'blog_info_widget';
    $dashboard_widgets_order['normal']['core'][] = 'dashboard_right_now';
    $dashboard_widgets_order['normal']['core'][] = 'dashboard_activity';
    $dashboard_widgets_order['normal']['default'][] = 'dashboard_incoming_links';
    $dashboard_widgets_order['side']['core'][] = 'user_info_widget';
    $dashboard_widgets_order['side']['core'][] = 'dashboard_quick_press';
    $dashboard_widgets_order['side']['default'][] = 'dashboard_primary';
    $dashboard_widgets_order['column3']['high'][] = 'dashboard_secondary';   
    $dashboard_widgets_order['column4']['high'][] = 'dashboard_plugins';

    So this is for first widget "$dashboard_widgets_order['normal']['core'][] = 'blog_info_widget'; " and this is for second "$dashboard_widgets_order['side']['core'][] = 'user_info_widget'; ".
    Before saving the file, please remember to change "$dashboard_widgets_order_hash" variable to new hash (you can put it whatever you want) so the order will be updated for all users.

    Kind regards,

  • rcbiili
    • Site Builder, Child of Zeus

    Thanks @Kasia

    I have added the code and the 2 widgets are top are ok. This is how it looks like now.

    As you see the stats widgets is place on the first row at bottom I would like it just under the user info widget.

    Thanks in advance.

  • Kasia Swiderska
    • Support nomad

    Hi rcbiili,

    You have to find the stats widget id and put it in the dashboard-widgets-order.php file, just right after the
    $dashboard_widgets_order['side']['core'][] = 'user_info_widget';
    like this
    $dashboard_widgets_order['side']['core'][] = 'statistics_id_name';
    where the "statistics_id_name" should be name of the widget.
    Change the "$dashboard_widgets_order_hash" variable and save.

    Kind regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.