• Hi,

    Love this plugin, but I’ve got a problem:

    I’m using a theme that disables the admin bar for non-admin users, so I’m wondering how to access the “switch back” link from the front end. I read somewhere that adding the “meta” widget to the footer would include the link there, but no dice – no “switch back” link appears…

    Any suggestions?
    Thanks!

    https://www.ads-software.com/plugins/user-switching/

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

    (@johnbillion)

    WordPress Core Developer

    Hi David,

    When the admin toolbar is not showing, there will be a “Switch back” link in the “Meta” widget and also in the footer of the site. These links show up when the is_admin_bar_showing() function returns false.

    If the links aren’t showing up, let me know which theme you’re using.

    John

    Thread Starter David Jamieson

    (@dallenj)

    Hi John,

    Thanks for your response. The “switch-back” is not showing up in the “meta” widget. I just tested with a WordPress default theme, and everything works fine, so it’s definitely a theme-related problem. I’m using the “Social Learner” theme package from BuddyBoss, which is built on their “Boss.” theme.

    Is there some kind of function I can add to “force” the switch-back link, or should I just contact the theme developer?

    Thanks

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Best thing to do is contact the theme developer and point them to this thread and see what they say. I suspect the theme is hiding the admin toolbar using another method (eg. hiding it with CSS).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Switch Back Link’ is closed to new replies.