WP Manifestindependent plugin directory
manifest / utilities / mercury-bootstrapper

Mercury Bootstrapper

Automates baseline setup of a fresh WordPress site for Mercury Media projects

by Mercury Media · github.com/tristantom/mercury-bootstrapper · website

0stars
0forks

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.zip

WordPress 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 .zip files — the plugin installs and activates them
  • WP Rocket Mercury defaults: RUCSS, delay JS with Elementor/jQuery exclusions, .grecaptcha-badge safelist, 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.html and license.txt removed
  • 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

  1. Download the latest mercury-bootstrapper.zip from Releases
  2. In WP admin: Plugins → Add New → Upload Plugin
  3. Choose the .zip, install, and activate
  4. 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.