Different templates for users with different user roles

Posted in: Newspaper
Post count: 21

Hello,

Is it possible (if yes then how) to create and assign different templates for users with different user roles? I know that I could assign a template to a specific user or set global template, but I can’t find an option that would allow me to set different user templates for specific user roles.

Kind regards,
Kazimierz

Post count: 27744

Hello,

You can set different templates for admin, editors, and authors here https://i.imgur.com/0ZXDxl2.png

Thank you!

Post count: 21

Hi Anamaria,

What I need is to set a template for a particular user role (not each user individually despite their role). When I have a lot of users, and they are not authors (or admins or editors) then it’s not very effective (or impossible) to set each user a template individually. I need to set two separate templates – for all of authors and for all of subscribers. Is that possible?

Kind regards,
Kazimierz

Post count: 27744

Hello,

Unfortunately, you can not set the template based on the user’s roles. A workaround is to set a global template that will apply to the subscribers and assign the other template to each author.

Thank you,
Anamaria

Post count: 21

It’s unfortunate, it would be a great feature. The workaround would not work for me (there are hundreds of users assigned to these two roles).

Is it possible to use “Author page shortcodes” outside the author template?

Post count: 27744

Hello,

Unfortunately, this option can be done only with custom work.
Also, you can not use that shortcode outside of the author template.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.