Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Hide restricted posts from custom post type archive. Tagged: Access Restriction, Archives, Custom Post Type This topic has 2 replies, 2 voices, and was last updated 5 years, 3 months ago by Vladimir. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts 29/07/2019 at 07:19 #5849 mammalalienParticipant Hello, when specific posts are restricted given user roles (as described here https://www.role-editor.com/content-view-access-restriction-selected-roles/) is it possible to hide them in custom post type archives, if the current user doesn’t have authority to see them? I was expecting restricted posts would no longer appear in custom post type archives. 29/07/2019 at 07:45 #5850 mammalalienParticipant Ah! I think I answered my own question. Setting the “Action” to either 404 or Redirect did the trick. I should have just played around with the plugin a bit more before posting here 🙂 30/07/2019 at 16:24 #5857 VladimirKeymaster Thanks for letting me know that you found an answer. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In