• Hello, You say in other post: “There isn’t a quick way to do that. However, modifying the code responsible for that is actually really easy to do. Are you interested? The only big downside is that it gets overwritten every time you update the plugin”

    Could you tell me what code I have to modify?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Fabio Rinaldi

    (@fabiorino)

    Hi, do you want to allow editors to use the plugin?
    In that case, you have to edit the file admin.php, located in yourwebsite/wp-content/plugins/crelly-slider/wordpress/admin.php.

    Replace line 12 with:

    add_menu_page('Crelly Slider', 'Crelly Slider', 'edit_pages', 'crellyslider', 'CrellySliderAdmin::displayPage', 'div');

    Hi Fabio. The same issue here for https://quehagohoyibiza.com
    I have followed your instructions but it casue a fatal error in the plugin and the entire wordpress admin. Line 12 is blank. I am not doing this correctly.

    It would be better if this capability-role is applied to core for newer versions, it seems more functional for “editors” to “edit” the slider (and those who don’t want that can just customize by erasing or un-displaying the option)

    Plugin Author Fabio Rinaldi

    (@fabiorino)

    Hi, the plugin has been updated and now the line to replace is the line 14.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I need that other role can make the sliders’ is closed to new replies.