Hello @danieliser
Thank you for the reply.
I can tell you that the “exclude admin” is already on and I am not excluding the admin in my rules.
You can try to replicate this on your own site, but you need to install some extra plugins. If you want to try, here are the instructions:
1. Install the plugins “Hivepress” and “Paid Listings” (this one requires Hivepress to work. Please note in the back end codes, Hivepress is referenced as simply “hp”). Paid listings allow you to add listings like ads on a classified website.
2. In the wordpress dashboard, you will see “Hivepress” and “Listings”. Go to Listings -> Categories and make 2 categories, you can call them anything you like. For these instructions I will call them “one” and “two”.
3. Go to Listings -> Add New and add two test listings, one at a time. While editing the listing, on the right hand side you will see “Categories”. Check only one category for each listing so you have one listing per category. Make sure you publish the listing (view it in a private browsing mode as a logged out user). You should have a listing for Category “One” and a listing for category “Two”. When you confirm you can see both ads, then we will try to restrict category “Two” and leave category “One” visible to everyone as a control.
4. Go to Settings -> Content Control (or where ever you access the settings for this plugin). Under “Who can see this content?”, I chose “Logged in users”. For User Role, I chose “Matching”, selected the appropriate roles I want to allow to see including Administrator. If you don’t have any other roles, that is fine because I only want to hide it to logged out users, but if you have another user, select that too. I have several other user roles and only one role that I want to give access to when they are logged in so I selected that, two roles in total including Administrator that are allowed to see the category when logged in.
5. Still in the Content Control settings, on the left hand side, select “Content” (the protection tab settings doesn’t matter, but I had it on “Replace content” and “Custom Message”). I made a new rule for “IF Content Is A Listing with Category”. You should see a text box. For me, it says “Select hp listing category” (hp stands for Hivepress so I know it recognises the Hivepress plugin). Type in “Two” for category two and for me see it says “No Suggestions”. Naturally, that category is not hidden as a result.
I would also like to add that when I am scrolling through the rules, if I try to click on the scroll bar, it closes the rule dropdown menu, so I have to use my scroll wheel on my mouse instead and scroll through all of the options. Even then, sometimes the menu closes by itself while I am still scrolling.
Please let me know if you see this issue too, thank you.