WP My Admin Bar WordPress Plugin

The ‘Wp My Admin Bar‘ Plugin is a Multisite Plugin, which expands on the default WordPress Admin Bar, adding 3 new quick access menus.

The Plugin does not remove or disable the current Admin Bar. The menus are added to the current admin bar, which allows the built in WordPress security features and Admin Bar features to function as you would expect.

WP My Admin Bar WordPress Plugin


Three New Menus Created

Quick and easy access to the WordPress features you use daily.

  • My Sites: Extended menu options, posts, pages, media, plugins, settings, etc…
  • My Cache: Allows for quick access to selected Cache Plugins.
  • My Tools: Web tools for WP Developers and Bloggers.

Other Features Include: Being able to remove the WordPress Logo from the Admin Bar, remove the Howdy statement and for multisite setups: Remove the WP Icon from the My Sites menu and replace it with Site ID’s.

Plugin works with and has been tested on:

  • Multisite – Network Activated
  • Multisite – Site Activated
  • Standalone Installs (non-multisite)

Download > Install > Network Activate / Site Activate > Settings (Network / perSite) > Admin Bar

Download The Plugin

Download at WordPress.org or within your WordPress Admin, access the Plugins Menu > Add New Button and search for: My Admin Bar

Install through the WordPress Admin

  • It is recommended that you use the built in WordPress installer to install plugins.
    • Multisite Networks: Network Admin > Plugins Menu > Add New Button
    • Standalone WordPress: Site Dashboard > Plugins Menu > Add New Button
  • In the Search box, enter: My Admin Bar
  • Click Install Now and proceed through the plugin setup process.
    • Activate / Network Activate the plugin when asked.
    • If you returned to the Plugin Admin, locate “WP My Admin Bar” Plugin and click the Activate link.

FTP Upload and Setup

  • It is recommended that you use the built in WordPress installer to install plugins.
  • Then open the WordPress Admin:
    • Multisite Networks: Network Admin > Plugins Menu
    • Standalone WordPress: Site Dashboard > Plugins Menu
  • Locate the WP My Admin Bar Plugin in your listing of plugins. (sort by Inactive)
  • Click the Activate link to start the plugin.


To adjust the Menu Display Options access the “Admin Bar” link in the Settings menu. For Network Wide settings access the “Admin Bar” page within the Network Admin > Settings Menu.

Breaking It Down

  • Multisite Network: Access the Network Admin > Settings > Admin Bar – Network settings adjust all Websites within the Network.
  • Multisite Standalone Website: Site Dashboard > Settings > Admin Bar – Only adjusts this Websites settings but can be overwritten by Network admin.
  • Standalone WordPress: Site Dashboard > Settings > Admin Bar – Adjusts this Websites Admin Bar settings.

Admin Bar Settings Page

  • The “Menu Display Options” is the “My Sites” “My Cache” and “My Tools” menus displayed on the Admin Bar.
    Select either [show] or [hide] for each menu that you would like to use.
  • The “My Cache Menu Display Options” displays the items within the “My Cache” menu.
    Select [show] ONLY if this WordPress install uses the listed Cache Plugin.

The My Cache Menu

By default the My Cache menu and options are hidden. (turned off)

  • Turn on the My Cache menu under the Menu Display Options settings section.
  • Adjust which cache plugins display under the My Cache Menu Display Options.

Option Data

The Option Data shows you exactly what is being stored on your WordPress install.

The “Wp MyAdminBar” option contains the show/hide rules for the My Sites, Cache and Tools Menus.
The “My Cache Option” contains the show/hide rules for the My Cache menu.

Output Buffering: The settings pages use ob_gzhandler to compress the output of the settings pages.
Transient Cache: Transients are used to store the results of the blog id query that builds the menus.

Custom Settings Option Value: Option contains the rules for the Wp Logo, WP Icon, Howdy statement and Site Id’s being added to the Menus.

Custom Settings Tab

