How to Add Shortlink Menu Item in WordPress Admin Bar

What is: Admin Bar
Kathryn Reese

The admin bar is a floating bar that contains useful administration screen links such as add a new post, see pending comments, edit your profile etc. It can be extended by plugins to add additional functionality for example SEO and more. The admin bar was added to WordPress in version 3.1. For registered users, admin bar is turned on for both viewing the site or the WordPress admin area (Dashboard). However, you can turn it off by going to Users » Your Profile.

How to Add Shortlink Menu Item in WordPress Admin Bar
Becky Gardner

In WordPress 3.3, in an effort to minimize clutter, WordPress UI team revamped the admin bar. In the process, they took away a quite useful feature “Shortlink” menu from the admin bar. We’re sure the reasoning probably was that not enough folks utilize that feature however from all the power users we have talked with, they all said they found this feature quite handy. For WPBeginner, we have a branded shortlink (, so we needed this feature badly. We asked the developers of the plugin to add this feature in their plugin because we use them for automatically generating branded short url. When no action was taken, we dugg in the core and it was quite easy to re-add the menu item back. So we added the one line of code, and there we have it. In this article, we will show you how you can add the Shortlink Menu back to your WordPress 3.3 admin bar.

Be the first to comment

Leave a Reply

Your email address will not be published.