Archived topic
Wordpress admin bar missing
5 replies · Started by Scott on May 16, 2022
Hi
I've had an issue for a couple of weeks where the admin bar is missing when logged into WordPress.
It's visible in the WordPress dashboard but not on any posts or pages.
I've tried several recommended methods to fix it including
- "Show Toolbar when viewing site" in the user profile
- Clearing all cookies, cache etc
- Switching themes
Finally, I tried deactivate all plugins and re-activating one by one and it looks like GP Premium is causing the issue. It reliably comes back when I deactivate GP Premium then disappears again when I reactivate.
Any ideas?
Hi Scott,
Can you go to appearance > Generatepress, deactivate Elements module and check if that works.
If it does, re-activate Elements module, go to appearance > elements, disable all elements, activate them one at a time to see which one is causing it.
Let me know!
Hi Ying
Thanks for the quick reply.
I've proceeded as you outline and it looks like it's the Ezoic code.
<!-- Ezoic Code -->
<script>var ezoicId = 123456;</script>
<script type="text/javascript" src="//go.ezoic.net/ezoic/ezoic.js"></script>
<!-- Ezoic Code -->
This is set up as Hook = wp_head and displaying on entire site.
GP hooks just simply insert content into the site, so it looks like it's this script which is causing the issue.
I would recommend reaching out to the code provider and let them know this issue. :)
Ok thanks Ying
No problem :)