Custom Capabilities blocking Post from being seen

Hi,

I would like to have the following setup:
unregistered users
registered users (free)
and registered with keys to view certain post categories.

right now, I restrict by category. Only registered users (free users) can view category “registered”
However, I also want to restrict a second category named “paid” but I don’t want to use levels because they don’t achieve what I’m looking for.

I tried adding “paid” to the post as a custom capability, but the post does not show up on my list of posts for those who do not have the requisite custom capability.

I want the post show up on my list of posts because that way i can encourage users to pay and buy that post. What might I be doing wrong please?

Thanks in advance.

ben

That doesn’t make much sense. A level is just a role with a ccap attached to it.

You aren’t doing anything wrong. That’s how it’s supposed to work by default. You now have two alternatives:

  1. Go to Restriction Options -> Alternative View Protection, then uncheck the Flter ALL WordPress queries and instead check the other boxes individually EXCEPT Nav Menus, then scroll to the bottom of the page and click Save All Changes; or
  2. Use the Nav Menu Roles plugin: https://wordpress.org/plugins/nav-menu-roles/

I would do (2), but that’s just me.

Thank you for the very prompt reply.