Add Site Links to Admin Sidebar?
I’ve only got two or three sites, and it’s driving me batty to always have to click on ‘My Sites’ then on the ‘Dashboard’ link to navigate around between them.
How can I add these dashboard links directly to this section?
If you use the admin bar, they should be listed there.
Alas, I do not. On a netbook as I travel, and screen real estate is a premium. 🙂
http://wpmututorials.com/how-to/adding-a-menu-to-the-new-network-admin/ – That will tell you how to add a menu
And http://wpmututorials.com/how-to/return-a-list-of-sites-on-the-network/ will tell you how to make a list of all the sites
and there’s even widgets to stuff ’em in the sidebar
Yeah, but not the admin sidebar, which I gathered he wanted.
@ipstenu – that would be correct, sir! Admin only… my hope would be across all the admin dashboards, not just the network admin. :\
Hrm. You’d have to put it in mu-plugins to make the menu show up in all sites AND the network admin. but. BUT.
Have you considered http://wordpress.org/extend/plugins/admin-bar-minimiser/
I hadn’t looked at that little fella yet. Certainly nicer…
but. BUT. (hehe)
I would still rather go the menu route instead of the bar. Sounds like a plugin it is.
EDIT: I wonder if this will fit the bill: http://wordpress.org/extend/plugins/admin-menu-editor/
Just tossing it out there 😉 my Dad likes that one.
To add a menu to the admin pages, read http://codex.wordpress.org/Function_Reference/add_menu_page and http://codex.wordpress.org/Function_Reference/add_submenu_page
I’d probably use
add_submenu_page('index.php',...)to add it to the dashboard.
add_submenu_pageit shall be. Thanks much for the brain power on this — extremely helpful narrowing down exactly what needs to be done.
I did what sounds like what you’re looking for a while back (pre-admin bar), but it probably needs some tweaking depending on how whether you use subdomains or subfolders: http://blog.helenyhou.com/2010/07/wordpress-function-sites-in-dashboard-menu/
I’ve only ever seen evidence that you can’t link externally from the admin menu, so my function does something kind of hacky/ugly that made it work for me. Probably the better thing to do would be to do a redirect in the callback function for the “page” being added to the menu.
- The topic ‘Add Site Links to Admin Sidebar?’ is closed to new replies.