Skip Navigation

[Resolved] Post Groups Shortcode

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to restrict specific content from his users within his page.

Solution:

We actually have a shortcode for this and can be seen below.
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

This support ticket is created 6 years, 9 months ago. 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)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 6 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#620538
Capture.PNG

Hi I was wondering if there was a shortcode (or other method) which allows you to control read access to content within a page based on Post Group

So for example I have a Post Group called Post Group A with several pages belonging to this Post Group. Admin and specific users only have been given read access to pages within this Post Group

In another page - which is NOT in any Post Groups and is available to ALL I want to show one sentence only to users in My Post Group (see screenshot)

Note - i've assigned specific users to the post group rather than created roles and assigned them to users as i'd rather not create new roles if I don't need to. Also I am unable at the mo to assign multiple roles to a user (which I would need to do in this instance as some users need access to multiple Post Groups)

Thanks!

#620577

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Stewart,

Thank you for contacting our support forum.

Unfortunately the only shortcode that we have that does something similar is the one here.
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

This would be for user roles only .

Thanks,
Shane