Navigation überspringen

[Gelöst] Showing elements based on visitor role

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 6 Jahren, 1 Monat. 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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von matthewL-7 vor 6 Jahren, 1 Monat.

Assistiert von: Shane.

Author
Artikel
#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

Sprachen: Englisch (English )

Zeitzone: 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!