Codeinwp / wp-maintenance-mode

Adds a splash page to your site that lets visitors know your site is down for maintenance. Full access to the back- & front-end is optional.
https://wordpress.org/plugins/wp-maintenance-mode/
159 stars 82 forks source link

Allow visitors to see the website based on password #405

Open stefan-cotitosu opened 1 year ago

stefan-cotitosu commented 1 year ago

What problem does this address?

A user of the plugin would like to invite some people to see their in-progress building website by sharing a password with them. The advantage of this feature is that a username won't be required for each visitor, it will work like password-protected pages in WordPress.

Right now, with the maintenance mode enabled, only users with a created account can see the website based on their user-role and what's set in the LightStarts options.

What is your proposed solution?

Add an option to enable a password field on the front end where people with the password can view the website like the maintenance mode is disabled, but without accessing the Dashboard.

Requested here: https://secure.helpscout.net/conversation/2341483618/383158?folderId=931544

Will this feature require documentation? (Optional)

Yes, it requires documentation.

mghenciu commented 10 months ago

hey, I was checking some of the feedback from users in Metabase - and found something around this idea.

Here are some of the mentions in feedback from users.

First of all, I think having this feature for Free would be a good advantage for since competitors offer it only as a Pro options. One example here.


Now going back to the issue, I think the main paint point is: as a developer/freelancer, how do I share the site for preview to a client, but without giving them Admin access?

Currently this is not possible, from what I know. And a solution like password protection or secret links - should fix this.

The password approach I think it's quite clear, while the secret link means to just use a secret argument in the URL that will show the page/site normally (something like this: https://demosites.io/neve-fse?secret-keyword

I think we can go with the one that is easier to implement.