Show/Hide widget by user's role

Topics: Controls
Apr 17 at 2:26 PM
How can I show or hide a widget by user role?
Apr 17 at 4:36 PM
It would require some coding.
Do you mean by widget type or instance of widget?
Tue at 12:43 AM
Instance or Widget type are OK. I think, using difference Widget for difference role of the login user (at one place)
For example,
  • If not login, do not show Administrator Widget or replace it content by login/register....
  • If Admin login, the Administrator is as it now
  • If a user not a Admin (Multiuser blog), show another widget or replace content without admin functions
    Thanks