Add maintenance mode template
What problem does this address?
While WordPress is in maintenance mode the websites show a plain, unstyled message. Nowadays websites have complex styling and branding. This is not reflected on the current maintenance mode view.
What is your proposed solution?
Add a default template just like for 404 errors that can be styled by the theme and via the site editor. The template could also inherit styling from the general design system.
The template would be a great way to give websites a nice personality.
There are more voices liking the idea on the development blog: https://developer.wordpress.org/news/2026/07/on-brand-maintenance-mode-for-wordpress-block-themes/
This'll be quite cool to have!
great suggestion. 👍🏻
I tried creating a draft implementation for this but noticed that when core maintenance mode is on, the plugins are never loaded nor the blocks are processed...
So either we can keep it separated from core maintenance mode which will make the implementation easier, but don't know how useful it'll be.
Or another way I can think of is to write the template markup & styles to maintenance.php (or another file provided core checks for gutenberg specific maintenance file) whenever the template is saved, allowing only specific whitelisted blocks in the template's editor. Although that feels a bit hacky & could lead to security concerns.
Perhaps there's a better way to go about this & I just don't know it yet...
IMO, this is a ticket for https://core.trac.wordpress.org/. Once the new template proposal is accepted and accounted for in the template hierarchy, then we can focus on Site Editor support.
I added a ticket to trac: https://core.trac.wordpress.org/ticket/65747#ticket
Thanks for the idea, and for opening https://core.trac.wordpress.org/ticket/65747! As noted above, a maintenance template first has to be added to core's maintenance flow and template hierarchy, because plugins and blocks aren't loaded in maintenance mode. Let's continue on the Trac ticket, and open a new Gutenberg issue for Site Editor support once core accepts it.
This is a great idea, another thing completely missing from the block theme / site editor workflow is a way to style the login in component for password protected pages/posts.