How to restrict access to a page ( or a post ) with a password in WordPress

Image credits : maxpixel.net



WordPress includes a native password protect feature for posts and pages. This can be used for example to create a simple member access area on your site.

Password protection for a page or a post

Here's how to do :

  1. Click on the Visibility link, which is by default set to "Public"
  2. Select the "Password Protected" option and define a password

Resources on the web