iamnotagoodartist

WordPress Admin Toolbar Bookmarklet

wptoolbar

Bookmark this and/or drag it into your bookmark toolbar:

WP Toolbar

What it is

A JavaScript bookmarklet for WordPress site administrators and designers.

What it does:

Using jQuery, it appends the default WordPress admin menu to whatever page you’re currently on and styles it with CSS, fixing it to the top right corner. Assuming you’re on a site that’s running WordPress (and it’s installed in the domain’s root), you now have instant access to the entire administrative back end (sans any pages from custom plugins, etc) from the front end.

To remove the the toolbar menu, just re-click the bookmarklet, ad infinitum.

What it doesn’t do

It does not give you access to anything you wouldn’t already have. If you use it on this site, for example, you’ll still have to log in. Also, if the site doesn’t run on WP, you’ll get a whole mess of 404s.

Made using the menu from the most recent WordPress release, 2.8. Tested with FireFox and Safari on Mac. Not tested with IE or Windows. Feedback appreciated.

Updates

GreaseMonkey script (3/3/10)

Hendrik from Germany has made a GreaseMonkey script that automatically loads my WP toolbar when on a specific site. Pretty cool.
http://www.kulturbolschewismus.de/2010/03/03/wordpress-admin-toolbar/
(or translated into English)

Support for folder’d WP and some CSS/JS fixes (3/19/10)

By popular request, I have now added support for WordPress installations not in the root folder. Here’s the bookmarklet for that:

FOLDERNAME WP Toolbar

After you’ve dragged it into your bookmarks toolbar, replace the two instances of FOLDERNAME with the name of your folder. Old bookmarklets without this new variable will continue to work.

I’ve also fixed some minor CSS positioning things and made it check for jQuery before loading it… so it should look nicer and be faster!

Safari Extension (6/19/10)

Dan Schointuch of Semimagic ported my bookmarklet into a native Safari extension. Pretty cool. Read his blog post or get the source on GitHub.

bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Related Posts

