Changing a user's role to Administrator – no admin bar, just white space

Posted in: Newspaper
Post count: 8

Hello

I have an internal intranet site running on Newspaper and I can see the admin bar fine when using the site, so can another user who I have granted the administrator role too. However, I have tried this with a third user, and also a test user and I am just getting white space where the admin bar should be for those users.

Interestingly, when granting them editor or contributor or author roles, the bar displays where it should (with proper role assignments) but change it to administrator and it only displays white space…

Can you please let me know where I should be looking to see if there’s some extra code that shouldn’t be there that might be causing this behavior?

Thank you
Jaime

Post count: 20688

Hi,

The admin bar could be disabled with a code, for all users or per user role, check in the theme or child theme functions file for such a code
https://www.wpbeginner.com/wp-tutorials/how-to-disable-wordpress-admin-bar-for-all-users-except-administrators/

Also each user can deactivate if he choose to – https://www.screencast.com/t/bnZJso0I
Check those and see what you find.

Thanks

Post count: 8

Thank you for your reply,

I know about the checkbox in the profile of each user. I’ve checked this and it’s ticked.

I’ve searched through my functions.php, td_wordpress_wordpress_booster_functions.php, header.php, footer.php but I cannot find anything mentioning remove_admin_bar

Where is the most likely place that this code might be? I don’t have any plugins that perform this function

Thanks
Jaime

Post count: 20688

Try to deactivate all your plugins and check again, leave only theme plugins active. For me in all my tests the admin bar shows for all users (latest WordPress and theme, only theme plugins active).

Post count: 8

OK thank you Simion, I will check and see if I can find the issue

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.