WordPress.org

Plugin Directory

Disable Site

A WordPress plugin to disable your website front-end and display a message to your visitors while still allowing back-end access.

How do I change the default splash page message?

Simply navigate to the configuration page for the plugin and set the textfield labeled Custom Message to your custom message.

How do I specify my own HTML for the splash page?

There are two ways to do this: via the configuration page for the plugin, or in code. To specify your own HTML via the configuration page, navigate to the configuration page and paste your HTML and/or CSS into the field labeled Custom HTML Output.

To specify your own HTML in code, paste the following in your functions.php file and customize it to suit your needs.

if ($disable_site_plugin) {
    $disable_site_plugin->set_output_html(
        'This is an example of <strong>custom</strong> HTML output.'
    );
}

Can my splash page include HTML, CSS, and JavaScript?

Yes it can! You can use any HTML, CSS, and/or JavaScript that you need.

How do I disable the splash page?

Simply navigate to the configuration page for the plugin and set the dropdown labeled Enable Splash Page to No.

How do I allow administrators to bypass the splash page?

Simply navigate to the configuration page for the plugin and set the dropdown labeled Admin Access to Yes.

How do I allow authenticated users to bypass the splash page?

Simply navigate to the configuration page for the plugin and set the dropdown labeled Authenticated User Access to Yes.

How do I allow users from specific IP addresses to bypass the splash page?

Simply navigate to the configuration page for the plugin and enter each IP address into the textarea labeled Allowed IPs (each one on it's own line).

Requires: 3.0.1 or higher
Compatible up to: 4.1.6
Last Updated: 2014-12-29
Active Installs: 9,000+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 50,2,1
100,1,1
100,1,1
50,2,1