Viewing 4 posts - 1 through 4 (of 4 total)
  • Question

    #64955
    @stackstreetnew

    I want to disable the admin bar for all non-admin users, but when i do so, it removes the notifications from their header. It seems your notifications setup is dependent upon the admin bar being active.

    It would be good to move this out, so the admin bar does not need to be loaded for all users simply to show notifications

    Answers

    #64990
    @vapvarun

    Hi @stackstreetnew
    OneSocial have inbuilt option to hide wp admin bar
    https://drive.google.com/file/d/0B3JP4B8e-iV8OTJxTnlCbzlIalU/view?usp=drivesdk
    Regards
    Varun Dubey

    #65246
    @stackstreetnew

    Yes this hides it, not removes it — the entire thing still loads. You should be able to disable this so it does not load every time and slow the theme down.

    Notifications should be moved to a templete part.

    Rigth now if you disable the admin bar with something like (add_filter(‘show_admin_bar’, ‘__return_false’);) your notification systems break.

    This is pretty standard with well coded buddyrpess themes.

    #65756
    @vapvarun

    Hi @stackstreetnew
    If you are removing wp-admin bar right menu will also stop working
    We are using admin bar nodes to generate right side drop down admin menu
    Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Notifications outside of admin bar’ is closed to new replies.