I want to block the category page so that only logged in users can view the category page. I'm not talking about the posts in the page, I'm meaning the actual page view.
For instance, if I have a post category called "support", anyone can type in "/category/support/" after the domain name and view the posts in that category, but I need to restrict it so that only logged in users can see view that category page.
How can this be done? I don't need log in forms or anything special, just to block viewing of the category pages. I've tried adding custom meta keys into the category template that link with the wp-members plugin I've installed, and tried some other solutions including this one.
I can't find any plugins to do this, and no other code I've tried has worked yet. If anyone can help, that would be much appreciated!