Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admin Bar on top of site


  • sunnyone1234
    Participant

    @sunnyone1234

    Hello,
    I have an issue about the admin bar on the top of site after activating buddypress.
    I mean the user can see the long black admin bar when they visit the home site.

    Where can I deactivate or remove the admin bar on the top of my site?

Viewing 1 replies (of 1 total)

  • sunnyone1234
    Participant

    @sunnyone1234

    Hi, the solution is adding “add_filter(‘show_admin_bar’, ‘__return_false’);” in function.php file to deactivate the admin bar for user except the admin

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