Remove the Whitelabel option in theme menu
-
I would like to hide the whitelabel menu option itself entirely. Eg; activate white label options, then hide Whitelabel. Ideally through a PHP hook to unset the option from the menu if possible.
Hello,
You can do this with CSS code. Here is a snippet to add to the global CSS section in Theme Settings
#wp-admin-bar-wd_white_label_section {
display: none !important;
}
and the following needs to be added to Dashboard CSS
#wp-admin-bar-wd_white_label_section,
.wp-submenu li a[href*="white_label"],
.xts-nav-vertical a[data-id="white_label_section"] {
display: none !important;
}
Kind Regards
Many thanks, that works great. I noticed that white label still comes up as a search result and you can access it that way I just added this too which makes that page empty 🙂
[data-id="white_label_section"] {
display: none;
}
Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.
The topic ‘Remove the Whitelabel option in theme menu’ is closed to new replies.