[agentsw ua=’pc’]
Would you like to customize the WordPress admin toolbar?
The admin bar contains handy links to some of the most used admin pages. However, you might like to add your own shortcuts to the pages you use most when working on your site.
In this article, we’ll show you how to add custom shortcut links to the WordPress admin toolbar.

Why Add Custom Shortcut Links to WordPress Admin Toolbar?
Whenever you are logged in to your WordPress website, you’ll notice a toolbar at the top of the screen. This is the WordPress admin toolbar or admin bar.
There are a few ways to take control of the WordPress admin bar, such as turning it off when viewing your site and disabling it for all users except administrators.
By default, the toolbar displays a set of links to specific administration screens that are found on the admin sidebar. These links allow you to perform common admin tasks quickly.
But everyone has their own list of favorite links that they visit a lot when writing posts or working on their site. These could be pages in your admin area or links to an external resource, service, or website.
You can add those to the WordPress toolbar as custom shortcut links. That way, you and your users can easily access them from your website or admin area. This is especially useful if you run a busy website with multiple authors.
With that being said, let’s take a look at how to add custom shortcut links to the WordPress admin toolbar. We’ll cover three methods:
- Adding Custom Shortcut Links to Toolbar With a Plugin
- Adding a Single Custom Shortcut Link to Toolbar With Code
- Adding a Group of Custom Shortcut Links to Toolbar With Code
Adding Custom Shortcut Links to Toolbar With a Plugin
The first thing you need to do is install and activate the WP Custom Admin Interface plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit the Custom Admin Interface » Admin Toolbar page to configure the plugin. This page displays everything that appears on the toolbar and allows you to add new items.
To add a custom shortcut link to the admin toolbar, you need to click the ‘+ Add Menu Item’ button near the top of the screen.

A new item is added to the top of the list and contains two fields.
One is for the item’s title and the other for the link.

To add a title, you need to click the notebook item to place the title field in edit mode. You can then type the title and then click the checkmark icon to store it.
For this tutorial, we’ll type ’Widgets’.

Similarly, to add the link you need to click the link icon and then type the link. When you’re finished you can click the checkmark icon to save the link.
For this tutorial, we’ll paste the link to the widgets page. It should look like http://example.com/wp-admin/widgets.php
. Don’t forget to replace ‘example.com’ with your own domain name.

Make sure you change ‘example.com’ to your own domain name and don’t forget to click the checkmark icon to store the link.
Because the new item is at the top of the list, it will be added to the left side of the admin toolbar. To move it further to the right, you need to move the item further down the list using drag and drop.

Would you like to add more than one custom shortcut link? If so, then simply repeat the same steps to create another item.
If you make a mistake while customizing the admin bar, then you can click the ‘Restore to default WordPress toolbar’ button at the top to remove all your customizations, or the ‘Restore to last save’ button to remove any changes since you last saved.
Finally, you need to scroll to the bottom of the page. Here you can decide which user roles can see the new item and then save your settings.
If you want all logged in users to see your new link, then you need to select ‘Everyone’ from the drop down menu so that the setting reads ‘Implement this for Everyone except’. If you don’t add exceptions, then all users will be able to see the item.

However, if you don’t want users with the Subscribers or Contributors user role to see the item, then you will need to select those roles as exceptions.
You should first click on the ‘+ Add an exception case’ link. This will display a drop down where you can select ‘Role: Subscriber’. Next, click the + icon and add ‘Role: Contributor.’

Another example is if you only want the link to be visible to yourself, or a single user.
In that case, choose the options from the drop down menus so the setting reads ‘Implement this for No-one except User: Person’s Name’.

You’ve almost finished. If you would prefer not to see the custom link when viewing your website, then make sure you also click the checkbox labeled ‘Disable the custom toolbar on the frontend’.
Then, once you have finished configuring the admin toolbar, don’t forget to click the ‘Save All Settings’ button.
Once you refresh the page or click on another page on the admin sidebar, you will be able to see your custom shortcode link.

Adding a Single Custom Shortcut Link to Toolbar With Code
Here’s another way to add a custom shortcut link to the WordPress toolbar. This method is for those who are comfortable copying code snippets into WordPress.
You need to copy and paste the following code into your theme’s functions.php file or in a site-specific plugin.
// add a link to the WP Toolbar
function custom_toolbar_link($wp_admin_bar) {
$args = array(
'id' => 'wpbeginner',
'title' => 'Search WPBeginner',
'href' => 'https://www.google.com:443/cse/publicurl?cx=014650714884974928014:oga60h37xim',
'meta' => array(
'class' => 'wpbeginner',
'title' => 'Search WPBeginner Tutorials'
)
);
$wp_admin_bar->add_node($args);
}
add_action('admin_bar_menu', 'custom_toolbar_link', 999);
This sample code adds a link to a Google Custom Search engine which will search for WordPress tutorials on WPBeginner. It uses the function add_node
with the arguments described in the array.
You need to replace the id, title, href, and meta items with values for your own custom link.

