Hi @nmoudan
thank you very much for your question.
There are two kinds of users:
– who can see the menu
– who can see and change the options
Only who has the capability “manage_options” (usually the administrators ) can see the plugin’s Settings page and decide which role can see the Top Bar Menu.
Normally Editors have no “manage_options” capabilities, so you will not be able to set the options. You can see the menu only if the administrators decide that editors can see the menu.
Browsing the code you will find a file called ql-admin.php. Open that file and search the function eos_quil_settings_page in line 35. If you replace “manage_options” with “edit_posts” (lines 39 and 61), then you should be able to see the settings page and change the settings.
Here you have the file: https://plugins.trac.www.ads-software.com/browser/top-bar-links/tags/1.0.3/admin/ql-admin.php
Usually, editors have no right to use the inbuilt WordPress code editor, so I suppose you have FTP access.
Remember that at the next plugin update you will lose your changes.
I’ve decided to give the possibility to change options only to users that have the “manage_options” capability because the administrators may want to hide some links to users having lower capabilities.
However, I will add a filter in the next version and you will be able to filter the capability in your functions.php or your custom plugin, and you will not lose your changes anymore after the plugin update. Until then.
As soon as I publish the new version I will write here how you can filter the capability in your custom code.
-
This reply was modified 5 years, 1 month ago by
Jose.