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

  • Resolved singout

    (@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:
    http://singout.org/news/

    Here’s an example page with the *custom* sidebar:
    http://singout.org/ronolesko/

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

    https://wordpress.org/plugins/custom-sidebars/

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

    (@ugotsta)

    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.

    Thanks,
    David

    Thread Starter singout

    (@singout)

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

    Ashok

    (@bappidgreat)

    Hi @singout

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

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

    Please check and let us know.

    Cheers
    Ash

    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!

    Thread Starter singout

    (@singout)

    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?

    Ashok

    (@bappidgreat)

    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.

    David

    (@ugotsta)

    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. 🙂

    Thread Starter singout

    (@singout)

    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.