WordPress.org

Ready to get started?Download WordPress

Forums

Hide dashboard (9 posts)

  1. shada
    Member
    Posted 8 years ago #

    how do i hide the dashboard from my regular users so only the admin can view it ?

  2. shada
    Member
    Posted 8 years ago #

    oh i figured it out....never mind guys.

  3. schestowitz
    Member
    Posted 8 years ago #

    The browser cookie must have misled you...

  4. daann
    Member
    Posted 7 years ago #

    How Did you do it?

  5. 4hero
    Member
    Posted 7 years ago #

    don't know it this is the correct way, but in wp-admin/menu.php I changed

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

    to

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

    seems to work :)

  6. carho219
    Member
    Posted 7 years ago #

    It will still load though when you first log in. Your hack only updates the admin menu.

    You can do the same with a plugin and also replace the dashboard with something else if you want to... That way you don't need to hack it again when you update wordpress or reinstall.

  7. syncbox
    Member
    Posted 7 years ago #

    THANK YOU 4hero... you are my hero!

    Casey

  8. syncbox
    Member
    Posted 7 years ago #

    carho219.... where is this miraculous plugin that can "do the same thing"? Does it exist?

  9. patkhoo
    Member
    Posted 7 years ago #

    I too wanted to have this feature, and came across this thread.. In the end, I managed to figure out how to do this and made a plugin out of it. Check out http://www.deepwave.net/articles/hide_dashboard/ for the plugin..
    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic