WordPress.org

Forums

[resolved] remove dashboard (5 posts)

  1. kellyputty
    Member
    Posted 7 years ago #

    How does one remove the dashboard from everyone except admin?

  2. kellyputty
    Member
    Posted 7 years ago #

    http://www.deepwave.net/articles/hide_dashboard/
    removes the tabs, however the dashboard is still really there

  3. kellyputty
    Member
    Posted 7 years ago #

    add this to the very top of /wp-admin/index.php:

    header('Location: post.php');
    exit();

    Then open up /wp-admin/menu.php and add // in front of this line:

    $menu[0] = array(__('Dashboard'), 'read', 'index.php');

    ------------------------------

    do both the above and this to get rid of dashboard and profile for non admin users

  4. maduser
    Member
    Posted 7 years ago #

    hi kellyputty,

    that works like charm. wondering how can I redirect users to profile page after doing this.

    many thanks

    Maddy

  5. indiaberry
    Member
    Posted 7 years ago #

    This work for me, too. I am looking for direction to find out how to redirect the user to the profile.

Topic Closed

This topic has been closed to new replies.

About this Topic