Skip Navigation

[Resolved] Restricting specific page content to users

This support ticket is created 7 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

Author
Posts
#415298

I am trying to restrict specific parts of my page. Is it possible?

Another question is how can I redirect usergroups to their respective home pages?

#415396

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Let me address your first question. We have a policy of one question per thread to make it easier for other users to find solutions to their problems, so could you please re-post your second question as a new thread? Thanks for your understanding.

Regarding restricting content. You can use the Access plugin to limit access to individual pages and posts or to types of content (such as a custom post type).

If you want to have content on a single page some of which you want to be available to certain users and some of which not then you would wrap the parts of content you want to restrict in wpv-conditional shortcodes .

There is a description of what's involved here: https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

And the reference info for the wpv-conditional shortcode is here: https://toolset.com/documentation/views-shortcodes/#wpv-conditional

The exact conditions you use will depend on how you determine who is allowed to see the content and who not. If you need some help with that then let me know more about what rules you want to implement.

#415682

Hi Nigel,

Thanks for the quick response, but can I do it without views?

#415727

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

You are still talking about using Access, right?

You can have more fine-grained control of what particular content is displayed as described in these two pages of our documentation:

https://toolset.com/documentation/user-guides/access-control-for-user-fields/
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

If you haven't already, read through those, and if you still have any questions then let me know.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.