How to hide wp toolbar

  • Ricky
    Newbie 14 points
    August 29, 2015 at 5:53 am

    Hi Guy’s
    Just a little question how do hide the wp toolbar from everyone except admin it seems to always show up even when a user logs in any answers? thanks

    You must be logged in to view attached files.
  • Aaron
    Super Guru 920 points
    August 29, 2015 at 8:21 am

    Add this to your child themes functions.php:

    add_filter('show_admin_bar', '__return_false');

  • Mark Fail
    Mark Fail
    Super Guru 13,013 points
    August 30, 2015 at 4:07 am

    thanks for sharing 🙂

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes