To show or hide a widget only on author pages, you can use these tokens:
[author]– Any author page.
[author:xyz]– A specific author’s page – indicate the user ID or username.
Roles and Groups
- Show or hide widgets and sidebars based on user roles.
- With Groups, show or hide widgets and sidebars based on the group membership of the viewing user.
See details on these extended conditions on the Roles, Groups and Authors documentation page.