How To Customize WordPress Admin Toolbar And Hide Unusable Item

How To Customize WordPress Admin Toolbar And Hide Unusable Item

When you have different options to click you become experimental towards it. The same can happen to your WordPress website too.

Each and every menu displayed in WordPress represents a feature which used to customize WordPress. If people are experimental toward this your site might be stuck in some troubles. This usually happens when you add other authors and editors to your website.

If you run a multi-author site then you must have allowed the user to post. At this stage, you need to clean up your WordPress admin area and hide the unnecessary item from your WordPress menus.

Here, in this post, we will explain you to Customize WordPress admin toolbar. Before we go far in the topic let’s understand what WordPress menu does.

What WordPress menu does?

The WordPress admin menu consists many options that link the users to other editing and customization process done in wordPress.

For example, the WordPress menu has an option of ‘Post’. This option can lead you to All post, Add New post and Edit Post.

Another example in the menu is the plugin through which you can add activate and delete the plugins. Which is preferred to done by admin only.

Such action you must need to hide in your menus for editors and other authors. You can deactivate items based on user’s roles and accordingly build different admin interface for users with several roles and capabilities on your website.

Now, you can proceed to Customize WordPress admin toolbar by hiding the unnecessary item from WordPress admin.

Hide Unnecessary Items From WordPress Admin

There are many items in your WordPress admin area which you don’t want to utilize by others. such as dashboard widget, admin bar, post edit area etc. And to hide these items in WordPress the first name comes in mind is Adminimize.

Adminimize plugin:

Adminimize

Adminimize is a WordPress plugin used to clean up WordPress menu. The plugin modifies the administration backend and allows the user to assign access to a certain area of action. The plugin will allow you to activate and deactivate every area of menu and submenu.

Furthermore, to start with plugin first you need to install and activate the WordPress plugin. For information about plugin installation, read our blog How to Install a Plugin in WordPress?

After activation, go to the Settings > Adminimize to configure the plugin settings.

adminimize-menu Manage WordPress toolbar

The settings page has a mini menu. It separates the settings page into the several sections for different WordPress admin screens.

If you want to go to each option then click on each link in the mini menu. In each section, you will see many items that you can change and deactivate. Also, you will notice that there is each option has checkboxes for all WordPress users roles.

deactivate-items

When you have checked to deactivate some items then you have to click on the “Update Options >” button which is below any section to save your changes.

Although, we want to tell you that your changes will not be visible on the plugin’s settings page. If you want to see your changes then you have to open any other admin page in a new browser tab.

Here, we will show you every item in the mini menu and also, how to change their settings.

Backend Options

In the Adminimize plugin settings screen, all the sections will not have checkboxes. The backend section has different look. This section permits you to set global options for all users in the admin area.

backend-options

In this, the first menu is to configure the user info menu. This menu view on the top right corner of the admin screen with a user avatar. You can select to hide it, display user and log out, display the logout link only.

The next option is to select where to redirect users when they click on the user info link. If you want to change this, you have to change the user info menu to anything other which default or hide.

You have to click on the update option which is below to store your settings. Now, you can change the redirection option and set to the front page of your website.

Next option is the footer that permits you to hide the footer from all the admin. Now, the next option is the timestamp. When you are working on a post then the timestamp option is hidden behind an edit link which is next to the published information.

timestamp

If you want to schedule a post, you have to click on the edit link to display the timestamp. In the backend options section, you can choose to activate which is next to the timestamp option to make visible.

WordPress hides some categories in the categories meta box on the post edit screen. You can change this activity by selecting activate next to the Category Height option. If you do this then the meta category meta box will adjust the height to show all the categories.

The advice in the footer option permits you to keep your own text in the footer area of all WordPress admin pages and this can be used for adding shortcuts, branding etc.

The last option is to set a redirection for the dashboard. If you want to use this you require deactivating the dashboard.

Global Options

This option permits you to activate or deactivate settings for the specific user roles. In this, the first option is to display or hide the admin bar. The admin bar section permits you to modify the menus in the admin bar, this checkbox will switch off the admin bar for the selected user roles.

globaloptions

Now, the Favorites section is not available in the WordPress and the next some options are screen meta, screen options, and contextual help and this will deactivate the help and screen options section from WordPress admin page.

On your WordPress website, users can go to their profiles and change the admin color scheme. If you want to deactivate this feature then you can deactivate the admin color scheme for selected user roles.

Now, remove WordPress dashboard widgets for users other than admin.

Hiding WordPress Dashboard Widgets

To do this, you have to go to the dashboard. This will permit Adminimize to load your dashboard widgets. Now, you have to go to Settings > Adminimize and click Dashboard Options link from the mini menu or go to the Dashboard options section. Now, you can hide an activity widget, QuickPress widget, WordPress News widget.

