Mercury Bootstrapper
Automates baseline setup of a fresh WordPress site for Mercury Media projects
by Mercury Media · github.com/tristantom/mercury-bootstrapper · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tristantom/mercury-bootstrapper/archive/refs/heads/main.zipWordPress plugin that automates the baseline setup of a fresh WordPress site for Mercury Media projects.
What it does
Upload, activate, click Run Full Setup — and in ~2–3 minutes a fresh WordPress install goes from empty to baseline-ready:
- Default content, themes, and plugins removed
- WordPress core settings configured (Estonian locale, Europe/Tallinn timezone, post-name permalinks, etc.)
- Brand identity applied — site name, tagline, and logo (entered before Run via the admin page, with WP Media Library logo picker)
- Hello Elementor theme installed + activated
- Baseline plugins installed + activated from wp.org: Elementor, Yoast SEO, UpdraftPlus, EWWW Image Optimizer, Code Snippets, Complianz
- Code Snippets "Always Active tõlge" inserted + activated (translates Complianz's hard-coded "Always active" label to "Alati aktiivne")
- Complianz configured via its own API: EU region, Estonia, GTM consent, Estonian banner texts, wizard-completed flag set
- Elementor onboarding wizard skipped + site-wide Custom CSS injected to hide the reCAPTCHA badge
- Premium plugins (Elementor Pro, WP Rocket) uploaded via the admin page as
.zipfiles — the plugin installs and activates them - WP Rocket Mercury defaults: RUCSS, delay JS with Elementor/jQuery exclusions,
.grecaptcha-badgesafelist, defer, lazyload, 10 h cache lifespan - Empty "Avaleht" (home) page created and set as the static front page
- Security hardening: XML-RPC disabled, trackbacks disabled,
readme.htmlandlicense.txtremoved - Launch Checklist shown at the end — what's done and what's still manual (licence keys, Complianz policy pages, Yoast first-time config, hosting-level SSL/SMTP/PHP)
Who it's for
Mercury Media's internal WordPress workflow. Works on any hosting where you have WP admin access — tested primarily with Veebimajutus.ee, but hosting-agnostic by design (no SSH or WP-CLI required).
Installation
- Download the latest
mercury-bootstrapper.zipfrom Releases - In WP admin: Plugins → Add New → Upload Plugin
- Choose the
.zip, install, and activate - A Mercury Setup menu item appears — open it, follow the on-screen steps
Updates
The plugin checks GitHub Releases for new versions. When a newer release is published, the standard WordPress update flow will show an "Update available" notice on the Plugins page.
Security
This is an open-source GPL-licensed plugin. Code contains no secrets, API keys, or client data. All admin actions require WordPress nonces and the manage_options capability. External requests are limited to api.wordpress.org (plugin/theme downloads) and api.github.com (update checks).
License
GPLv2 or later — see LICENSE.
Status
Under active development — see implementation plan.