• Hey there,

    Great plugin! It works so well!
    I am however struggling with something – please can you assist with a problem I am running into.

    I want to assign specific plugins in the side menu to a shop manager role for woocommerce but it only has Administrator selected. I cannot change it.

    Are you able to let me know what I need to edit in order to be able to have more than an administrator able to see the plugin in the side menu?

    Thanks

    https://wordpress.org/plugins/wp-admin-ui-customize/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author gqevu6bsiz

    (@gqevu6bsiz)

    Hi agletint,
    I’m sorry if my understanding is wrong of your problem.

    I think this problem is user role of your assign specific plugins.
    Is this post to you can solve to your problem?
    https://wordpress.org/support/topic/side-menu-options-do-not-show?replies=1

    Thanks,
    gqevu6bsiz

    Thread Starter Aglet

    (@agletint)

    Thank you for getting back to me and for the solution, I did try implement this but it still does not work. Even giving the plugin the same permissions and identical role as that of an Administrator it still does not allow me to add it to WP Admin UI.

    Please assist

    Plugin Author gqevu6bsiz

    (@gqevu6bsiz)

    Hi agletint,
    Thank you for your reply and I’m sorry seemed unable to resolve for you.

    I want to assign specific plugins in the side menu

    Could you see it plugin need to capability?
    e.g.) add_menu_page( $page_title, $menu_title, ‘manage_options’, $menu_slug, $function );

    If this capability is Administrator, I think that need to change the capability.
    But this capability is manage_options, I think that need to add the capability on Shop Manager.

    Thanks,
    gqevu6bsiz

    Thread Starter Aglet

    (@agletint)

    Thank you for getting back to me and for the help.
    Please forgive me but I do not understand where I must put that function?

    The plugin I am trying to use is: http://codecanyon.net/item/ajax-store-locator-wordpress/5293356

    Do I have to edit any files within the actual plugin (which one?)
    Must I create a custom function in my child-theme functions.php with your line of code?
    I am not clued up with programming so what would I make $page_title? $menu_title, etc?
    The store locator plugin does have a side menu and sub menus, is it possible to still keep these sub menus as well?

    Thank you for the help and once again thank you for your time

    Plugin Author gqevu6bsiz

    (@gqevu6bsiz)

    Hi agletint,
    Thank you for your reply and information and I had read to your comment on it plugin discussions.
    And I think this problem is WP Admin UI plugin is not matter.

    I am not clued up with programming so what would I make $page_title? $menu_title, etc?

    Sorry my idea is to look for what it is whether to working on the capability.

    Could you try the below steps?

    1. Find to add_menu_page code on it plugin.
    2. Check the appropriate capability.http://codex.wordpress.org/Function_Reference/add_menu_page For example check code: var_dump( $capability );
    3. Add the capability to Shop Manager. (e.g. User Role Editor plugin)

    I think this at working.

    Do I have to edit any files within the actual plugin (which one?)

    If this capability is User Level, Possibly I think better that you will edit code.
    (I say again: possibly. I think better is consultation to developers.)
    I don’t know which file because I have not it plugin.
    And If this capability is User Level I think you need to this documents.http://codex.wordpress.org/User_Levels

    I hope that you can resolve.

    Thanks,
    gqevu6bsiz

    Thread Starter Aglet

    (@agletint)

    Awesome!
    Thank you for your time and support it is working 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘User Roles’ is closed to new replies.