Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Fotoura

    (@fotoura)

    Hi… sorry I found your answer:

    Add this to the theme functions.php

    // show admin bar only for admins ->

    if ( !current_user_can( ‘manage_options’ ) ) { add_filter( ‘show_admin_bar’, ‘__return_false’ ); }

    Thanks!
    Rich

    Plugin Contributor slangji

    (@slangji)

    This procedure is ok but totally inadequate for the code of my plugin, much more complex: this author accepts no responsibilty in its use.

    If anyone needs the fuul management of the Admin Bar – ToolBar through my plugin, please contact me to know how to get the PRO version, which also handles these issues.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable all toolbars except admin role’ is closed to new replies.