Skip Navigation

[Resolved] Restrict access based on custom post type and given taxonomy

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

Problem: I would like to restrict access to certain posts based on the custom post type and a specific taxonomy term.

Solution: Access does not provide restrictions based on taxonomy terms assigned to posts. You can use Access to create Post Groups, and assign each post to one Post Group. Then you can manage access to Post Groups for an entire User role, or for individual Users. These Post Groups are not linked to taxonomy terms. The members of each Group, and the Posts that belong to the Group, must be managed manually in wp-admin.

Toolset also offers conditional HTML, which can be used to restrict access to certain content on the site. You can set up taxonomy-based conditionals to show and hide pieces of content on the site.

Relevant Documentation:
https://toolset.com/documentation/user-guides/limiting-read-access-specific-content/
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/
https://toolset.com/documentation/user-guides/setting-access-control/
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

This support ticket is created 6 years, 6 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Christian Cox 6 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#906241

Restrict acess based on custom post type and igiven taxonomy I will have site with different categories and i want user roles each with access to specific one category .how can i achieve it with access? If not which plugin can i use that will do it for me paid membership pro? is it working with tools? Maybe something else

#906396

Hi, Access does not provide restrictions based on taxonomy terms assigned to posts. You can use Access to create Post Groups, and assign each post to one Post Group. Then you can manage access to Post Groups for an entire User role, or for individual Users. These Post Groups are not linked to taxonomy terms. The members of each Group, and the Posts that belong to the Group, must be managed manually in wp-admin. More information about Post Groups and Access here: https://toolset.com/documentation/user-guides/limiting-read-access-specific-content/
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/
https://toolset.com/documentation/user-guides/setting-access-control/

Toolset also offers conditional HTML, which can be used to restrict access to certain content on the site. You can set up taxonomy-based conditionals to show and hide pieces of content on the site. Here's some information about conditional HTML: https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

Let me know if you have additional questions about how you can set this up in Toolset. Unfortunately I'm not sure if there are other plugins out there that can accomplish restrictions based on taxonomy terms.

#908724

i think i need taxonomy so which membership plugin works best with toolset?

#909077

I'm not sure if there are other plugins out there that can accomplish restrictions based on taxonomy terms, so I'm not able to offer very good advice. Here's a link to search the site and forums for any membership-related tickets:
https://toolset.com/?s=+membership&lang=en
You can see what other Users have accomplished or had problems with, and hopefully that will help you make the best decision for your site.