Hi @oizovski,
You’ll have to use a plugin like User Role Editor and create a custom admin role so that you could hide based on the custom role on the Branda plugin side.
You could use modules under Branda > Admin Area to hide based on menus, admin bar etc
I hope this helps. Please do let us know if you need any further assistance.
Kind Regards,
Nithin
Hi @oizovski
I hope you are doing well and safe!
We haven’t heard from you in a while, I’ll mark this thread as resolved.
Feel free to let us know if you have any additional questions or problems.
Best Regards
Patrick Freitas
So it is not possible to hide specific items from other administrators using Branda alone, we would have to use the User Role Editor plugin to achieve that? This is strange because I have selected on Branda permissions for only one administrator to have access but when I login as another administrator I can still see Branda plugin.
ok I found why Branda is showing up on other administrators also other than the super admin. Because I am not sure how it happened but under Settings > Permissions > User roles, the ‘Administrator’ is checked and I cannot unselect it, that is why Branda settings are showing on all admin user accounts that I login. Is there a way to uncheck that box without loosing all of the work I have done?
I installed Branda on another website and I didn’t check the “Administrator” and it worked perfectly.
Also, even though I have set up the footer with my own text and logo, for some reason it is not showing up. I can only see the ” Thank you for creating with WordPress”. Otherwise this is a very powerful plugin with lots of options and features. I just hope I can find a solution to these issues so I can use it on all of my websites.
Hi @alexgraphicd,
By default, Branda will be showing up on the admin menu for all the users with admin privileges. However, the following code snippet can help restrict the menu option to the specified user only.
<?php
function wpmudev_hide_branda() {
$user_id = get_current_user_id();
if(is_admin() && $user_id != '1'){
remove_menu_page( 'branding' );
}
}
add_action('admin_init', 'wpmudev_hide_branda');
You can add this code using a mu-plugin, please find more details here: https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
I hope that helps.
Kind Regards,
Nebu John
That works!
Thank you very much, @wpmudevsupport14