wp-cli / maintenance-mode-command

Activates, deactivates or checks the status of the maintenance mode of a site.
MIT License
9 stars 5 forks source link

Exclude Admins from the maintenance mode #25

Closed Epizefiri closed 1 year ago

Epizefiri commented 1 year ago

Hi, It would be great if the logged users and the wp-admin folder would be excluded from the maintenance. As owner of the website I would like to navigate the website while the other users are blocked.

danielbachhuber commented 1 year ago

Thanks for the suggestion, @Epizefiri !

This command simply interacts with WordPress core's bundled maintenance mode. For what you're describing, I'd recommend checking out the WordPress.org Plugins directory for a suitable plugin.