Use-case example:
I have a taxonomy called “Category” with two options: “Free” and “Premium”.
I want posts, searches, and related pages associated with the “Premium” category to be accessible only to logged-in users.
I know how to limit individual pages to logged-in users using rules, but I need a way to apply this logic dynamically based on the post’s category.
Desired behavior:
If a post/search belongs to the “Premium” category > only visible to logged-in users.
If a user is not logged in and tries to access a Premium post/search > redirect to the login page.
Thank you!
©2025 Created with 27collective LLC. All rights reserved