Skip to:
Content
Pages
Categories
Search
Top
Bottom

WordPress Dashboard Showing for Participants


  • PrancingHorse
    Participant

    @prancinghorse

    Hello,

    My website: http://www.yorkregiontutoring.com is showing the WordPress Dashboard on the top left when a participant is logged in. And when you do click on the wordpress graphic on the top left for example, it asks you to create a page..etc. How do you disable this?

    Does everyone just have this turned on by default on their websites?

    Furthermore, I don’t want to just disable the top bar as I want people to be able to see their user icon and click on the it and access shortcuts within the top bar if needed.

    Thank you
    Diana

Viewing 1 replies (of 1 total)
  • Hi Diana,

    To deactivate the bar for everybody, you could add in your functions.php :
    add_filter('show_admin_bar', '__return_false');

    If you want to hide it for all, except for administrators :

    add_action(‘after_setup_theme’, ‘remove_admin_bar’);
    
    function remove_admin_bar() {
    if (!current_user_can(‘administrator’) && !is_admin()) {
    show_admin_bar(false);
    }
    }

    Hope that helped.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar