• Resolved Houdini

    (@romariokg)


    Hello, how can I remove the WordPress Admin bar at the top of the site for registered users?

    • This topic was modified 1 month ago by Houdini.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ali Akbar Reyad

    (@alireyad)

    Hi,
    You can do it in different way. It’s not related with this plugin. Few theme have settings to do it. You can also do it by using third party plugin or doing some css in customizer.

    Thank you

    Thread Starter Houdini

    (@romariokg)

    I’m using your premium Clcar theme, it doesn’t have the “Remove Admin Panel” option like the free CLClassified theme. How can I add this feature? Users should not see the admin bar.

    Plugin Support Ali Akbar Reyad

    (@alireyad)

    Hi,
    Please, create ticket from our site for theme related features. Support team will help you in this regard.

    Thank you

    Thread Starter Houdini

    (@romariokg)

    Support response. Might be useful to someone:

    added this code to the bottom of the child theme function.php file:

    // Hide admin bar for subscribers
    function hide_admin_bar_for_subscribers() {
    ? ? if (current_user_can('subscriber')) {
    ? ? ? ? show_admin_bar(false);
    ? ? }
    }
    add_action('after_setup_theme', 'hide_admin_bar_for_subscribers');

    • This reply was modified 1 day, 13 hours ago by Houdini.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.