The ability to hard code the script into theme that displays the widget areas on the front end...
Therefore widgets placed in the User Dokan Seller widget area are visible to users that have been assigned WooCommerce Shop Manager role.
Drag any widget from those areas that you desire.. DDrag Dokan Users Role display widget to the sidebar or widget area where you want role based widgets to appear..
Refresh to role based widgets and log out or log in as role to see the widgets change...
The following shortcode will display Dokan role based widgets that you have defined on Appearance > Widgets page in WordPress..
The following code will display the role based widgets that you have defined on Appearance > Widgets page in WordPress when placed in your theme..
You must make sure that you have placed the. URWA Dokan Users By Role. widget from present NON-USER widget area where you want to display specific widgets based user roles..
Make sure you have at least one widget in the area for the role you are logged in as.
For If you are logged in as executive drag text widget from the Users Dokan Administrators widget area and give it title and generic content.
Browse the code recheck out SVN repository or subscribe to the development log RSS....
Read more