Support » Fixing WordPress » Hide dashboard
11 years, 4 months ago
how do i hide the dashboard from my regular users so only the admin can view it ?
oh i figured it out….never mind guys.
The browser cookie must have misled you…
10 years, 10 months ago
How Did you do it?
10 years, 9 months ago
don’t know it this is the correct way, but in wp-admin/menu.php I changed
$menu = array(__(‘Dashboard’), ‘read’, ‘index.php’);
$menu = array(__(‘Dashboard’), ‘edit_posts’, ‘index.php’);
seems to work 🙂
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.
THANK YOU 4hero… you are my hero!
carho219…. where is this miraculous plugin that can “do the same thing”? Does it exist?
10 years, 3 months 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..