• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

HOW TO REMOVED ADMIN NAV ON TOP WORDPRESS?

MrVeeto

Active member
Jul 27, 2019
418
179
43
35
Malaysia
Hi, i would like to know is there any options to we removed or change text on admin nav menu on here? FireShot Pro Screen Capture #001.png
 
try adding in functions.php below code not sure if the remove_node trick is still working if not you can find a lot of wordpress admin plugin for customization

Code:
function remove_toolbar_items($wp_adminbar) {
      $wp_adminbar->remove_node('updates');
      $wp_adminbar->remove_node('comments');
    $wp_adminbar->remove_node('stats');
      $wp_adminbar->remove_node('cs-explain');
}
 
  • Like
Reactions: empromax
try adding in functions.php below code not sure if the remove_node trick is still working if not you can find a lot of wordpress admin plugin for customization

Code:
function remove_toolbar_items($wp_adminbar) {
      $wp_adminbar->remove_node('updates');
      $wp_adminbar->remove_node('comments');
    $wp_adminbar->remove_node('stats');
      $wp_adminbar->remove_node('cs-explain');
}

How to know the certain url/text on the menu admin bar?
 
You want to remove for temporary or you want to completely disable as other logged in users can't see it?
 
Ofcourse i don't give permission to my user to admin role. But the other roles with moderator, editor or more level than default user also can view it.
if you have a lot users (mod, editor etc) and installing plugin will not any problem for you just install "admin menu editor pro" plugin and customize it.
Else,
if you want to disable admin bar on frontend for these user use this code:
Code:
add_action('after_setup_theme', 'guguk_bar_remover');
 
function guguk_bar_remover() {
if (!current_user_can('administrator') && !is_admin()) {
  show_admin_bar(false);
}
}
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock