{"id":27449,"date":"2014-01-25T03:34:21","date_gmt":"2014-01-25T03:34:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/disable-site\/"},"modified":"2014-12-29T22:32:42","modified_gmt":"2014-12-29T22:32:42","slug":"disable-site","status":"publish","type":"plugin","link":"https:\/\/dv.wordpress.org\/plugins\/disable-site\/","author":12922466,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.1","stable_tag":"trunk","tested":"4.1.42","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Disable Site","header_author":"Jimmy K. <jimmy@nintencode.com>","header_description":"","assets_banners_color":"daccbb","last_updated":"2017-11-28 14:48:38","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.nintencode.com","header_plugin_uri":"http:\/\/www.nintencode.com","header_author_uri":"http:\/\/www.nintencode.com","rating":5,"author_block_rating":0,"active_installs":4000,"downloads":106736,"num_ratings":24,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":24},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1056555","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"844979","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1056571","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"844996","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"844998","resolution":"3","location":"assets"}},"screenshots":{"1":"The admin interface showing the configuration page for this plugin.","2":"The default splash page.","3":"An example of a customized splash page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[802,23904,732,23905,736],"plugin_category":[52],"plugin_contributors":[79223],"plugin_business_model":[],"class_list":["post-27449","plugin","type-plugin","status-publish","hentry","plugin_tags-coming-soon","plugin_tags-disable-site","plugin_tags-maintenance","plugin_tags-splash-page","plugin_tags-temporary","plugin_category-performance","plugin_contributors-jklatt86","plugin_committers-jklatt86"],"banners":{"banner":"https:\/\/ps.w.org\/disable-site\/assets\/banner-772x250.png?rev=844979","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/disable-site\/assets\/icon-128x128.png?rev=1056555","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/disable-site\/assets\/screenshot-1.png?rev=1056571","caption":"The admin interface showing the configuration page for this plugin."},{"src":"https:\/\/ps.w.org\/disable-site\/assets\/screenshot-2.png?rev=844996","caption":"The default splash page."},{"src":"https:\/\/ps.w.org\/disable-site\/assets\/screenshot-3.png?rev=844998","caption":"An example of a customized splash page."}],"raw_content":"<!--section=description-->\n<p>A plugin to temporarily disable your website front-end and display a message\nto your visitors while still allowing back-end access. This plugin can be\nenabled or disabled with one click and also supports using your own custom\nHTML\/CSS output for the splash page so you can make it as simple or as custom\nas you need it to be.<\/p>\n\n<p>This plugin is especially useful if you need to temporarily make your site\nunavailable to your visitors. For example, you're working on a new blog or\nwebsite and you want to show a temporary \"coming soon\" page to your visitors\nwhile you're working on it; or you're fixing major bugs that would disrupt the\nuser experience and need to make the front-end temporarily unavailable; or any\nother reason that you would need to make your website temporarily unavailable.<\/p>\n\n<p>This plugin can be configured to allow admin users (you) to still be able to\nview the front-end while the splash page is enabled. If other users need to be\nable to review the site, you can enable authenticated users and\/or specific IP\naddresses to be able to bypass the splash page as well.<\/p>\n\n<h4>Common uses for this plugin:<\/h4>\n\n<ul>\n<li>Displaying a splash page while you develop your blog or website<\/li>\n<li>Temporarily making your site unavailable to visitors while you fix bugs, etc<\/li>\n<li>Disabling a site if a client refuses to pay (we've all been there)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>disable-site<\/code> plugin directory to the <code>\/wp-content\/plugins\/<\/code>\ndirectory on your server.<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress.<\/li>\n<li>Configure the plugin.<\/li>\n<li>Profit!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the <code>disable-site<\/code> plugin directory to the <code>\/wp-content\/plugins\/<\/code>\ndirectory on your server.<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress.<\/li>\n<li>Configure the plugin.<\/li>\n<li>Profit!<\/li>\n<\/ol><\/dd>\n<dt>How do I change the default splash page message?<\/dt>\n<dd><p>Simply navigate to the configuration page for the plugin and set the textfield\nlabeled <code>Custom Message<\/code> to your custom message.<\/p><\/dd>\n<dt>How do I specify my own HTML for the splash page?<\/dt>\n<dd><p>There are two ways to do this: via the configuration page for the plugin, or\nin code. To specify your own HTML via the configuration page, navigate to the\nconfiguration page and paste your HTML and\/or CSS into the field labeled <code>Custom\nHTML Output<\/code>.<\/p>\n\n<p>To specify your own HTML in code, paste the following in your <code>functions.php<\/code>\nfile and customize it to suit your needs.<\/p>\n\n<pre><code>if ($disable_site_plugin) {\n    $disable_site_plugin-&gt;set_output_html(\n        'This is an example of &lt;strong&gt;custom&lt;\/strong&gt; HTML output.'\n    );\n}\n<\/code><\/pre><\/dd>\n<dt>Can my splash page include HTML, CSS, and JavaScript?<\/dt>\n<dd><p>Yes it can! You can use any HTML, CSS, and\/or JavaScript that you need.<\/p><\/dd>\n<dt>How do I disable the splash page?<\/dt>\n<dd><p>Simply navigate to the configuration page for the plugin and set the dropdown\nlabeled <code>Enable Splash Page<\/code> to <code>No<\/code>.<\/p><\/dd>\n<dt>How do I allow administrators to bypass the splash page?<\/dt>\n<dd><p>Simply navigate to the configuration page for the plugin and set the dropdown\nlabeled <code>Admin Access<\/code> to <code>Yes<\/code>.<\/p><\/dd>\n<dt>How do I allow authenticated users to bypass the splash page?<\/dt>\n<dd><p>Simply navigate to the configuration page for the plugin and set the dropdown\nlabeled <code>Authenticated User Access<\/code> to <code>Yes<\/code>.<\/p><\/dd>\n<dt>How do I allow users from specific IP addresses to bypass the splash page?<\/dt>\n<dd><p>Simply navigate to the configuration page for the plugin and enter each IP\naddress into the textarea labeled <code>Allowed IPs<\/code> (each one on it's own line).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<p>The initial release of this plugin.<\/p>\n\n<h4>0.2<\/h4>\n\n<p>Cleaned everything up for release.<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Updated version number for the official initial release.<\/p>\n\n<h4>1.2<\/h4>\n\n<p>Added custom message field and IP address filtering.<\/p>\n\n<h4>1.2.1<\/h4>\n\n<p>Added 503 response header per @pembo13's suggestion.<\/p>\n\n<h4>1.3.1<\/h4>\n\n<p>Refactored to use appropriate WordPress coding standards.<\/p>","raw_excerpt":"A WordPress plugin to disable your website front-end and display a message to your visitors while still allowing back-end access.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=27449"}],"author":[{"embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jklatt86"}],"wp:attachment":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27449"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27449"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27449"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27449"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27449"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}