removing-dashboard-widgets

Menu Options

This option permits you to display or hide from your WordPress menu bar.

menubar

Adminimize will display you an option for every item and all its sub-menu items. Also, it will display your menus added by your WordPress plugins and themes. You can check menus and you want to deactivate fir different user roles on your WordPress website.

menuoptions

Write Options – Post, Page, and Post Types

Also, you can change the meta boxes and write panels in the WordPress posts and pages edit area. To do this, just click on the Write Options -Post or Write Options -Page from the mini menu in Adminimize settings. You can hide almost all the items which appear on the write screen.

modifying-write-screens

The first some options permits you to display or hide different meta boxes and sections from your post edit screen. Also, it permits you to hide items from the Quick Edit area.

Widget Options

The next option is the Widget options. This section permits you to display or hide items from the widget screen and you can display and hide widget ready areas and sidebars.

Also, you can hide inactive widget section along with hiding individual widgets from the list of available widgets.

widgetoptions

WP Nav Menu Options

This section permits you to control Appearance > Menus screen. You can display and hide categories, pages, posts, or custom link section from the menu screen.

nav-menu-options

Set Theme

This option permits you to set a WordPress admin area color scheme for your users. To do this, click on the Load User Data and after that, the plugin will load all users.

loaduserdata

When the plugin loaded all users, then choose a user and select a theme from the theme. Although, you can choose the theme by clicking on the default theme drop-down menu.

set-admin-colorscheme

Import/Export Adminimize Settings

The Adminimize plugin permits you to import and export your plugin settings. Also, you can apply the same setting on multiple websites by using this feature.

To export, click on the export button and download the .seq file which contains the plugin settings.

To import, click on the Choose File button which is under the import, choose the .seq file which you want to import and click on the Upload file and import button.

importexport

Deinstall Options

If you want to deactivate and uninstall the plugin, this option permits you to safely disable all plugin settings. If you deleting the plugin the not sure that all the options stored in your database will delete. To clean up all, check the box next to the Delete button and click on the Delete options.

hide unnecessary items from WordPress admin

Admin Bar Options

Here, the first option in the mini menu is the Admin Bar options. The Admin bar is the WordPress toolbar which you will see on the top of each screen when you are log on your WordPress website.

In the admin bar, all the items can be turned off or on for each user role.

adminbar-options

In this, the first option permits you to hide the user menu and also its subitems view on the top right corner of the admin bar. After that, every item highlighted with the pink color. Also, deactivating the main menu will hide all its sub-menus.

The admin bar displays you the website name with the drop-down menu which contains the link to visit your website’s front-end. If you are checking the website name then also, it will hide the link to visit website’s front-end.

In the other options, you will view checkboxes to hide comments icon and +new icon. Also, you can hide the sub-items. For example, if you want to put the +new menu in the admin bar and also you want to hide pages from it, then check the pages and deactivate it for the selective user roles.

There are some more plugins that specifically used to hide WordPress admin bar.

  • Hide Admin Bar
  • Admin Bar Disabler
  • Remove Admin Bar
  • Auto Hide Admin Bar

Similarly, you can remove WordPress admin bar without using any plugin. This method is best for the person who is good at coding. Let’s start!

Remove the Admin Toolbar with a code

To start first you need to access the function.php file in cPanel or by FTP client. it can be found in your theme folder

Paste the below-given code into the functions.php file,

add_filter(‘show_admin_bar’, ‘__return_false’);

After you reload your WordPress website, you should see the changes take instant effect. Now you won’t be able to see the WordPress toolbar.

Another way to hide WordPress admin bar is by turning it off in settings or profile page.

Turn off the Admin Toolbar in Settings / Profile Page

The simplest method to turn off the toolbar through the Settings Page. Log in to your dashboard site and go your profile page (dashboard > users > select your profile). Just un-tick the box labeled Show Toolbar when viewing a site in the Toolbar section.

show-toolbar Customize WordPress admin toolbar

Once you’re done click the Update Profile button. Now you’ve successfully disabled the toolbar off of the front-end of your site however it will still be visible from the back-end of your site.

Removing or hiding the toolbar from your site’s backend could lead to various unwanted problems. Logging out from your admin panel wouldn’t be as simpler as hovering over your username and clicking Log Out.

That’s all. Now you can manage WordPress admin toolbar and hide unnecessary item using any of the methods.

We hope you like the article. If you liked this post & share it with your peers.

If you have any problem, please tell us in the comment section. We are happy to help you.

You can contact our WordPress support team Dial  +1 888 614 0555 (Toll-Free). Our WordPress customer service will always help you. We will happy to help you and solve your problem related to WordPress.

Read more blogs:



Leave a Reply