WP Manifestindependent plugin directory
manifest / utilities / maintenano

Maintenano

Developer-friendly Simplest WordPress Maintenance Mode plugin

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/mayeenulislam/maintenano/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Maintenano - Simplest WordPress Maintenance Mode Plugin

The simplest maintenance mode plugin for WordPress powered site. This is a developer-friendly plugin. Please see the 'Features' section to understand its purpose and the way it works.

WARNING
This is NOT A FANCY PLUGIN for the maintenance mode. If you are looking for such one, please do not use this; better use the other available plugins instead.

Screenshot of Maintenano

Features

  • Simple maintenace mode on Plugin Activation
  • No database clutter
  • No asset (CSS, JS, images etc.) loading
  • Plugin deactivation can disable the maintenance mode
  • Anybody other than the administrator can see the maintenance mode (Default)
  • 503 Status Header (Default)
  • No Cache Status Header (Default)
  • Warn in admin panel using Admin Notice
  • Translation-ready
  • Front end template can be intercepted from the plugin or by using the associated filter hook
  • Filter Hooks:
    • maintenano_allowed_capability (default: 'manage_options')
    • maintenano_template

FAQ (Frequently Asked Questions)

01. How to change the design and/or texts?

The default layout is from the plugin's view.php (available under templates/ directory). To override the layout simply copy the file (view.php) and create a directory named maintenano in your theme directory, and paste the file (file structure would be like: {your_theme}/maintenano/view.php). Now change the view however you want.

You can also intercept the template with maintenano_template filter hook.

02. How to change who can see the site?

When the maintenance mode is active, by default, only the administrator (with the capability manage_options) can see the site. You can change the capability with the maintenano_allowed_capability filter hook.

03. How to translate the plugin?

Locales can be placed under any of the following way:

  • WP_LANG_DIR/maintenano/LOCALE.mo
  • WP_LANG_DIR/plugins/maintenano-LOCALE.mo

nanodesigns 20200615