• Resolved fishnaldo

    (@fishnaldo)


    Hi,

    I can see the Hustle menu in WordPress Admin when logged in as a Administrator but it’s not available when logged in as an Editor.

    Is there an option that I can set to enable it for Editors or can I add access to it in functions.php?

    Thanks,
    Damien

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • osbulbul

    (@coderontheroad)

    Hey @fishnaldo,

    Hope you’re well.

    Hustle is checking “manage_options” capability to show settings page. So I am afraid you can’t only show Hustle menu for editors. To show that you need to add “manage_options” capability to editor role. But this also will show Settings page and any other plugins that uses “manage_options”.

    But if you still want to do that you can paste these codes into your theme’s functions.php file;

    $edit_editor_role = get_role( 'editor' );
    $edit_editor_role->add_cap( 'manage_options' );

    Cheers,
    Oguz

    Thread Starter fishnaldo

    (@fishnaldo)

    Thanks @coderontheroad
    That worked a treat!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu item not showing for editors’ is closed to new replies.