Hidden admin bar is not hidden with Branda
-
Our site includes a template that generates an email-friendly newsletter assembled from published posts. Because we copy the source code for a newsletter issue from a page preview, we suppress the admin bar using
add_filter('show_admin_bar', '__return_false');
However, with Branda activated, the unstyled admin bar displays above the newsletter contents for logged-in users when viewing or previewing the page; screenshot at https://coengineeringd.wpengine.com/wp-content/uploads/2023/02/Branda-addminbar.png
Our newsletter editors are not HTML coders, which is why we we remove that content from the view. Asking them to trim out those lines of code manually would be asking for trouble.
Is there some other way we can suppress the admin bar on view/preview for all users, while retaining the flexibility and customization Branda offers? Thanks.
~ Steve
The page I need help with: [log in to see the link]
- The topic ‘Hidden admin bar is not hidden with Branda’ is closed to new replies.