Admin toolbar not showing.

I have a network site, Farm.++++++me I am logged into that subsite as a SuperAdmin but I don’t see the WordPress toolbar that is normally at the top of the page. The admin toolbar on the public side is not showing. I confirmed in my user profile that the box to show it is checked. Please check and help.

  • Adam
    • Support Gorilla

    Hi Douglas

    I hope you’re well today and thank you for you question!

    It’s actually right and expected with this setup because if you go to this sub-site’s back-end as a super-admin, previously logging in to the Network Admin or the main site, you are not really logged in on front-end.

    It’s a bit tricky but it’s related to domain mapping.

    First, you got our Branda plugin installed and set Admin Bar visibility on Front-end set to not show admin bar for “Guests” (which is default and is actually fine as usually you don’t want not-logged in users to see it; it would be limited anyway).

    Second, you got a domain mapped to this sub-site via Domain Mapping plugin. But when you go to dashbaord/back-end from Network Admin you actually go there over the original domain, not the mapped one. If you then open front-end from there, the front-end opens under mapped domain which is a different domain – you’re not logged in there.

    If you would login directly via “farm…me/wp-admin” you would see the admin bar on both back- and front-end (I tested it to make sure). Also if “administration mapping/login mapping” would be set to mapped domain in Domain Mapping that should do a trick as it would force use of mapped domain for back-end and would force you to “re-login”. The latter can be avoided by enabling “Cross domain auto login” option in Domain Mapping settings.

    All these settings are on “Network Admin -> Settings -> Domain Mapping” page.

    However, please note also that Domain Mapping plugin is no longer under active development for quite some time already and mapping is already built-in into WordPress so unless you need some specific features of the plugin I’d recommend switching to a core WP mapping and removing the plugin as over time it might cause compatibility issues.

    Here’s more information about WP built-in domain mapping:

    https://wordpress.org/support/article/wordpress-multisite-domain-mapping/

    Best regards,
    Adam