WordPress.org

Ready to get started?Download WordPress

Forums

Toolbar Menu
[resolved] hide secondary menu from users (5 posts)

  1. joylee06
    Member
    Posted 2 years ago #

    Thank you for this great plugin!

    How can we hide the custom secondary menu from everyone except for admin?

    http://wordpress.org/extend/plugins/toolbar-menu/

  2. joylee06
    Member
    Posted 2 years ago #

    Solved!

    Add

    if ( !is_super_admin() || !is_admin_bar_showing() )
    return;

    in toolbar_menu.php line 146 right after global $wp_admin_bar;

  3. straightforward
    Member
    Plugin Author

    Posted 2 years ago #

    Hi! You are welcome :)
    Haven't seen support forum here :D
    Let me know if you need any further assistance.

  4. psn
    Member
    Posted 2 years ago #

    Hi

    Have tested your plugin but it has some strange behaviour. When I'm in admin section I still get the original site link, wordpress logo (I have them unmarked in settings) etc but they dissapear when I move to blog. I have latest WP version 3.4. How can we get this issue to be fixed?

  5. straightforward
    Member
    Plugin Author

    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic