Hiding protected posts
-
Hello!
New to wordpress so perhaps I’m simply doing this incorrectly, but I can’t seem to be able to hide password protected posts from showing up in this simple loop query.
I have a page called “Blog” where I simply want to list all public posts. This is a public page and I’d like to restrict the posts that show up here. As you can see it lists the protected post I have as a test. It doesn’t show the excerpt which is nice but I’d like to hide it completely. I can do this with a simple filter and adding it to a private category but I’d like a cleaner way of doing it.
I am running the following:
Theme: Lowfi (not custom)
Template: Pages template from Lowfi (not custom)
PPWP version: 1.9.6
WordPress version: 6.7.1
I have “Protected Content Visibility” set to everything it can be for pages and postsThe page I need help with: [log in to see the link]
The topic ‘Hiding protected posts’ is closed to new replies.