xxxxxxxxxx
To password protect an entire WordPress site, you can use a free
'Password Protect' plugin known as 'Password Protected' which is available
at WordPress.org. (https://wordpress.org/plugins/password-protected/)
xxxxxxxxxx
In Wordpress by default there is a option for adding password to the page, just
change the "status & visibility" option from public to password protected