82 Responses to "WordPress Admin Toolbar Bookmarklet"

  1. CSS Brigit | WordPress Admin Toolbar Bookmarklet Says:

    WordPress Admin Toolbar Bookmarklet…

    A JavaScript bookmarklet for WordPress site administrators and designers that superficially appends the WP admin menu to the current page, allowing instant access to the whole WP backend from the frontend.

  2. Anonymous Says:

    Hooray! Hooray! Hooray! Beautiful and it works. Great combination! Is there a way to have the script access to the current page id so that when I click “Pages : edit” it takes me right to the editor for the page I’m on?

  3. tommy Says:

    @ anon

    Thanks! No, there’s not really a consistent way to do that; WP themes can tag posts with the ID in any number of ways, if they even do at all. Good thought, though.

  4. Bookmarklet to Quickly Access WordPress Admin Menu « Weblog Tools Collection Says:

    [...] WordPress Admin Toolbar Bookmarklet [via @smashingmag] (No Ratings Yet)  Loading …   Tags: WordPress Tools Visited 4 times, 4 so far today [...]

  5. Mr.JOSE Says:

    Wow… its a great script buddy… Cant you add one more button like [hide] or [close] ?? It wud be a nice addition.. and as the 2nd commenter – Anonymous said cant you add the ability to post the content of the current site??

    Actually as you might know wordpress provides the script right? cant you just add it with a sleek new button?

    BTW, the post to blog script :

    javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.josephilipraja.com/myworld/wp-admin/press-this.php',l=d.location,e=encodeURIComponent,u=f+'?u='+e(l.href)+'&t='+e(d.title)+'&s='+e(s)+'&v=4';a=function(){if(!w.open(u,'t','toolbar=0,resizable=1,scrollbars=1,status=1,width=720,height=570'))l.href=u;};if (/Firefox/.test(navigator.userAgent)) setTimeout(a, 0); else a();void(0)

  6. Mr.JOSE Says:

    Oops.. am sorry…. I mis understood the script!… I thought its a toolbar that would work with all the sites.. my mistake… sorry.. ;) :P

    Anyway this one is another great idea… cool.. I like it.. :D

  7. rick@rickety Says:

    This works great. Thank you for your efforts.

  8. SD Says:

    Excellent idea / implemenation.

    One thing is that many WP sites already have jQuery loaded up, so make the googleapi loading of jQuery conditional ?

    :)

  9. Anuncios Google Says:

    That´s a really good idea!!! Greets, partner, I ´ll test in IE and I´ll tell you if its works allright or not.
    I usually make all my new sites for best results at Google SERPs with WordPress and I think that your bookmarklet its really useful for this objetive.
    Thanks a lot and see you soon!!!

    PD: Sorry about my poor english, I´m from Spain and my grammar is a little bit rusty ;-)

  10. Tony Says:

    PRetty neat idea.

  11. jochen Says:

    Hi,
    how can i use it with a wp blog which is not placed in the root dir.?
    Jochen

  12. Snettsblog Says:

    This makes things alot easier. A bookmarklet just for your wordpress powered blog. Just amazing. Let me test it out.

  13. Hasznos bookmarklet Wordpress-fanoknak | Ráktalicska Says:

    [...] fejlesztő weboldala itt érhető [...]

  14. Bogan Marketing Says:

    Nice thanks, would it be possible to create another menu that lists your blog and auto logs into them? that would be a cool addition.

  15. Mark Says:

    Sometimes the simple ideas are the best, I LIKE IT, thankyou

  16. tommy Says:

    @ Mr.JOSE
    To hide the toolbar, just reclick the bookmarklet. I’ll make that a little clearer in the blog post. (I think you figured out that your other suggestion couldn’t really apply to this bookmarklet, but thanks for the advice.)

    @ SD
    That’s actually a good suggestion. Maybe for the next version, eh?

    @ jochen
    That functionality would require custom values for each individual circumstance, thus no support for it. Feel free to take a look at the JS/CSS (you can find it if you look for it) and make/host your own version.

  17. KL Says:

    This looks like basically the most awesome thing ever. Anyone try this in Google Chrome for a mac? I’ve been phasing out safari, too slow.

  18. Bookmarklet to Quickly Access WordPress Admin Menu | Son Of Byte - Web Design & Development Says:

    [...] WordPress Admin Toolbar Bookmarklet [via @smashingmag] [...]

  19. knowlimit Says:

    What if the WP blog is in a subdomain (mysite.com/blog/)?

    Doesn’t seem to work; since it keep trying to access the top-level.

  20. tommy Says:

    @ knowlimit
    That’s not a subdomain. That’s a folder. See above.

  21. BlogPremiere » Blog Archive » Wordpress Admin Menu Bookmarklet Says:

    [...] can find out more over here – at the very least, it’s a very nice implementation of [...]

  22. Joost de Valk Says:

    Why I only found this today, I don’t know, but suffice to say that you’ve already earned a spot in my heart. I’ve also included this bookmarklet in Quix‘s default command set, under the command ‘wptool’ :)

  23. Robert Basil Says:

    Also works great with Crome for the Mac. Thanks!

  24. Geoff Snyder Says:

    What a neat little tool. I have just started using this for my leadership and team collaboration blog and have found it to be a big help. I am currently using WordPress 2.9.2 and it works with seamlessly. Thanks again!

  25. smays.com Says:

    We tremble before your awesomeness. Too cool for school.

  26. WordPress控制面板书签插件 « Wordpress插件 Says:

    [...] 插件没有下载地址,需要测试的可以访问:http://iamnotagoodartist.com/other/wordpress-admin-toolbar-bookmarklet/ [...]

  27. brubrant Says:

    Works fine on Chrome for Linux.

    Thanks!

  28. WordPress Toolbar im Browser Says:

    [...] aktuellen URL, die ihr gerade besucht. So habt ihr immer alle nötigen Links auf die Schnelle. [via] Wenn du hier neu bist, dann abonniere am besten den RSS-Feed um auf dem Laufenden zu bleiben. [...]

  29. links for 2010-03-03 Says:

    [...] 3rd, 2010 · No Comments WordPress Admin Toolbar Bookmarklet – Other – iamnotagoodartist A JavaScript bookmarklet for WordPress site administrators and designers. What it does: Using [...]

  30. Karen Says:

    really handy, thanks! I’ll use this so much I’ll wear it out.

  31. WP Toolbar (Tip of the Day #0022) | WordPressOfTheday.com Says:

    [...] found an interesting tool from IAmNotAGoodArtist.com and thought I would share this with [...]

  32. Deine Mutter Says:

    Wow, tolles Teil! Echt praktisch.

  33. Worpress araç çubuğu kısayolları | tuguts.com Says:

    [...] (yerimi) bahsetmek istiyorum kısaca. Bookmarklet’in orjinal sayfasına bu linkten ulaşabilirsiniz.  Bookmarklet’i hazırlayan Tommy‘e ulaştım ve bookmarklet’i [...]

  34. وردپرسی دلپذیرتر با Admin Toolbar Bookmarklet « Silvercover’s Weblog Says:

    [...] محبوبیت  سیستم مدیریت محتوی وردپرس به دلایل ویژگی های منحصر به فردی هست که این سیستم در بطنش داره. از لذت توسعه اون گرفته تا برآورده کردن نیاز کاربران مبتدی این سیستم سراسر جذاب و پویا و به اعتقاد من استاندارد هست. این بار من قصد دارم تا یکی از کشفیاتم خودم رو در حین وبگردی به شما همراهان معرفی کنم. اون چیزی نیست جز Admin Toolbar Bookmarklet. [...]

  35. links for 2010-03-09 « 個人的な雑記 Says:

    [...] WordPress Admin Toolbar Bookmarklet – Other – iamnotagoodartist (tags: bookmarklet wordpress) [...]

  36. Bookmarklet to Quickly Access WordPress Admin Menu | pro2go Designs Blog Says:

    [...] WordPress Admin Toolbar Bookmarklet [via @smashingmag] [...]

  37. Dalton Says:

    It’s too bad this tool doesn’t work with sites that aren’t installed in the root – all of my sites are installed in a subdirectory. It looks like a really cool function.

  38. Jim Says:

    I agree that it need’s an other-than-Root option.

    How a quick “ask” window:

    WordPress Directory:
    __ Root
    __ Other: __________
    Submit

  39. Jim Says:

    Also easy to add to (for example) a footer with something like:

    <?php
    if ( is_user_logged_in() ) {
    echo '<a href=”//yourdomain.com/location/wptoolbar.js\’;})();” rel=”nofollow”>WP Toolbar</a>’;
    };
    ?>

    Assuming you’ve grabbed the JS, CSS and graphics, of course.

    Must be a way to make a plugin to do all this. Says the guy who has never made a plugin OR learned JQuery.

    Maybe it’s time to start.

  40. Jim Says:

    Oops, code didn’t work. Sorry. But you get the idea. If I could figure it out, you can.

  41. tommy Says:

    @ Jim
    Fixed that link code. (You wanted to use HTML entities instead of < and >!)

    As for that plugin, everyone, feel free to have at it. Check the bookmarklet’s link for the proper loading JS and follow its URL to grab the JS itself.

  42. Travis Quinnelly Says:

    Like Dalton, all my WP installations are not installed at the root level of my domains, therefore this handy-dandy script will not work. :(

  43. tommy Says:

    @ jochen, knowlimit, Dalton, Jim, Travis Quinnelly
    Support for folders added!

    @ SD
    It’s conditional now!

    Thanks for all the support and suggestions, guys and gals.

  44. G Focus » WordPress 快捷管理工具条:WordPress Admin Toolbar Bookmarklet Says:

    [...] WordPress 各个菜单呢?我们可以使用 WordPress Admin Toolbar Bookmarklet 来实现快捷访问 WordPress 后台管理菜单。WordPress Admin Toolbar Bookmarklet [...]

  45. .::ich-wars-nicht.ch::. » Webdev Links 3 – Wordpress Says:

    [...] WordPress Admin Toolbar Bookmarklet [...]

  46. Bill Says:

    Would you consider augmenting this so that it works with WPMU (subdirectory install)? Currently, the bookmarklet always shows the main blog menu. It would be nice if it could know if the person is looking at a sub-blog and show its menu. I think this would mean changing the links from /wp-admin/… to something else.

  47. Bill Says:

    The FOLDERNAME bookmarklet helps… but it would be cool if the bookmarklet could work with a dynamic foldername, and set it automatically.

  48. Quix Help – Quix « yugenro Says:

    [...] Open a WordPress Toolbar. [...]

  49. WordPres Admin Bar – Wordpress Toolbar : Tutoriale Wordpress Says:

    [...] Pagina oficiala WP-Toolbar Related Posts :Teme/Plugin-uri WordPress pentru mobil (4) – WP ViewMobileUna dintre cele mai simple plugin-uri WordPress pentru vizionarea continutului de pe mobil este …Instalare locala WordPress prin WAMP Inainte de a va apuca de modificari ale fisierelor "php" din WordPress, va recomand sa desca … [...]

  50. Ian Says:

    Thank you, Tommy, for the great tool. I’ve updated the code to work for WordPress MU and presumably the way multi-platform WordPress 3.0 will work as well. It assumes you’re working on the following directory structure: http://www.domain.com/subblog/path/to/more

    Just minify below for the bookmarklet:

    javascript:(function(){
    var a=document.location.href;
    var b=’http://wptoolbar.iamnotagoodartist.com/wptoolbar.js’;
    var c=a.replace(/^http:\/\/[^\/]+(\/(\w+))\/.*$/,’$2′);
    if (c!=a) {b+=’?f=’+c;}
    document.body.appendChild(document.createElement(‘script’)).src=b;
    })();

  51. David Says:

    Could you pack the whole thing, to host on own web server? The .js and .css.

  52. DesigNet » WordPressユーザーに役に立つかも知れないツールやソフトいろいろ Says:

    [...] 管理画面のメニューを見ているページ上に表示させるブックマークレットです。設置しているディレクトリによっては使用できません。記事書きました。 WP Toolbar [...]

  53. WordPress Admin Toolbar Bookmarklet « { Process } Design + Marketing + Internet Business Solutions. Made by Process. Says:

    [...] More http://iamnotagoodartist.com/other/wordpress-admin-toolbar-bookmarklet Your may also like:Map Envelope… Neon Video Game w/ Freebords… Accept Payments anywhere 1… [...]

  54. WordPress控制面板书签插件 | WP博客插件家园 Says:

    [...] 插件没有下载地址,需要测试的可以访问:http://iamnotagoodartist.com/other/wordpress-admin-toolbar-bookmarklet/ 本文标签:WordPress Admin Toolbar Bookmarklet, wordpress插件 所属分类:后台类插件, 安全类插件 链接地址:http://www.wordpressplugin.us/index.php/archives/31.html 浏览前页:WordPress淘宝客插件(更新) 浏览后页: [...]

  55. 21 Useful Browser Bookmarklets | Artiss.co.uk Says:

    [...] 13. WP Toolbar Appends the default WordPress admin menu to whatever page you’re currently on (assuming you’re on a site that’s running WordPress) and styles it with CSS, fixing it to the top right corner. [Homepage] [...]

  56. 25 nützliche Tools für Webdesigner | Lesezeichen, Styleguides, Tools, Typografie, Unicode, Webdesign | Dr. Web Magazin Says:

    [...] bookmarklet Ähnlich praktisch allerdings rein auf WordPress zugeschnitten ist das WP-Toolbar bookmarklet. Einmal installiert, blendet ein Klick aufs Bookmarklet eine zusätzliche Symbolleiste im [...]

  57. 扩展专辑:WP博客好助手——WP Toolbar _ SafariX.net_Safari中文网站 Says:

    [...] 这个扩展是基于这个Bookmarklet编写的, 效果就是在当前页面加入一个浮动的工具栏,可以很方便的管理文章,评论和页面等。 [...]

  58. 50 Useful Tools and Resources For Web Designers - Smashing Magazine Says:

    [...] that lets you both access your bookmarks and perform various operations on other websites.WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The [...]

  59. 50 Useful Tools and Resources For Web Designers |  Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  60. 50 Useful Tools and Resources For Web Designers | Web Design Cool Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  61. TG Designer » 50 Useful Tools and Resources For Web Designers Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  62. 50 Useful Tools and Resources For Web Designers | subliminal-solutions.co.za Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  63. 50 Useful Tools and Resources For Web Designers | LionWebMedia.com Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  64. Mr. Giải Pháp Số Says:

    That’s very useful tool! Thanks a lot!
    I’ll use it and sharing to my friend!

  65. Jane Says:

    great toolbar, thanks for sharing!

  66. 50 Useful Tools and Resources For Web Designers « Perfect WP Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  67. 走向云和山的彼端 |走向云和山的彼端 Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  68. 50 Useful Tools and Resources For Web Designers « Om Net Solution Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  69. 50 Useful Tools and Resources For Web Designers | i know idea Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  70. links for 2010-08-03 « A Web editor's tale Says:

    [...] WordPress-Toolbar bookmarklet (tags: tools wordpress bookmarklet blogging productivity) [...]

  71. ROJO PIXEL: El mejor sitio de diseño del mundo Says:

    [...] WP-Toolbar bookmarklet This tool will save a lot of clicks as you edit or update posts on your WordPress-powered blog. The bookmarklet gives you quick access to the entire administrative back-end directly in your browser’s window. There is also a GreaseMonkey script that automatically loads the toolbar when you visit a particular website. [...]

  72. WP Toolbar Brings The Backend To The Frontend | ChurchCrunch Says:

    [...] WPToolbar Bookmarket seeks to ease the pain a little [...]

  73. Jon Says:

    Great functionality, and I love the fact that you can easily host this on your own server. However, it doesn’t address one of the most tedious aspects of editing WordPress (for me anyway) constantly switching back and forth between the frontend and the admin. Any thoughts about having the backend from the script load into a lightbox, right on top of the page you are working on? Make your changes, close the lightbox, and refresh the page (or have the page refresh on save), and bam! you’re in business. :)

  74. Barra de admin donde quieras | Ayuda WordPress Says:

    [...] falta de una barra al estilo de WordPress.com hay un Javascript en forma de “bookmarlet”, WP Toolbar, que, añadido a la barra de favoritos de tu navegador te permite acceder a las [...]

  75. Barra de admin donde quieras | Todo bit Says:

    [...] falta de una barra al estilo de WordPress.com hay un Javascript en forma de “bookmarlet”, WP Toolbar, que, añadido a la barra de favoritos de tu navegador te permite acceder a las [...]

  76. Barra de administración en cualquier lugar | CMSTECNO Says:

    [...] WP Toolbar es una práctica aplicación de modo de marcador para todo tipo de navegadores permite contar con la barra de Admin en todo momento y lugar de manera fácil y rápida. [...]

  77. WordPress Admin Toolbar Bookmarklet for Quick Access | Metro Big Sale Says:

    [...] WordPress Admin Toolbar Bookmarklet is a JavaScript bookmarklet for WordPress site administrators and designers. [...]

  78. WordPress Admin Toolbar Bookmarklet for Quick Access | WordPress plugin form, plugins and wordpress themes blog Says:

    [...] WordPress Admin Toolbar Bookmarklet is a JavaScript bookmarklet for WordPress site administrators and designers. [...]

  79. FaceWord - 50 outils et ressources utiles pour les concepteurs Web Says:

    [...] bookmarklet WP-barre d’outils Cet outil permettra d’économiser beaucoup de clics que vous modifier ou mettre à jour les messages sur votre blog alimenté par WordPress. Le bookmarklet vous donne un accès rapide à l’administration toute-back end directement dans la fenêtre de votre navigateur. Il ya aussi un script GreaseMonkey qui charge automatiquement la barre d’outils lorsque vous visitez un site Web particulier. [...]

  80. allinfo Says:

    this is good!
    Its save my time a lot
    thx dude!

  81. allinfo Says:

    bdw, why this dont work while im already on wp-admin page?

  82. WordPress Admin Toolbar Bookmarklet for Quick Access | Blognin Says:

    [...] = 'http://widgets.digg.com/buttons.js'; s1.parentNode.insertBefore(s, s1); })(); TweetShareEmailWordPress Admin Toolbar Bookmarklet is a JavaScript bookmarklet for WordPress site administrators and [...]

Leave a Reply