• Resolved courtneyhuber

    (@courtneyhuber)


    I’m using the built in WP “Private” post status in a few places of my site to make certain content visible only to a specific user role (I set this up using User Role Editor to “Read Private Posts”). This is working wonderfully. However, I have 2 Custom Post Types set up in Pods utilizing the “post” user capability. When I mark my pods posts as “private” they disappear completely despite the fact that I have a specific user role set to “Read Private Posts.” Do you know why they are listening to the “private” setting, but not corresponding to everything else set up in WP that is correctly working for Private Posts?

    I have also tried setting up a custom capability and it is doing the same thing. No matter what user role I check to have access to my capability, if the post is set to private, it hides for all users and if it is just published, it is visible to all users regardless of my settings within User Role Editor.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @courtneyhuber

    This honestly sounds like it might be a WordPress bug since we only register the capabilities, we do nothing with it after that since it’s a WordPress core feature.

    In any case, few checks:
    – Did you enable the “Additional User Capabilities” option?
    – Is the same issue happening with only Pods active on a default theme?

    Cheers, Jory

    Thread Starter courtneyhuber

    (@courtneyhuber)

    Yes, I do have “Additional User Capabilities” enabled. I’m not sure what you mean by checking if the issue is happening with only Pods active on a default theme…can you elaborate?

    Thread Starter courtneyhuber

    (@courtneyhuber)

    I have tested this scenario on a different site and it appears to work. So you are right that there is something specific with WP on my site in question or potentially a plugin conflict that is causing the issue. This helps me narrow my search. Thank you!

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @courtneyhuber

    Thanks for letting me know!
    Once you find the issue, please share it here as well, it might help another user some day 🙂

    Cheers, Jory

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Private” Pods posts ignoring users set to “read private posts”’ is closed to new replies.