I use basic post for adding messages. There are 5 categories (cat_A, cat_B, cat_C, cat_D, cat_E). and I have 2 custom user_role for registered visitors which is & # 39; viewer_a & # 39; and & # 39; viewer_b & # 39 ;. I need to display only selected category posts only for specific user roles.
means that users under 'viewer_a' can only view cat_A publications and under user_role & # 39; viewer_B & # 39; only cat_B publications. Remains strictly other positions.
how can i do this without plugin. Sorry for my bad English 🙂