Home Forums WoodMart support forum i cant hide my admin bar

i cant hide my admin bar

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #132894

    Muri840
    Participant

    Hello i cant hide my admin bar, i have installed some plugin for it. it havent worked. after this i try some code in function.php like:

    “add_filter(‘show_admin_bar’, ‘__return_false’);”

    “function hide_admin_bar(){ return false; }
    add_filter( ‘show_admin_bar’, ‘hide_admin_bar’ );”

    “#wpadminbar { display:none !important;}”

    and many others…. the problem is, the admin dissapears only for the admin, if you log in as a customer for example, the admin appears anyway

    #132906

    Hello,

    Our theme does not have such option nor any instructions. Please contact the plugin’s support or refer to their documentation.

    Best Regards

    #132907

    Muri840
    Participant

    I know that your theme does not support that. but it works with all other themes. this template is useless for me if I can not disable adminbar. I sincerely ask for support

    #132925

    newsprince
    Participant

    @Muri840

    By default woocommerce does not allow the customers to see the admin bar or the admin backend.

    Check the link below. If your customers see the admin bar maybe you have edited the user role capabilities or installed some plugin or code that bypass this feature. Customers by default can’t see the admin interface.

    https://docs.woocommerce.com/document/allowing-customer-access-to-wp-admin-and-enabling-the-admin-bar/

    #132947

    Hello,

    Admin panel is the WordPress functionality which does not relate to our theme. Sometimes we can provide assistance beyond our support giving CSS for minor changes, however, this case is much more complicated. You would better find the plugin something user roles which determine the access for all types of users.

    Best Regards

Viewing 5 posts - 1 through 5 (of 5 total)