This use-case is a demonstration of hiding categories for Guest User.
Observe that UnCategorized and Google categories are shown for users who are not logged In. This use case is achieved by creating a Logical Rule using Guest User and using this Logical Rule while defining the Category Rule. See below screenshots for more info.
Below screenshot shows the Logical Rule define for Guest User.
Below screenshot shows the Category Rule define for Guest User.
This use-case is a demonstration of showing categories based on logged in User.
Login with krish user using below credentials, that only “krish category” categories visible for krish user. Now login with shiv user using below credentials, observe that three categories, “Shiv Category, Google Category, Krish Category UnCategorized ” categories are shown. Logical rule with User Id as Krish is used for defining Category rule. This is how we can leverage Logical rules for defining Category Rules.
We can also show/hide categories in many ways by defining Logical rule on User Role, Country, Page Date and Time. Please see Category Rules section for more details.
Use the below demo authentication accounts.
User Name : krish
Role : Subscriber
User Name : shiv
Role : Subscriber
Below screenshots shows the Logical and Category defined for Krish User.
Defined Logical rule with User Id as Krish.
Category Rule for Krish user to hide Shiv Category and Categorized categories.
This use-case is a demonstration of hiding categories for Author Role.
Login with author role using below credentials
User Name : arole
Role : Author
Observe that Uncategorized, Shiv Category and Krish Category is hidden but only Google Category is show. This is achieved by defining the Logical Rule on Author category and using the same in defining the category role.
Below screenshot shows the Logical Rule define for Author Role.
Below screenshot shows the Category Rule define for Author Role.