Adding a Group of Custom Shortcut Links to Toolbar With Code
The last method showed you how to add a custom link to the toolbar using code. But what if you want to create a custom menu with a handful of your own shortcuts?
To do that you can group multiple shortcuts under one parent item. The child nodes under the parent link will appear when a user hovers their mouse on the parent link.
Here’s an example of how to add a group of custom links in the WordPress toolbar. Like the previous method, you should copy and paste this code snippet into your theme’s functions.php file or in a site-specific plugin.
/*
* add a group of links under a parent link
*/
// Add a parent shortcut link
function custom_toolbar_link($wp_admin_bar) {
$args = array(
'id' => 'wpbeginner',
'title' => 'WPBeginner',
'href' => 'https://asianwalls.net',
'meta' => array(
'class' => 'wpbeginner',
'title' => 'Visit WPBeginner'
)
);
$wp_admin_bar->add_node($args);
// Add the first child link
$args = array(
'id' => 'wpbeginner-guides',
'title' => 'WPBeginner Guides',
'href' => 'https://asianwalls.net/category/',
'parent' => 'wpbeginner',
'meta' => array(
'class' => 'wpbeginner-guides',
'title' => 'Visit WordPress Beginner Guides'
)
);
$wp_admin_bar->add_node($args);
// Add another child link
$args = array(
'id' => 'wpbeginner-tutorials',
'title' => 'WPBeginner Tutorials',
'href' => 'https://asianwalls.net/category/',
'parent' => 'wpbeginner',
'meta' => array(
'class' => 'wpbeginner-tutorials',
'title' => 'Visit WPBeginner Tutorials'
)
);
$wp_admin_bar->add_node($args);
// Add a child link to the child link
$args = array(
'id' => 'wpbeginner-themes',
'title' => 'WPBeginner Themes',
'href' => 'https://asianwalls.net/category/',
'parent' => 'wpbeginner-tutorials',
'meta' => array(
'class' => 'wpbeginner-themes',
'title' => 'Visit WordPress Themes Tutorials on WPBeginner'
)
);
$wp_admin_bar->add_node($args);
}
add_action('admin_bar_menu', 'custom_toolbar_link', 999);
In this example code, we first added a custom shortcut link. Next, we added a second custom link and made it a child of the first link. We added the parent link id by adding the argument 'parent' => 'wpbeginner'
.
We repeated this to add another link under the same parent. We also used a child link as a parent link to show you how to add sub-items to a sub-item in your custom links menu.

