WordPress Category

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.

GuestUser_LogicalRule

Below screenshot shows the Category Rule define for Guest User.

GuestUserCategories

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.

Click here for Category Rule Demo

Use the below demo authentication accounts.

User Name : krish
Password: bis123$
Role : Subscriber

User Name : shiv
Password: bis123$
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.

Click here for Category Rule Demo

 

This use-case is a demonstration of hiding categories for Author Role.

Login with author role using below credentials

User Name : arole
Password: bis123$
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.

Author_role_Logical_rule

Below screenshot shows the Category Rule define for Author Role.

Author_role_category_rule