I wouldn’t care, but I have another version of my site on a local install, slight differences to my live site, and the admin bar works perfectly on that. So am racking my brains trying to figure out the differences, tried matching the plugins. The local version is running an older version of generatepress, but don’t think that will be it.
You know, I actually tried that before, your code and it didn’t work, but now it has !! Oh what a relief, thanks David. I don’t know why it didn’t work before. Maybe because I added it into a custom functions plugin I made. Anyway, this is great.