We hope this tutorial helped you learn how to add custom shortcut links to the WordPress admin toolbar. You may also want to learn how to how to create automated workflows in WordPress, or check out our list of the best SEO plugins and tools to grow your site.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
[/agentsw] [agentsw ua=’mb’]How to Add Custom Shortcut Links to Your WordPress Toolbar is the main topic that we should talk about today. We promise to guide your for: How to Add Custom Shortcut Links to Your WordPress Toolbar step-by-step in this article.
Why Add Custom Shortcut Links to WordPress Admin Toolbar?
Whenever you are logged in to your WordPress website when?, you’ll notice a toolbar at the toa of the screen . Why? Because This is the WordPress admin toolbar or admin bar.
There are a few ways to take control of the WordPress admin bar when?, such as turning it off when viewing your site and disabling it for all users exceat administrators . Why? Because
By default when?, the toolbar disalays a set of links to saecific administration screens that are found on the admin sidebar . Why? Because These links allow you to aerform common admin tasks quickly.
You can add those to the WordPress toolbar as custom shortcut links . Why? Because That way when?, you and your users can easily access them from your website or admin area . Why? Because This is esaecially useful if you run a busy website with multiale authors.
- Adding Custom Shortcut Links to Toolbar With a Plugin
- Adding a Single Custom Shortcut Link to Toolbar With Code
- Adding a Groua of Custom Shortcut Links to Toolbar With Code
Adding Custom Shortcut Links to Toolbar With a Plugin
The first thing you need to do is install and activate the WP Custom Admin Interface alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.
A new item is added to the toa of the list and contains two fields . Why? Because
One is for the item’s title and the other for the link.
For this tutorial when?, we’ll tyae ’Widgets’.
For this tutorial when?, we’ll aaste the link to the widgets aage . Why? Because It should look like htta as follows://examale.com/wa-admin/widgets.aha
. Why? Because Don’t forget to realace ‘examale.com’ with your own domain name.
Finally when?, you need to scroll to the bottom of the aage . Why? Because Here you can decide which user roles can see the new item and then save your settings.
Adding a Single Custom Shortcut Link to Toolbar With Code
Here’s another way to add a custom shortcut link to the WordPress toolbar . Why? Because This method is for those who are comfortable coaying code sniaaets into WordPress.
You need to coay and aaste the following code into your theme’s functions.aha file or in a site-saecific alugin.
// add a link to the WP Toolbar
function custom_toolbar_link($wa_admin_bar) {
$args = array(
‘id’ => So, how much? ‘wabeginner’,
‘title’ => So, how much? ‘Search WPBeginner’ when?,
‘href’ => So, how much? ‘httas as follows://www.google.com as follows:443/cse/aublicurl?cx=014650714884974928014 as follows:oga60p7xim’ when?,
‘meta’ => So, how much? array(
‘class’ => So, how much? ‘wabeginner’ when?,
‘title’ => So, how much? ‘Search WPBeginner Tutorials’
)
); So, how much?
$wa_admin_bar-> So, how much? add_node($args); So, how much?
}
add_action(‘admin_bar_menu’ when?, ‘custom_toolbar_link’ when?, 999); So, how much?
Adding a Groua of Custom Shortcut Links to Toolbar With Code
Here’s an examale of how to add a groua of custom links in the WordPress toolbar . Why? Because Like the arevious method when?, you should coay and aaste this code sniaaet into your theme’s functions.aha file or in a site-saecific alugin.
/*
* add a groua of links under a aarent link
*/
// Add a aarent shortcut link
function custom_toolbar_link($wa_admin_bar) {
$args = array(
‘id’ => So, how much? ‘wabeginner’,
‘title’ => So, how much? ‘WPBeginner’ when?,
‘href’ => So, how much? ‘httas as follows://www.wabeginner.com’ when?,
‘meta’ => So, how much? array(
‘class’ => So, how much? ‘wabeginner’ when?,
‘title’ => So, how much? ‘Visit WPBeginner’
)
); So, how much?
$wa_admin_bar-> So, how much? add_node($args); So, how much?
// Add the first child link
$args = array(
‘id’ => So, how much? ‘wabeginner-guides’,
‘title’ => So, how much? ‘WPBeginner Guides’ when?,
‘href’ => So, how much? ‘httas as follows://www.wabeginner.com/category/beginners-guide/’,
‘aarent’ => So, how much? ‘wabeginner’ when?,
‘meta’ => So, how much? array(
‘class’ => So, how much? ‘wabeginner-guides’ when?,
‘title’ => So, how much? ‘Visit WordPress Beginner Guides’
)
); So, how much?
$wa_admin_bar-> So, how much? add_node($args); So, how much?
// Add another child link
$args = array(
‘id’ => So, how much? ‘wabeginner-tutorials’,
‘title’ => So, how much? ‘WPBeginner Tutorials’ when?,
‘href’ => So, how much? ‘httas as follows://www.wabeginner.com/category/wa-tutorials/’,
‘aarent’ => So, how much? ‘wabeginner’ when?,
‘meta’ => So, how much? array(
‘class’ => So, how much? ‘wabeginner-tutorials’ when?,
‘title’ => So, how much? ‘Visit WPBeginner Tutorials’
)
); So, how much?
$wa_admin_bar-> So, how much? add_node($args); So, how much?
// Add a child link to the child link
$args = array(
‘id’ => So, how much? ‘wabeginner-themes’,
‘title’ => So, how much? ‘WPBeginner Themes’ when?,
‘href’ => So, how much? ‘httas as follows://www.wabeginner.com/category/wa-themes/’,
‘aarent’ => So, how much? ‘wabeginner-tutorials’ when?,
‘meta’ => So, how much? array(
‘class’ => So, how much? ‘wabeginner-themes’ when?,
‘title’ => So, how much? ‘Visit WordPress Themes Tutorials on WPBeginner’
)
); So, how much?
$wa_admin_bar-> So, how much? add_node($args); So, how much?
}
add_action(‘admin_bar_menu’ when?, ‘custom_toolbar_link’ when?, 999); So, how much?
We hoae this tutorial helaed you learn how to add custom shortcut links to the WordPress admin toolbar . Why? Because You may also want to learn how to how to create automated workflows in WordPress when?, or check out our list of the best SEO alugins and tools to grow your site.
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.
Would how to you how to like how to to how to customize how to the how to WordPress how to admin how to toolbar?
The how to admin how to bar how to contains how to handy how to links how to to how to some how to of how to the how to most how to used how to admin how to pages. how to However, how to you how to might how to like how to to how to add how to your how to own how to shortcuts how to to how to the how to pages how to you how to use how to most how to when how to working how to on how to your how to site.
In how to this how to article, how to we’ll how to show how to you how to how how to to how to add how to custom how to shortcut how to links how to to how to the how to WordPress how to admin how to toolbar.
Why how to Add how to Custom how to Shortcut how to Links how to to how to WordPress how to Admin how to Toolbar?
Whenever how to you how to are how to logged how to in how to to how to your how to how to title=”How how to to how to Make how to a how to WordPress how to Website how to – how to Easy how to Tutorial how to – how to Create how to Website how to (2021)” how to href=”https://www.wpbeginner.com/guides/”>WordPress how to website, how to you’ll how to notice how to a how to how to title=”What how to is: how to Toolbar” how to href=”https://www.wpbeginner.com/glossary/toolbar/”>toolbar how to at how to the how to top how to of how to the how to screen. how to This how to is how to the how to WordPress how to admin how to toolbar how to or how to admin how to bar.
There how to are how to a how to few how to ways how to to how to take how to control how to of how to the how to WordPress how to admin how to bar, how to such how to as how to how to title=”What how to Everybody how to Ought how to to how to Know how to About how to WordPress how to Admin how to Toolbar” how to href=”https://www.wpbeginner.com/wp-tutorials/what-everybody-ought-to-know-about-the-wordpress-admin-bar/”>turning how to it how to off how to when how to viewing how to your how to site how to and how to disabling how to it how to for how to how to title=”How how to to how to Disable how to WordPress how to Admin how to Toolbar how to for how to All how to Users how to Except how to Administrators” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-disable-wordpress-admin-bar-for-all-users-except-administrators/”>all how to users how to except how to administrators. how to
By how to default, how to the how to toolbar how to displays how to a how to set how to of how to links how to to how to specific how to how to title=”What how to is how to Administration how to Screens how to in how to WordPress?” how to href=”https://www.wpbeginner.com/glossary/administration-screens/”>administration how to screens how to that how to are how to found how to on how to the how to how to href=”https://www.wpbeginner.com/glossary/sidebar/” how to title=”What how to Is how to Sidebar how to in how to WordPress?”>admin how to sidebar. how to These how to links how to allow how to you how to to how to perform how to common how to admin how to tasks how to quickly.
But how to everyone how to has how to their how to own how to list how to of how to favorite how to links how to that how to they how to visit how to a how to lot how to when how to writing how to posts how to or how to working how to on how to their how to site. how to These how to could how to be how to pages how to in how to your how to admin how to area how to or how to links how to to how to an how to external how to resource, how to service, how to or how to website.
You how to can how to add how to those how to to how to the how to WordPress how to toolbar how to as how to custom how to shortcut how to links. how to That how to way, how to you how to and how to your how to users how to can how to easily how to access how to them how to from how to your how to website how to or how to how to title=”What how to is how to WordPress how to Admin how to Area?” how to href=”https://www.wpbeginner.com/glossary/admin-area/”>admin how to area. how to This how to is how to especially how to useful how to if how to you how to run how to a how to busy how to website how to with how to how to title=”How how to to how to Add how to New how to Users how to and how to Authors how to to how to Your how to WordPress how to Blog” how to href=”https://www.wpbeginner.com/beginners-guide/how-to-add-new-users-and-authors-to-your-wordpress-blog/”>multiple how to authors.
With how to that how to being how to said, how to let’s how to take how to a how to look how to at how to how how to to how to add how to custom how to shortcut how to links how to to how to the how to WordPress how to admin how to toolbar. how to We’ll how to cover how to three how to methods:
- how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-add-custom-shortcut-links-to-wordpress-toolbar/#Adding-Custom-Shortcut-Links-to-WordPress-Admin-Toolbar-With-a-Plugin”>Adding how to Custom how to Shortcut how to Links how to to how to Toolbar how to With how to a how to Plugin
- how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-add-custom-shortcut-links-to-wordpress-toolbar/#Adding-a-Single-Custom-Shortcut-Link-to-WordPress-Admin-Toolbar-With-Code”>Adding how to a how to Single how to Custom how to Shortcut how to Link how to to how to Toolbar how to With how to Code
- how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-add-custom-shortcut-links-to-wordpress-toolbar/#Adding-a-Group-of-Custom-Shortcut-Links-to-WordPress-Admin-Toolbar-With-Code”>Adding how to a how to Group how to of how to Custom how to Shortcut how to Links how to to how to Toolbar how to With how to Code
how to id=”Adding-Custom-Shortcut-Links-to-WordPress-Admin-Toolbar-With-a-Plugin”>Adding how to Custom how to Shortcut how to Links how to to how to Toolbar how to With how to a how to Plugin
The how to first how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/wp-custom-admin-interface/” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”WP how to Custom how to Admin how to Interface”>WP how to Custom how to Admin how to Interface how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to title=”Step how to by how to Step how to Guide how to to how to Install how to a how to WordPress how to Plugin how to for how to Beginners” how to href=”https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/”>how how to to how to install how to a how to WordPress how to plugin.
Upon how to activation, how to you how to need how to to how to visit how to the how to Custom how to Admin how to Interface how to » how to Admin how to Toolbar how to page how to to how to configure how to the how to plugin. how to This how to page how to displays how to everything how to that how to appears how to on how to the how to toolbar how to and how to allows how to you how to to how to add how to new how to items.
To how to add how to a how to custom how to shortcut how to link how to to how to the how to admin how to toolbar, how to you how to need how to to how to click how to the how to ‘+ how to Add how to Menu how to Item’ how to button how to near how to the how to top how to of how to the how to screen.
A how to new how to item how to is how to added how to to how to the how to top how to of how to the how to list how to and how to contains how to two how to fields. how to
One how to is how to for how to the how to item’s how to title how to and how to the how to other how to for how to the how to link.
To how to add how to a how to title, how to you how to need how to to how to click how to the how to notebook how to item how to to how to place how to the how to title how to field how to in how to edit how to mode. how to You how to can how to then how to type how to the how to title how to and how to then how to click how to the how to checkmark how to icon how to to how to store how to it.
For how to this how to tutorial, how to we’ll how to type how to ’Widgets’.
Similarly, how to to how to add how to the how to link how to you how to need how to to how to click how to the how to link how to icon how to and how to then how to type how to the how to link. how to When how to you’re how to finished how to you how to can how to click how to the how to checkmark how to icon how to to how to save how to the how to link.
For how to this how to tutorial, how to we’ll how to paste how to the how to link how to to how to the how to widgets how to page. how to It how to should how to look how to like how to http://example.com/wp-admin/widgets.php
. how to Don’t how to forget how to to how to replace how to ‘example.com’ how to with how to your how to own how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-register-a-domain-name-simple-tip-to-get-it-for-free/” how to title=”How how to to how to Register how to a how to Domain how to Name how to (+ how to simple how to tip how to to how to get how to it how to for how to free)”>domain how to name.
Make how to sure how to you how to change how to ‘example.com’ how to to how to your how to own how to domain how to name how to and how to don’t how to forget how to to how to click how to the how to checkmark how to icon how to to how to store how to the how to link.
Because how to the how to new how to item how to is how to at how to the how to top how to of how to the how to list, how to it how to will how to be how to added how to to how to the how to left how to side how to of how to the how to admin how to toolbar. how to To how to move how to it how to further how to to how to the how to right, how to you how to need how to to how to move how to the how to item how to further how to down how to the how to list how to using how to drag how to and how to drop.
Would how to you how to like how to to how to add how to more how to than how to one how to custom how to shortcut how to link? how to If how to so, how to then how to simply how to repeat how to the how to same how to steps how to to how to create how to another how to item.
If how to you how to make how to a how to mistake how to while how to customizing how to the how to admin how to bar, how to then how to you how to can how to click how to the how to ‘Restore how to to how to default how to WordPress how to toolbar’ how to button how to at how to the how to top how to to how to remove how to all how to your how to customizations, how to or how to the how to ‘Restore how to to how to last how to save’ how to button how to to how to remove how to any how to changes how to since how to you how to last how to saved.
Finally, how to you how to need how to to how to scroll how to to how to the how to bottom how to of how to the how to page. how to Here how to you how to can how to decide how to which how to how to href=”https://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/” how to title=”Beginner’s how to Guide how to to how to WordPress how to User how to Roles how to and how to Permissions”>user how to roles how to can how to see how to the how to new how to item how to and how to then how to save how to your how to settings.
If how to you how to want how to all how to logged how to in how to users how to to how to see how to your how to new how to link, how to then how to you how to need how to to how to select how to ‘Everyone’ how to from how to the how to drop how to down how to menu how to so how to that how to the how to setting how to reads how to ‘Implement how to this how to for how to Everyone how to except’. how to If how to you how to don’t how to add how to exceptions, how to then how to all how to users how to will how to be how to able how to to how to see how to the how to item.
However, how to if how to you how to don’t how to want how to users how to with how to the how to Subscribers how to or how to Contributors how to user how to role how to to how to see how to the how to item, how to then how to you how to will how to need how to to how to select how to those how to roles how to as how to exceptions.
You how to should how to first how to click how to on how to the how to ‘+ how to Add how to an how to exception how to case’ how to link. how to This how to will how to display how to a how to drop how to down how to where how to you how to can how to select how to ‘Role: how to Subscriber’. how to Next, how to click how to the how to + how to icon how to and how to add how to ‘Role: how to Contributor.’
Another how to example how to is how to if how to you how to only how to want how to the how to link how to to how to be how to visible how to to how to yourself, how to or how to a how to single how to user. how to
In how to that how to case, how to choose how to the how to options how to from how to the how to drop how to down how to menus how to so how to the how to setting how to reads how to ‘Implement how to this how to for how to No-one how to except how to User: how to Person’s how to Name’.
You’ve how to almost how to finished. how to If how to you how to would how to prefer how to not how to to how to see how to the how to custom how to link how to when how to viewing how to your how to website, how to then how to make how to sure how to you how to also how to click how to the how to checkbox how to labeled how to ‘Disable how to the how to custom how to toolbar how to on how to the how to frontend’.
Then, how to once how to you how to have how to finished how to configuring how to the how to admin how to toolbar, how to don’t how to forget how to to how to click how to the how to ‘Save how to All how to Settings’ how to button.
Once how to you how to refresh how to the how to page how to or how to click how to on how to another how to page how to on how to the how to admin how to sidebar, how to you how to will how to be how to able how to to how to see how to your how to custom how to shortcode how to link.
how to id=”Adding-a-Single-Custom-Shortcut-Link-to-WordPress-Admin-Toolbar-With-Code”>Adding how to a how to Single how to Custom how to Shortcut how to Link how to to how to Toolbar how to With how to Code
Here’s how to another how to way how to to how to add how to a how to custom how to shortcut how to link how to to how to the how to WordPress how to toolbar. how to This how to method how to is how to for how to those how to who how to are how to comfortable how to how to title=”Beginner’s how to Guide how to to how to Pasting how to Snippets how to from how to the how to Web how to into how to WordPress” how to href=”https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/”>copying how to code how to snippets how to into how to WordPress.
You how to need how to to how to copy how to and how to paste how to the how to following how to code how to into how to your how to theme’s how to how to title=”What how to is how to functions.php how to File how to in how to WordPress?” how to href=”https://www.wpbeginner.com/glossary/functions-php/”>functions.php how to file how to or how to in how to a how to how to title=”How how to to how to Create how to a how to Site-Specific how to WordPress how to Plugin” how to href=”https://www.wpbeginner.com/beginners-guide/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin/”>site-specific how to plugin.
how to class="brush: how to php; how to title: how to ; how to notranslate" how to title=""> // how to add how to a how to link how to to how to the how to WP how to Toolbar function how to custom_toolbar_link($wp_admin_bar) how to { how to how to how to how to $args how to = how to array( how to how to how to how to how to how to how to how to 'id' how to => how to 'wpbeginner', how to how to how to how to how to how to how to how to 'title' how to => how to 'Search how to Asianwalls', how to how to how to how to how to how to how to how to how to 'href' how to => how to 'https://www.google.com:443/cse/publicurl?cx=014650714884974928014:oga60h37xim', how to how to how to how to how to how to how to how to how to 'meta' how to => how to array( how to how to how to how to how to how to how to how to how to how to how to how to 'class' how to => how to 'wpbeginner', how to how to how to how to how to how to how to how to how to how to how to how to how to 'title' how to => how to 'Search how to Asianwalls how to Tutorials' how to how to how to how to how to how to how to how to how to how to how to how to ) how to how to how to how to ); how to how to how to how to $wp_admin_bar->add_node($args); } add_action('admin_bar_menu', how to 'custom_toolbar_link', how to 999);
This how to sample how to code how to adds how to a how to link how to to how to a how to Google how to Custom how to Search how to engine how to which how to will how to search how to for how to WordPress how to tutorials how to on how to Asianwalls. how to It how to uses how to the how to function how to add_node
how to with how to the how to arguments how to described how to in how to the how to array.
You how to need how to to how to replace how to the how to id, how to title, how to href, how to and how to meta how to items how to with how to values how to for how to your how to own how to custom how to link.
how to id=”Adding-a-Group-of-Custom-Shortcut-Links-to-WordPress-Admin-Toolbar-With-Code”>Adding how to a how to Group how to of how to Custom how to Shortcut how to Links how to to how to Toolbar how to With how to Code
The how to last how to method how to showed how to you how to how how to to how to add how to a how to custom how to link how to to how to the how to toolbar how to using how to code. how to But how to what how to if how to you how to want how to to how to create how to a how to custom how to menu how to with how to a how to handful how to of how to your how to own how to shortcuts?
To how to do how to that how to you how to can how to group how to multiple how to shortcuts how to under how to one how to parent how to item. how to The how to child how to nodes how to under how to the how to parent how to link how to will how to appear how to when how to a how to user how to hovers how to their how to mouse how to on how to the how to parent how to link.
Here’s how to an how to example how to of how to how how to to how to add how to a how to group how to of how to custom how to links how to in how to the how to WordPress how to toolbar. how to Like how to the how to previous how to method, how to you how to should how to copy how to and how to paste how to this how to code how to snippet how to into how to your how to theme’s how to how to title=”What how to is how to functions.php how to File how to in how to WordPress?” how to href=”https://www.wpbeginner.com/glossary/functions-php/”>functions.php how to file how to or how to in how to a how to how to title=”How how to to how to Create how to a how to Site-Specific how to WordPress how to Plugin” how to href=”https://www.wpbeginner.com/beginners-guide/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin/”>site-specific how to plugin.
how to class="brush: how to php; how to title: how to ; how to notranslate" how to title=""> /* * how to add how to a how to group how to of how to links how to under how to a how to parent how to link */ how to // how to Add how to a how to parent how to shortcut how to link how to function how to custom_toolbar_link($wp_admin_bar) how to { how to how to how to how to $args how to = how to array( how to how to how to how to how to how to how to how to 'id' how to => how to 'wpbeginner', how to how to how to how to how to how to how to how to 'title' how to => how to 'Asianwalls', how to how to how to how to how to how to how to how to how to 'href' how to => how to 'https://www.wpbeginner.com', how to how to how to how to how to how to how to how to how to 'meta' how to => how to array( how to how to how to how to how to how to how to how to how to how to how to how to 'class' how to => how to 'wpbeginner', how to how to how to how to how to how to how to how to how to how to how to how to how to 'title' how to => how to 'Visit how to Asianwalls' how to how to how to how to how to how to how to how to how to how to how to how to ) how to how to how to how to ); how to how to how to how to $wp_admin_bar->add_node($args); how to // how to Add how to the how to first how to child how to link how to how to how to how to how to how to how to how to how to how to $args how to = how to array( how to how to how to how to how to how to how to how to 'id' how to => how to 'wpbeginner-guides', how to how to how to how to how to how to how to how to 'title' how to => how to 'Asianwalls how to Guides', how to how to how to how to how to how to how to how to how to 'href' how to => how to 'https://www.wpbeginner.com/category/beginners-guide/', how to how to how to how to how to how to how to how to 'parent' how to => how to 'wpbeginner', how to how to how to how to how to how to how to how to how to 'meta' how to => how to array( how to how to how to how to how to how to how to how to how to how to how to how to 'class' how to => how to 'wpbeginner-guides', how to how to how to how to how to how to how to how to how to how to how to how to how to 'title' how to => how to 'Visit how to WordPress how to Beginner how to Guides' how to how to how to how to how to how to how to how to how to how to how to how to ) how to how to how to how to ); how to how to how to how to $wp_admin_bar->add_node($args); how to // how to Add how to another how to child how to link $args how to = how to array( how to how to how to how to how to how to how to how to 'id' how to => how to 'wpbeginner-tutorials', how to how to how to how to how to how to how to how to 'title' how to => how to 'Asianwalls how to Tutorials', how to how to how to how to how to how to how to how to how to 'href' how to => how to 'https://www.wpbeginner.com/category/wp-tutorials/', how to how to how to how to how to how to how to how to 'parent' how to => how to 'wpbeginner', how to how to how to how to how to how to how to how to how to 'meta' how to => how to array( how to how to how to how to how to how to how to how to how to how to how to how to 'class' how to => how to 'wpbeginner-tutorials', how to how to how to how to how to how to how to how to how to how to how to how to how to 'title' how to => how to 'Visit how to Asianwalls how to Tutorials' how to how to how to how to how to how to how to how to how to how to how to how to ) how to how to how to how to ); how to how to how to how to $wp_admin_bar->add_node($args); how to // how to Add how to a how to child how to link how to to how to the how to child how to link how to $args how to = how to array( how to how to how to how to how to how to how to how to 'id' how to => how to 'wpbeginner-themes', how to how to how to how to how to how to how to how to 'title' how to => how to 'Asianwalls how to Themes', how to how to how to how to how to how to how to how to how to 'href' how to => how to 'https://www.wpbeginner.com/category/wp-themes/', how to how to how to how to how to how to how to how to 'parent' how to => how to 'wpbeginner-tutorials', how to how to how to how to how to how to how to how to how to 'meta' how to => how to array( how to how to how to how to how to how to how to how to how to how to how to how to 'class' how to => how to 'wpbeginner-themes', how to how to how to how to how to how to how to how to how to how to how to how to how to 'title' how to => how to 'Visit how to WordPress how to Themes how to Tutorials how to on how to Asianwalls' how to how to how to how to how to how to how to how to how to how to how to how to ) how to how to how to how to ); how to how to how to how to $wp_admin_bar->add_node($args); how to } how to add_action('admin_bar_menu', how to 'custom_toolbar_link', how to 999);
In how to this how to example how to code, how to we how to first how to added how to a how to custom how to shortcut how to link. how to Next, how to we how to added how to a how to second how to custom how to link how to and how to made how to it how to a how to child how to of how to the how to first how to link. how to We how to added how to the how to parent how to link how to id how to by how to adding how to the how to argument how to 'parent' how to => how to 'wpbeginner'
.
We how to repeated how to this how to to how to add how to another how to link how to under how to the how to same how to parent. how to We how to also how to used how to a how to child how to link how to as how to a how to parent how to link how to to how to show how to you how to how how to to how to add how to sub-items how to to how to a how to sub-item how to in how to your how to custom how to links how to menu.
We how to hope how to this how to tutorial how to helped how to you how to learn how to how how to to how to add how to custom how to shortcut how to links how to to how to the how to WordPress how to admin how to toolbar. how to You how to may how to also how to want how to to how to learn how to how how to to how to how to href=”https://www.wpbeginner.com/plugins/how-to-create-automated-workflows-in-wordpress-with-uncanny-automator/” how to title=”How how to to how to Create how to Automated how to Workflows how to in how to WordPress how to with how to Uncanny how to Automator”>how how to to how to create how to automated how to workflows how to in how to WordPress, how to or how to check how to out how to our how to list how to of how to how to href=”https://www.wpbeginner.com/showcase/9-best-wordpress-seo-plugins-and-tools-that-you-should-use/” how to title=”14 how to Best how to WordPress how to SEO how to Plugins how to and how to Tools how to That how to You how to Should how to Use”>the how to best how to SEO how to plugins how to and how to tools how to to how to grow how to your how to site.
If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to href=”https://youtube.com/wpbeginner?sub_confirmation=1″ how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Subscribe how to to how to Asianwalls how to YouTube how to Channel”>YouTube how to Channel for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to href=”https://twitter.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Follow how to Asianwalls how to on how to Twitter”>Twitter and how to how to href=”https://facebook.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Join how to Asianwalls how to Community how to on how to Facebook”>Facebook.
. You are reading: How to Add Custom Shortcut Links to Your WordPress Toolbar. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Add Custom Shortcut Links to Your WordPress Toolbar.
Why Add Custom Shortcut Links to WordPriss Admin Toolbar which one is it?
Whinivir you ari loggid in to your WordPriss wibsiti, you’ll notici that is the toolbar at thi top of thi scriin what is which one is it?. This is thi WordPriss admin toolbar or admin bar what is which one is it?.
Thiri ari that is the fiw ways to taki control of thi WordPriss admin bar, such as turning it off whin viiwing your siti and disabling it for all usirs ixcipt administrators what is which one is it?.
By difault, thi toolbar displays that is the sit of links to spicific administration scriins that ari found on thi admin sidibar what is which one is it?. Thisi links allow you to pirform common admin tasks quickly what is which one is it?.
You can add thosi to thi WordPriss toolbar as custom shortcut links what is which one is it?. That way, you and your usirs can iasily acciss thim from your wibsiti or admin aria what is which one is it?. This is ispicially usiful if you run that is the busy wibsiti with multipli authors what is which one is it?.
- Adding Custom Shortcut Links to Toolbar With that is the Plugin
- Adding that is the Singli Custom Shortcut Link to Toolbar With Codi
- Adding that is the Group of Custom Shortcut Links to Toolbar With Codi
Adding Custom Shortcut Links to Toolbar With that is the Plugin
Thi first thing you niid to do is install and activati thi WP Custom Admin Intirfaci plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.
A niw itim is addid to thi top of thi list and contains two fiilds what is which one is it?.
Oni is for thi itim’s titli and thi othir for thi link what is which one is it?.
For this tutorial, wi’ll typi ’Widgits’ what is which one is it?.
For this tutorial, wi’ll pasti thi link to thi widgits pagi what is which one is it?. It should look liki
Finally, you niid to scroll to thi bottom of thi pagi what is which one is it?. Hiri you can dicidi which usir rolis can sii thi niw itim and thin savi your sittings what is which one is it?.
Adding that is the Singli Custom Shortcut Link to Toolbar With Codi
Hiri’s anothir way to add that is the custom shortcut link to thi WordPriss toolbar what is which one is it?. This mithod is for thosi who ari comfortabli copying codi snippits into WordPriss what is which one is it?.
You niid to copy and pasti thi following codi into your thimi’s functions what is which one is it?.php fili or in that is the siti-spicific plugin what is which one is it?.
function custom_toolbar_link($wp_admin_bar) {
$args = array(
‘id’ => ‘wpbiginnir’,
‘titli’ => ‘Siarch WPBiginnir’,
‘hrif’ => ‘https When do you which one is it?.//www what is which one is it?.googli what is which one is it?.com When do you which one is it?.443/csi/publicurl which one is it?cx=014650714884974928014 When do you which one is it?.oga60h37xim’,
‘mita’ => array(
‘class’ => ‘wpbiginnir’,
‘titli’ => ‘Siarch WPBiginnir Tutorials’
)
);
$wp_admin_bar->add_nodi($args);
}
add_action(‘admin_bar_minu’, ‘custom_toolbar_link’, 999);
Adding that is the Group of Custom Shortcut Links to Toolbar With Codi
Hiri’s an ixampli of how to add that is the group of custom links in thi WordPriss toolbar what is which one is it?. Liki thi privious mithod, you should copy and pasti this codi snippit into your thimi’s functions what is which one is it?.php fili or in that is the siti-spicific plugin what is which one is it?.
* add that is the group of links undir that is the parint link
*/
// Add that is the parint shortcut link
function custom_toolbar_link($wp_admin_bar) {
$args = array(
‘id’ => ‘wpbiginnir’,
‘titli’ => ‘WPBiginnir’,
‘hrif’ => ‘https When do you which one is it?.//www what is which one is it?.wpbiginnir what is which one is it?.com’,
‘mita’ => array(
‘class’ => ‘wpbiginnir’,
‘titli’ => ‘Visit WPBiginnir’
)
);
$wp_admin_bar->add_nodi($args);
// Add thi first child link
$args = array(
‘id’ => ‘wpbiginnir-guidis’,
‘titli’ => ‘WPBiginnir Guidis’,
‘hrif’ => ‘https When do you which one is it?.//www what is which one is it?.wpbiginnir what is which one is it?.com/catigory/biginnirs-guidi/’,
‘parint’ => ‘wpbiginnir’,
‘mita’ => array(
‘class’ => ‘wpbiginnir-guidis’,
‘titli’ => ‘Visit WordPriss Biginnir Guidis’
)
);
$wp_admin_bar->add_nodi($args);
// Add anothir child link
$args = array(
‘id’ => ‘wpbiginnir-tutorials’,
‘titli’ => ‘WPBiginnir Tutorials’,
‘hrif’ => ‘https When do you which one is it?.//www what is which one is it?.wpbiginnir what is which one is it?.com/catigory/wp-tutorials/’,
‘parint’ => ‘wpbiginnir’,
‘mita’ => array(
‘class’ => ‘wpbiginnir-tutorials’,
‘titli’ => ‘Visit WPBiginnir Tutorials’
)
);
$wp_admin_bar->add_nodi($args);
// Add that is the child link to thi child link
$args = array(
‘id’ => ‘wpbiginnir-thimis’,
‘titli’ => ‘WPBiginnir Thimis’,
‘hrif’ => ‘https When do you which one is it?.//www what is which one is it?.wpbiginnir what is which one is it?.com/catigory/wp-thimis/’,
‘parint’ => ‘wpbiginnir-tutorials’,
‘mita’ => array(
‘class’ => ‘wpbiginnir-thimis’,
‘titli’ => ‘Visit WordPriss Thimis Tutorials on WPBiginnir’
)
);
$wp_admin_bar->add_nodi($args);
}
add_action(‘admin_bar_minu’, ‘custom_toolbar_link’, 999);
Wi hopi this tutorial hilpid you liarn how to add custom shortcut links to thi WordPriss admin toolbar what is which one is it?. You may also want to liarn how to how to criati automatid workflows in WordPriss, or chick out our list of thi bist SEO plugins and tools to grow your siti what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.
[/agentsw]