Sauter la navigation

[Résolu] Showing elements based on visitor role

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

Show content based on user role.

Solution:

You can show particular content based on the user role by using this shortcode.
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

This allows you to restrict or display particular content based on a user's role.

This support ticket is created Il y a 6 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par matthewL-7 Il y a 6 années et 1 mois.

Assisté par: Shane.

Auteur
Publications
#1183639

Hi,

Is it possible to show elements based on the users role viewing the page?

I found this: https://toolset.com/forums/topic/showing-elements-based-on-used-role-access-conditional-display-user-role/ but this is about author I want it to be based on the role viewing the page?

I couldn't find anything on this.

#1183640

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Matthew,

Thank you for contacting our support forum.

You can show particular content based on the user role by using this shortcode.
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

This allows you to restrict or display particular content based on a user's role.

Please let me know if this helps.
Thanks,
Shane

#1184238

My issue is resolved now. Thank you!