Skip to main content

How to hide admin bar in editor

Comments

5 comments

  • KC George

    Hi Wim,

    Please have a look at this blog post for multiple ways you can disable admin bar for different users. How to Disable WordPress Admin Bar for All Users Except Administrators

    0
  • Wim Dewitte

    Hi KC

    Thank you for your reply, but the translators need the amdin bar, just not within the Brizy editor. It should not be hidden everywhere, just when the editor is opened. Any ideas?

    0
  • KC George

    Hi Wim,

    When you say admin bar in the Brizy editor what exactly do you mean? I do not see the WordPress admin bar in the Brizy editor. Please share a screenshot to help us understand better.

    Can you describe the purpose of hiding the admin bar for the translator? We can probably suggest an alternate solution.  

    0
  • Wim Dewitte

    Hi KC,

    Thank you for your reply. Users who have the role Translator see the admin bar appear in Brizy:

    The admin bar appears due to a conflict between Brizy and TranslatePress. When the role Translator is not applied to a user, the admin bar is not visible in the Brizy Editor. When users are in the editor and they start using the admin bar to navigate or to translate, things do not work as expected. Therefor, I would like the admin bar to be hidden when the Brizy Editor is being used, but I don't seem to figure out how.

    Thank you for your help,
    best regards,
    Wim

    0
  • KC George

    Hi Wim,

    I guess the admin bar in the Brizy editor is added by the Translator Accounts Addon for TranslatePress. Unfortunately we do not have access to the premium version of TranslatePress. Hence can't reproduce the issue.

     

    TranslatePress Support may be able to offer better help. If you are not able to resolve it with them, we can take a look at your project and check if the admin bar can be disabled. 

    0

Please sign in to leave a comment.