• Resolved oizo.gg

    (@oizovski)


    Hello,

    Is there any option to hide especific items to other admin users also? A kind of “Super admin mode” just for Branda. That will be really nice!

    I saw the User Permissions option, but it is only for blocking the plugin configurations.

    Hope you can help me. Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    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

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    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.

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    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

    Thread Starter oizo.gg

    (@oizovski)

    That works!

    Thank you very much, @wpmudevsupport14

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide especific items to other admin’ is closed to new replies.