Support » Plugin: Custom Sidebars - Dynamic Widget Area Manager » Author can't set custom sidebar??

  • Resolved singout


    My testing with the plugin seemed to work great … but I need to be able to have authors creating new posts select and save their sidebar selection. If *I* do it with admin privileges it works fine. If a blogger with “Author” privileges tries it, it reverts back to the standard sidebar as soon as they save their draft *or* publish a post.

    Is there a way to set the privileges for who can make the sidebar selection?

    Here’s an example page with the *standard* sidebar:

    Here’s an example page with the *custom* sidebar:

    Not sure how to show you the edit screen … but the dropdown is *there* it just won’t let you save.

Viewing 8 replies - 1 through 8 (of 8 total)
  • David


    WPMU DEV Support Staff

    Hi @singout,

    I hope you’re doing great today! Thanks for posting on this. Could I ask if you’ve tried other user roles? Perhaps an Editor role?

    I’ll take a look at the code to see if there are restrictions with other roles, but I don’t recall so.


    It works fine as an ADMINISTRATOR, the only level above AUTHOR. CONTRIBUTOR doesn’t even have many of the rights an AUTHOR has.



    Hi @singout

    Please go to /wp-content/plugins/custom-sidebars/customsidebars.php line no 33:
    var $cap_required = 'switch_themes';
    var $cap_required = 'publish_posts';

    Now all user who can publish a post, can set the sidebar.

    Please check and let us know.


    Hey there.

    We haven’t heard from you in awhile, so I just wanted to check in to make sure all was good.

    This thread was marked resolved, but please, if you still need help then just respond and open it back up. We can then take it from there. 🙂

    Hope you have a fantastic day!

    THANKS … that worked.

    Sorry for the delay in responding … I didn’t get any notice about the reply.

    One additional question: Will this change be permanent? Or will it reset every time I update the plugin? Should I add something to my child theme so it doesn’t reset?



    Please note that, this changes will be lost in next update. So it’s worth to note down this changes somewhere and apply again after your updates.



    WPMU DEV Support Staff

    Just noting here too, we’ve mentioned this to the developer to have a look at possibly altering the current capability setting, so hopefully an adjustment wouldn’t be needed in that case. 🙂

    Awesome! Thanks to you both for the help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Author can't set custom sidebar??’ is closed to new replies.