• Resolved Paul Mycroft

    (@pmycroft)


    Hi there, is it possible to allow an Editor to update this or do they have to be an Admin? Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author wpexplorer

    (@wpexplorer)

    Hi Paul,

    This is Aj the developer. Because the notification bar uses the WordPress Customizer the only way to allow an editor to update the notice would be to allow access to the Customizer to your editor, which would be done by giving your editor role a new “cap” of “edit_theme_options”.

    I’m not sure if you are a developer or have a team that could help but it would also be possible to create a custom setting somewhere in the WP admin that your editor could access to edit the message. If you have an editor that needs access to admin settings it may not be a bad idea to make them their own admin page where they can tweak some of these things.

    The message itself is stored in a theme_mod named “easy_nb” which returns an array of all the settings so you would be updating the item in the array with a key of “message” via set_theme_mod or remove_theme_mod.

    If you trust your editor enough to modify a notice and link that is shown at the top of your site, perhaps they could just be made an admin though?

    • AJ
Viewing 1 replies (of 1 total)
  • The topic ‘Editor access’ is closed to new replies.