Title: Make posts password protected by default
Last modified: April 12, 2019

---

# Make posts password protected by default

 *  Resolved [Metasequoia](https://wordpress.org/support/users/metasequoia/)
 * (@metasequoia)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/make-posts-password-protected-by-default/)
 * Hi Jeff,
 * I have another question: the users which create posts from frontend on my site
   do this on a password protected page (set up via wordpress page options/publish/
   visibility/password protected). It is like an internal members area on my website
   and I want to create an internal blog.
 * Is it possible (I guess with some php magic in functions.php) to automatically
   make posts published with your plugin become password protected, too?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Metasequoia](https://wordpress.org/support/users/metasequoia/)
 * (@metasequoia)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/make-posts-password-protected-by-default/#post-11420594)
 * Hi Jeff,
 * I think I found a solution.
 * This plugin works very well: [Access Category Password](https://wordpress.org/plugins/access-category-password/)
 *  Thread Starter [Metasequoia](https://wordpress.org/support/users/metasequoia/)
 * (@metasequoia)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/make-posts-password-protected-by-default/#post-11420994)
 * Ok, after further testing there is a handicap with this solution. The user has
   to enter the password the first time he wants to view a post. I mean, yeah, thats
   obvious. I set up the same password I used for the other protected pages on my
   site. WordPress remembers the password once it is submitted for all other protected
   pages.
 * What I was not aware of is, that with this solution the Access Category Password
   plugin I use asks for the password, too. Although I set the same password. This
   is from a user perspective not very nice.
 * So, a solution with custom php code in functions.php would be very welcome. Any
   ideas how I can achieve this?
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/make-posts-password-protected-by-default/#post-11421966)
 * Never heard of the idea so not sure what might be possible. But I can say that
   all submitted posts are treated just like regular WP Posts, and also utilize 
   the same WP API functionality (like action/filter hooks). So any code snippet
   or plugin that adds your desired password functionality should work fine with
   USP.
 *  Thread Starter [Metasequoia](https://wordpress.org/support/users/metasequoia/)
 * (@metasequoia)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/make-posts-password-protected-by-default/#post-11422544)
 * Thanks Jeff,
 * I am in contact with someone who is coding a little plugin for me that can automatically
   sets the passwords.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/make-posts-password-protected-by-default/#post-11422859)
 * That’s good to hear, Metasequoia. Let me know if I can provide any infos about
   the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Make posts password protected by default’ is closed to new replies.

 * ![](https://ps.w.org/user-submitted-posts/assets/icon-256x256.png?rev=2567685)
 * [User Submitted Posts – Enable Users to Submit Posts from the Front End](https://wordpress.org/plugins/user-submitted-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-submitted-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-submitted-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/user-submitted-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-submitted-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-submitted-posts/reviews/)

## Tags

 * [password](https://wordpress.org/support/topic-tag/password/)
 * [protected](https://wordpress.org/support/topic-tag/protected/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/make-posts-password-protected-by-default/#post-11422859)
 * Status: resolved