• Resolved Joe Bloggs

    (@joe-bloggs)


    Hey John,

    I’ve been using the plugin for years and absolutely love it.

    But I recently came across to an issue where I need to disable the admin toolbar for all users other than Admins.
    The problem I’m now having is that if I switch to a user, then I can’t switch back to admin, because the admin toolbar for that particular user is disabled, so I need to log out and log back in as an admin.

    Is there any way there would be a solution to this? Maybe a shortcode that could be added onto the frontend that would show the switch back link?

    Many thanks, Joe

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    There should be a Switch Back link shown on the login screen at wp-login.php (even when you’re already logged in) so perhaps you can add a link to that somewhere on the front end.

    Otherwise, yes you can add a custom link if you’re comfortable with editing the PHP in your theme or a plugin. See the second block of code in this FAQ which should do what you need.

Viewing 1 replies (of 1 total)
  • The topic ‘Switch back from Frontend?’ is closed to new replies.