Access the Custom Settings Tab:

  • Multisite Networks: Network
    Admin > Settings > Admin Bar > Custom Settings Tab
  • Multisite Standalone Websites: Dashboard > Settings > Admin Bar > Custom Settings Tab
  • Standalone WordPress: Dashboard > Settings > Admin Bar > Custom Settings Tab

The Custom Settings Tab allows you to adjust the display of the WordPress Logo and Howdy statement within the Admin Bar.

For Multisite Setups: Remove the WP Icon from the Menus and replace it with Site ID’s. This makes the menus snap open a bit faster.

Recommended Setting: Hide the first 3 options (WP logo, Howdy, and WP Icon). Select show for Site ID’s.

References: The WordPress Functions this Plugin utilizes.
Load Time: It’s a fun toy, enjoy it!

Plugin Wishlist

  • Make My-Sites sub-menus float to center or force align bottom.
  • My Sites Menu: Ability to disable options.
  • My Cache Menu: Ability to add unique cache plugin information.
  • My Tools Menu: Ability to add/disable options.
  • Network admin: Display for admin only, users, authors, etc.
  • Network admin: Allow other admins / registered users to have a custom MyAdminBar.
  • Network admin: Add view/adjust settings per user.
  • Network admin: MyAdminBar Positions.
  • Network admin: MyAdminBar Transparency.
  • Menus: Add max number of sites to display in My Sites & My Cache.
  • Menus: Either – Add pages to menus, group menus into sub-sub-groups, or custom load fake menu to select active site (group) list.
  • Menus: Disable query on menus until menu option is activated.


Alpha Release

= 0.1.4 =
* Added wp_nonce_field and check_admin_referer to setting pages & templates.
* Corrected Network Menu var that made the Network Dashboard link not appear.
* Added is_admin and is_network_admin rather than parsing the urls.
* Made sure setting pages & links only load within admins, for proper users.
* Cleaned my_sites, cache & tools menus, made menu calls simpler.
* Removed default Site Menu and replaced with Visit This Website in main My Sites menu.
* Adjusted My Sites menu name on non-multisite Installs.
* Cleaned gettext calls for various menu text options.
* Added new SEO Tool
* Sidebar: Added newly used functions and some new text.
* Added tabs to Network Admin, creating a Custom Settings tab.
* Made settings tab display for Network active, multisite per-site active and standalone wp installs.
* Expanded settings_network.php & settings_sites.php to include new tab.
* New custom settings: hide/show the WordPress Logo, Howdy, Handle, WP Icon in Menus and display Site ID’s next to Sites.
* Added new ‘Visit this Website’ menu with extended ‘This Site’ menu options.
* Note: The Visit This Website menu does not display within the Network Admin or Standalone WP installs.
* Created log-out links within: My Network Admin menu, the Visit this Website menu, and on Standalone WP installs.
* Made several variable names and calls more descriptive, added more comments.
* Modified my_admin_bar.classes.php to become my_admin_bar.class.php – adding a new class call the my_sites, cache and tools menu.
* Corrected issue with uninstall and deactivation not working on multisite standalone site activations.
* Better functionality for standalone wordpress installs.
* Created new file: function.class.php which contains repeat used functions and standalone classes.
* Adjusted repeat calls in the code to use the repeat functions in the new function.class.php file.
* Created upgrade.php: Auto upgrades old option value names to the new names, only runs once.

= 0.1.3 =
* Screenshot correction, again.
* Added release tag to main file.

= 0.1.2 =
* Added root Site Name display back to Admin Bar.
* Generated POT file and set domain for gettext calls.
* Added link to Plugin in settings_sidebar template.
* Screenshot added, I think.

= 0.1.1 =
* Testing how the svn works.
* Corrected display of New Post Option under My Sites menu.
* Corrected wp_blogs to use $wpdb->blogs
* Updates to: Spelling, readme.txt layout, plugin url added.

= 0.1 =
* Created: Feb 12, 2012