• Resolved Step By Step 3D

    (@welchwerks)


    I am not able to get the checkbox to stay checked for “Force hiding adminbar in frontend? ” hence no admin bar for the user Role Author

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Step By Step 3D

    (@welchwerks)

    sorry, I meant to say I cant get it to stay UN checked

    Thread Starter Step By Step 3D

    (@welchwerks)

    I cant get “Force hiding adminbar in frontend? ” to stay UN checked on all settings pages

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @welchwerks,

    This issue may be because of the plugin/theme conflicts.
    Please do a quick conflict test so we can rule out any conflicts and see if this issue goes away. Here is the doc on how to do a conflict test if you are not sure.

    Regards.

    use this php code in functions.php

    add_action('after_setup_theme', 'remove_admin_bar');
     
    function remove_admin_bar() {
    if (!current_user_can('administrator') && !is_admin()) {
      show_admin_bar(false);
    }
    }
    • This reply was modified 6 years, 8 months ago by dimabarbuta.
    divineconnectionsindia

    (@divineconnectionsindia)

    Hello,
    I want to show the admin bar to appear for all the roles but it does not appear for users with customer role.
    Force hiding admin bar in front-end? (under user roles) is unchecked
    Can you guide me step by step I don’t have coding knowledge
    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Force hiding adminbar in frontend? not working’ is closed to new replies.