Maintenance page in WordPress
A page shown during maintenance, with the expected return time and ways to stay informed.
Here is an excerpt of this component's code in WordPress. The full code is free for members, ready to copy into your project.
This component also comes in
The code in WordPress
<?php
/**
* Plugin Name: Forge, Page de maintenance
* Description: Une page affichée pendant une maintenance, avec l'heure de retour prévue et des moyens de rester informé. Ajoute la composition « Page de maintenance » à l'éditeur de blocs.
* Version: 1.0.0
* Requires at least: 6.6
* Requires PHP: 8.1
* Author: Forge
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: forge-erreur-maintenance
*<!-- wp:group {"className": "mnt", "layout": {"type": "default"}} -->
<div class="wp-block-group mnt"><!-- wp:html -->
<div class="mnt__icon" aria-hidden="true">
<svg viewBox="0 0 24 24" width="40" height="40" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 6.5a4 4 0 0 0 5 5L12 19a2.1 2.1 0 0 1-3-3l7.5-7.5"/><path d="M14.5 6.5 17 4l3 3-2.5 2.5"/></svg>
</div>
<!-- /wp:html -->
<!-- wp:heading {"level": 1} -->
<h1 class="wp-block-heading">Boutique en maintenance</h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Nous installons une nouvelle version du site. Retour prévu à <time datetime="2026-10-19T07:00+02:00">7 h (heure de Paris)</time>.</p>
<!-- /wp:paragraph -->:root {
--mnt-text: #2b2105;
--mnt-muted: #5e4b12;
--mnt-icon-bg: #fde047;
--mnt-icon: #422006;
--mnt-link: #2b2105;
--mnt-ring: #2b2105;
--demo-erreur-maintenance-bg: #fffbea;
--demo-erreur-maintenance-text: #2b2105;
}
@media (prefers-color-scheme: dark) {Free component: copy it freely, including for commercial projects.
Other error pages components in WordPress
Error pages components in WordPress
A ready-to-publish changelog page: dated, versioned notes grouped by month, each with a type badge (new, improvement, fix), module tags and filters that announce how many notes are shown.
- Tailwind
- React
- CSS
- WordPress

Ready-to-fill terms of sale for a showcase site selling to consumers: seller, ordering, prices, delivery, withdrawal with a copyable form, statutory warranties and mediation, with 26 highlighted fields to complete and a side table of contents that follows the reader.
- Tailwind
- React
- CSS
- WordPress

A ready-to-fill GDPR privacy policy for a showcase site: controller, data collected, purposes, retention periods, recipients, rights and cookies, with 24 highlighted fields to complete and a side table of contents that follows the reader.
- Tailwind
- React
- CSS
- WordPress

A ready-to-fill French legal notice page: publisher, host, SIRET, contact, intellectual property and personal data, with 16 highlighted fields to complete and a side table of contents that follows the reader.
- Tailwind
- React
- CSS
- WordPress

The page shown after a quote request or contact message: clear confirmation, announced response time, printable summary, next steps and useful links.
- Tailwind
- React
- CSS
- WordPress

A clean not-found page with a large error code, a search field and links to the main sections.
- Tailwind
- React
- CSS
- WordPress