• Resolved dolunaykiz

    (@dolunaykiz)


    I want editors and authors on the site to be able to pick a custom side bar from a list/dropdown. Admin will create the sidebars they can pick from.

    What do I need to edit/add to make this possible?

    Thanks.

Viewing 1 replies (of 1 total)
  • Hey @dolunaykiz,

    Hope you’re well.

    There is no easy way to do that and no option inside Custom Sidebars for that. So only thing can be modified plugin files. But don’t forget this will be reverted to the original state when plugin update.

    You need to edit /custom-sidebars/inc/class-custom-sidebars-editor.php file and edit line 17 from “edit_theme_options” to “publish_posts”, so line 17 should look like this finally;
    static protected $cap_required = 'edit_theme_options';

    I hope it helps!

    Cheers,
    Oguz

Viewing 1 replies (of 1 total)
  • The topic ‘Grant Access to Editor and Author Roles’ is closed to new replies.