Plugin nebyl testován na 3 nejnovějších verzích WordPressu. Nemusí už být tedy podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může být nestabilní.

Admin Bar Tools


The plugin adds a new tab in your admin bar with simple but useful indications and tools.

  • Displays the number of queries in your page and the amount of time to generate the page.
  • Displays php memory usage, php memory limit, and php version.
  • Display WP_DEBUG state and error reporting value.

In your site front-end:

  • List the template and all template parts used in the current page (template parts added with get_template_part()). Compatible with WooCommerce.
  • WP_Query: click the $wp_query item will open a lightbox with the content of $wp_query. Click the lightbox title to reload the value, click outside the lightbox to close it.

In your site administration:

  • Current screen: a dropdown containing lots of things:
  1. Three lists of useful hooks (actions). The indicator to the right of the line tells you how many times the hook has been triggered (a „x“ means the plugin doesn’t know, because the hook occurs after the admin bar). A „P“ means the hook has a parameter: hover it for more details. Click a hook (on its text) to auto-select its code, for example: click admin_init to select add_action( 'admin_init', '' );.
  2. $…now: this dropdown contains the value of the well-known variables $pagenow, $typenow and $taxnow.
  3. Finally, you can know the current page id and base.

You can decide who’s gonna use this plugin (go to your profile page for all the settings). This way, the plugin’s items won’t show up to other users (your client for example).

Version 3 is not tested with old versions of WordPress yet.


  • Angličtina
  • Francouština

Important note: browser requirement

You’ll need a modern browser to use correctly this plugin. I used some CSS3 features without fallback to keep it simple (you don’t work with a dinosaur, right?).

Snímky obrazovky

  • Admin side: list the most important hooks "before headers".
  • Admin side: click a hook, you're ready to copy/paste.
  • Front side: see the WP_Query object value.
  • Front side: see the template and list all template parts used in the current page.
  • By the way, WooCommerce templates are also listed.
  • The settings in your profile page.


  1. Extract the plugin folder from the downloaded ZIP file.
  2. Upload the sf-admin-bar-tools folder to your wp-content/plugins/ directory.
  3. Activate the plugin from the „Plugins“ page.

Časté dotazy

None, yet.
Check out the plugin page on my blog for more infos or tips (sorry guys, it’s in French, but feel free to leave a comment in English if you need help).


21. 12. 2018
This is one of those plugins I use on every WordPress project. The UI/UX is excellent, it's always there in the admin bar, you don't need to load anything. It's just a pity it's not updated to the latest WordPress versions. I sure hope this is not abandoned. Thanks for sharing your work, @greglone.
24. 1. 2017
I'm using this wonderfull tool in all my project and ask my studients to use it when they dev for WordPress. Make a great job
Přečtěte si všech 7 recenzí


Admin Bar Tools je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.


Plugin „Admin Bar Tools“ byl přeložen do 1 jazyku. Děkujeme všem překladatelům za jejich pomoc.

Přeložte “Admin Bar Tools” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Přehled změn


  • 2016/11/27
  • Ready for WP 4.7.
  • Fixed php warnings related to the new WP_Hook class. Thanks Sébastien Serre for alerting me.


  • 2016/04/03
  • Ready for WP 4.5.
  • Code quality improvements.


  • 2015/11/07
  • Bugfix: avoid annoying message caused by is_embed() in WP 4.4.0.


  • 2015/06/08
  • Bugfix: avoid php notices when no template parts are found.
  • Improvement: the „Hide WP SEO“ checkbox also removes the fields in taxonomy screens now.
  • Removed all unused old files. SVN, I hate you so much.


  • 2015/03/30
  • Two years without any update: it’s time to rebuild everything from the ground with unicorns and kittens!
  • The main focus of this release is to repair broken things and remove obsolete features. It’s a major rewrite.
  • New: in front-end, list the template and all template parts used in the current page. Compatible with WooCommerce.
  • New: if WP SEO is installed, you can remove all its columns et metaboxes (they bore me).
  • New: if WPML is installed, you will have a link to the „hidden tools“ (dangerous weapons that will blow up your site if you don’t know what you do ( ゚Д゚)<!!).
  • Removed: the admin bar can no longer be shrinked.
  • Removed: coworking feature. Did somebody use it? It was a big mess for only this „tiny“ thing.
  • Changed: the settings are in your profile page. Some of them are now user preferences.
  • Improved: more hooks listed in the admin area.
  • Improved: display the number of times the hooks are hit (for real this time).
  • Improved: hook code selection.
  • Improved: the „disable auto-save“ feature now works with new WordPress releases. It also removes auto-lock, auth-check („XXX is currently editing this post“), and all the things related to Heartbeat.
  • Todo: meh.


  • 2013/01/26
  • Bugfix in settings page (a missing BR tag)


  • 2013/01/26
  • New: Auto „subscribe“ when the plugin is activated. No need to rush to the settings page after activation now.
  • New tool: pre_print_r(). It’s a kind of improved print_r() to use where you need: wrap with a <pre> tag, choose how to display it (or not) to other users with 2 parameters.
  • New: add your own options in the settings page. See the two action hooks ‚sf-abt-settings‘ and ‚sf-abt-preferences‘. Now there’s a new system to deal with the plugin options, see the ‚sf_abt_default_options‘, ‚sf_abt_sanitization_functions‘ and ‚sf_abt_sanitize_settings‘ filters.
  • New section „Personal preferences“ in the plugin settings page, with the two following options:
  • The cowork tree and statuses are refreshed every 5 minutes and on window focus. Now you can disable this.
  • When you’re on a post edit screen, WordPress autosave your post every minute. Now you can disable this.
  • New: Enable the „All Options“ options menu.
  • Enhancement: if you use the Debug Bar plugin, its admin bar item has an icon on a small screen now (icon from
  • Fix: in rares occasions, the admin submenus were displayed under content.
  • Fix: use wp_get_theme() only if exists (WP 3.4).
  • Fix: check WordPress version.


  • 2012/10/17
  • Bugfix in settings page


  • 2012/10/16 – Major release
  • Bugfix: jQuery is now launched correctly in themes where it’s not already present.
  • Enhancement: the main item is now located at the far right of the admin bar. I think it’s more convenient for the „retract“ functionality.
  • Enhancement: now there’s a small indicator for the „Fix/unfix admin menu“ functionality.
  • Enhancement: the $wp_query lightbox works on a 404 page.
  • New tool: cowork.
  • New indicators: php memory, php version, WP_DEBUG state, error_reporting level, current front-end template.
  • New tool: hooks list in administration.
  • Thanks a lot to juliobox for some of the awesome ideas 🙂


  • 2012/06/16
  • Minor CSS fix for WP 3.4: the floated admin menu was partially hidden under the admin bar.


  • 2012/06/10 – First public release