Hi Sitesme.,
Just try this code
<?php if( is_admin() ){
dynamic_sidebar( 'Sidebar Admin' );
}else if( is_author() ){
dynamic_sidebar( 'Sidebar Author' );
}else{
dynamic_sidebar( 'Sidebar Default' );
}
?>
Hi sitesme
There are a number of plugins that will allow you to add and customise user roles in WordPress.
I’d recommend Adminimize (https://ww.wp.xz.cn/plugins/adminimize/) or User Role Editor (https://ww.wp.xz.cn/plugins/user-role-editor/).
Let me know how you go.
Thread Starter
sme
(@sitesme)
Hi,
I meant to add this on Woocommerce under the role “Shop Manager”.
Thank you
Hi sitesme
The Woocommerce ‘Shop Manager’ role is simply a custom role. You should be able to change its capabilities (what he or she has access to) using the User Role Editor above.
Thread Starter
sme
(@sitesme)
Thank you all for your help but…
I still can not find the Appearance > Menus option anywhere in the User Role Editor.
Sitesme.,
There is no User Role options. You need to be create custom Widget or use my code logic what i mention on top
You’ll need to enable the edit_theme_options capability.
This will give access to everything under the Appearance heading, but not necessarily grant permission for all functionality – for example, they won’t be able to change themes.
Thread Starter
sme
(@sitesme)
Still doesn’t.
I activate it and all I can see is this: http://d.pr/i/b2id/5O2iKAmH, not the menus
That’s odd.
Activating the edit_theme_options should give you access to
Appearance > Themes, Customize, Widgets, Menus etc
Even for a user with no other privileges. Make sure you’re selecting the ‘Shop Manager’ role from the dropdown.
My experience with Woocommerce is limited. Perhaps someone else can provide another suggestion?
Hi,
will this plugin help me to assign the possibility of using a specific plugin to the editor role?
thanks