Landing page built in the real Elementor editor on local WordPress, audited with a 15 check SEO script, and the same audit run on a stock OpenCart store that an extension then fixes.
The audit found three things missing. A small must-use plugin fixes them, and a re-run passes. Everything runs locally in Docker. The page is a demo for an Amazon seller-audit service concept and says so in its footer.
The same audit then ran on a stock OpenCart 4 store (PHP) with a small sample catalogue. A fresh OpenCart scores 8, 10 and 10 of 15 on its home, category and product pages, and an extension plus a few settings take all three to 15 of 15. See What the OpenCart store shows.
A custom HubSpot CMS theme in hubspot-lab/ is live as three published pages, built from 8 HubL modules and checked by 15 of 15 on the same SEO audit.
A WooCommerce shop in bullion-shop/ prices twelve invented gold and silver products live from a stand-in metals feed. One saved price reading instead of a feed call per product cut the shop page's server response from 1969 ms to 233 ms.
| Part | What it does |
|---|---|
docker-compose.yml, scripts/setup.sh |
WordPress 6 and MariaDB in Docker, WP-CLI install, the free Elementor plugin (4.3.3 when I built it; setup.sh installs whatever version is current) and the Hello Elementor theme |
scripts/build_page.cjs |
Opens the Elementor editor in a headless browser and builds the page with the editor's own command API ($e.run('document/elements/create')), then saves with the editor's publish command. Five sections: hero, three audit cards, how it works, request, footer note. Free widgets only |
elementor/, scripts/elementor_draft.py, scripts/manifest_to_elementor.py, wp/mu-plugins/elementor-draft-route.php |
A layout manifest of design token names becomes Elementor's element tree, is saved as a draft through a small REST route and read back in the real editor: docs/elementor-manifest.md |
scripts/seo_audit.py |
A 15-check technical SEO audit: status and redirects, title and meta description length, one h1, heading order, image alt text, canonical, language, viewport, Open Graph, valid JSON-LD, broken links, response time, page weight. Standard library only |
wp/mu-plugins/seo-basics.php |
The fix for what the audit found: meta description from the page excerpt, Open Graph tags and a Service JSON-LD block |
tests/test_seo_audit.py |
Ten offline tests: a clean page passes everything, eight pages with exactly one defect each fail exactly that check, and a relative link is checked against the page's <base href> (the OpenCart crawl showed the audit was getting that wrong) |
scripts/keyword_research.py |
Keyword and topic research from Google, Bing and DuckDuckGo autocomplete (no key): expands seeds with question and modifier words, scores by source agreement and position, groups the keywords into pages and writes a content map with internal links and title and meta drafts |
scripts/ai_visibility.py |
Asks a model a list of questions several times and counts how often named organisations appear in the answers, with a 95 percent Wilson interval. Runs on a local Ollama model or any OpenAI compatible endpoint |
tests/test_keyword_research.py, tests/test_ai_visibility.py, tests/mutation_check.py |
37 and 19 offline checks, and a script that breaks 39 guards one at a time (Python and PHP) and needs a test to go red each time. CI runs all of them |
opencart/ |
A stock OpenCart 4.1 store in Docker (PHP 8.2, MariaDB) with a six product sample catalogue, and the fix as an OpenCart extension, opencart/extension/seolab/, wired in with six events so no core file is edited: canonical links, meta descriptions, Open Graph, JSON-LD, a home page h1, heading order, a title length rule and an XML sitemap. opencart/scripts/run_lab.sh builds the store, audits it, applies the fix, audits again and writes docs/opencart_before.txt, docs/opencart_after.txt and docs/opencart_checks.txt |
opencart/tests/test_markup.php |
29 offline PHP checks on the markup builders, each on a good input and a hostile or empty one (a product name that tries to close the JSON-LD script tag, a sitemap address with an ampersand, an out of stock product). CI runs them on Linux with the runner's PHP |
bullion-shop/ |
A local WooCommerce shop in Docker with twelve invented gold and silver products priced live from a stand-in metals feed, with a cached price reading, Product and Offer markup, a Merchant Center feed and hardening. Every number: bullion-shop/docs/bullion-shop.md |
moodle-lab/ |
A local Moodle 5.0 LMS in Docker with a course, a teacher and a student made through its web service API, and five Tier 1 support tickets reproduced, diagnosed, fixed and checked as the student: moodle-lab/docs/moodle-support-cases.md |
hubspot-lab/ |
A custom HubSpot CMS theme written in HubL: 3 page templates, 3 global partials and 8 modules with fields, uploaded with the HubSpot CLI and published as 3 live pages (landing page with a form, home, a services list read from HubDB). 15 of 15 on the SEO audit, 0 axe violations, 10 of 10 deliberate breaks caught by hubspot-lab/tests/test_theme.py: hubspot-lab/README.md |
genesis-lab/ |
DEV and PROD WordPress, a safe sync, a case study plugin with a jQuery AJAX filter, two child themes, a PSD page: genesis-lab/README.md |
maintenance-lab/ |
MainWP Dashboard and two managed WordPress sites in Docker: verified backups, updates through MainWP with a rollback, and a monitor with a log: maintenance-lab/README.md |
docs/launched-site.md |
A public six page WordPress.com site on the free plan, built in the block editor from the keyword research content map: https://emergencycaretrainingguidesample.wordpress.com/ . Audited with the same 15 checks, then a design pass against three medical education sites with before and after screenshots, and scripts/contrast_check.cjs for computed contrast, tap size and overflow |
docs/qa-defect-report.md |
A QA defect report from testing the launched site and a second sample site at 1280 and 390 pixels wide: 9 reproduced defects with steps, expected and actual results, cropped screenshots and a suggested fix each, then what was found clean |
The first run on the freshly built page scored 12 of 15. It was missing the meta description, the Open Graph tags and any structured data. That is what this page looked like with no SEO plugin. After the mu-plugin and a page excerpt it scores 15 of 15. Both outputs are kept in docs/seo_before.txt and docs/seo_after.txt. The setup script mounts the mu-plugin and sets the excerpt from the start, so a fresh run gives 15 of 15; to see the 12 of 15 again, remove the wp/mu-plugins mount from docker-compose.yml and the excerpt step from scripts/setup.sh first.
The screenshot below is the page at 390 px wide, with the cards stacked.
OpenCart is a PHP storefront, so the fixes live in PHP and Twig, not in a plugin screen. bash opencart/scripts/run_lab.sh builds the stock store, audits three pages, applies the fix and audits them again. Both outputs are in docs/opencart_before.txt and docs/opencart_after.txt.
| Page | Fresh OpenCart | After the fix |
|---|---|---|
| Home | 8 of 15: title is "Your Store", no meta description, no h1, no canonical, no Open Graph, no JSON-LD, and a slideshow link to a demo product that returns a 404 |
15 of 15 |
| Category | 10 of 15: a 9 character title, no meta description, heading levels jump from h1 to h4, no Open Graph, no JSON-LD |
15 of 15 |
| Product | 10 of 15: a 17 character title, no meta description, headings jump from h2 to h5, no Open Graph, no JSON-LD |
15 of 15 |
What changed, and where (settings and data, crawl and index, structured data, headings and titles), and the bug the crawl found in the audit's own link check: docs/opencart-fix.md.
A shop that prices gold and silver from the spot price needs a current price on every page view, and the price must never be wrong. bullion-shop/ builds that on WooCommerce against a stand-in feed with invented prices and measures the same shop before, with one saved price reading, and with the render blocking files trimmed.
Six page loads made 72 feed calls before and 0 with the saved price. Time to first byte went from 1.92 s to 0.07 s and the mobile Lighthouse score from 89 to 98 with the lean assets. The tables, the 13 outside hardening probes (1 of 13 before, 13 of 13 after) and the 14 live checks on a dead or wild feed are in bullion-shop/docs/bullion-shop.md. Tests: 85 PHP checks, 32 Python checks and all the guards in tests/mutation_check.py. Run it with bash bullion-shop/scripts/run_lab.sh (Docker, Python 3, bash, curl; about 20 minutes); the admin password is made on your machine in bullion-shop/build/admin_password.txt.
maintenance-lab/ runs three WordPress sites in Docker: a hub with the free MainWP Dashboard plugin and two sites with the free MainWP Child plugin. scripts/maint.py update checks a site, takes and verifies a backup, updates through MainWP, checks the site again and restores the backup if the front page fails. In the recorded run three updates went through, a planted bad release was rolled back, a planted rollback that restores nothing was reported as failed and a monitor logged a 500. 81 offline checks and 43 deliberate breaks each turn a test red. The backup is my own script, not UpdraftPlus or WPvivid: maintenance-lab/README.md.
elementor/seller-audit.layout.json describes the landing page in 5 sections and 28 elements with design token names only. python scripts/elementor_draft.py push elementor/seller-audit.layout.json builds it, saves a draft and reads it back in the editor: the editor held all 28 elements with every sent setting, and --promote published it.
Two broken trees were caught the same way. A widget type the editor does not have, and two elements sharing an id, were each dropped by the editor without a message (3 elements sent, 2 held), so the draft was deleted. A manifest with #ff0000 instead of a colour name was refused before any request. The builder's output equals what Elementor 4.4.2 exported for the same page apart from the ids and the HTML the editor rewrites. Tests: 36 builder tests, 22 comparison checks, 46 PHP checks, 25 live checks and 46 more guards in tests/mutation_check.py. They found three defects, fixed and listed in docs/elementor-manifest.md with the limits.
The HubSpot lab's live pages and checks, the Moodle lab, the keyword and AI answer scripts and the launched WordPress.com site each have their results in docs/other-lab-results.md.
The OpenCart store needs only Docker, Python 3, bash and curl: bash opencart/scripts/run_lab.sh (about two minutes), then browse http://localhost:8088/ and the admin at /admin/ (admin / admin-local-only). bash opencart/scripts/setup.sh returns it to the stock store and bash opencart/scripts/fix.sh applies the fix again. The WordPress part below needs the extras it lists.
Needs Docker, Python 3, bash and curl, and Node with Playwright installed globally (npm install -g playwright). The build and screenshot scripts load Playwright from a Windows user's global npm folder; on another system change the require line at the top of each.
bash scripts/setup.sh
node scripts/build_page.cjs ./shots $(cat .page_id)
python scripts/seo_audit.py http://localhost:8087/seller-audit/
python tests/test_seo_audit.py
The keyword and AI answer scripts need only Python 3 (the AI one also a local Ollama model or an OpenAI compatible endpoint). Details: docs/seo-keyword-and-ai-visibility.md.
python scripts/keyword_research.py "emergency medicine cme" "acls recertification online" "ultrasound course for emergency physicians" --replay tests/fixtures/suggestions.json
python scripts/ai_visibility.py --questions tests/fixtures/questions.txt --entities "ACEP,Medscape" --model qwen3.5:9b
python tests/test_keyword_research.py && python tests/test_ai_visibility.py && python tests/mutation_check.py
The manifest builder and its tests need only Python 3; the draft and editor check also need the running lab and Playwright.
python scripts/manifest_to_elementor.py elementor/seller-audit.layout.json
python scripts/elementor_draft.py push elementor/seller-audit.layout.json
python tests/test_manifest_to_elementor.py && node tests/test_editor_compare.cjs && php tests/test_elementor_route.php
python tests/live_elementor_pipeline.py
The local login is admin / admin-local-only at http://localhost:8087/wp-admin, a site that scripts/setup.sh creates.
- It runs as a local site in Docker. The page is a demo for a service concept, the OpenCart shop is a sample outdoor store with six products, and the bullion shop uses sample products and a stand-in price feed.
- The page was assembled through the editor's command API in a headless browser, and Elementor itself produced and saved the page data. The manifest route writes the same data directly and relies on the editor read back to prove it opens. Only free widgets are used, so the request section is a mailto line. Next: Pro widgets such as forms.
hubspot-lab/does not run in Docker: it is uploaded to a HubSpot developer test account, whose pages HubSpot serves with a noindex header. Its checks are offline structure tests plus live audits of the three published pages.- The keyword suggestions are not search volumes, because no keyless source gives volumes. The AI answer check asks a local model, which does not browse and is not ChatGPT or Perplexity; Google AI Overviews have no API and are not checked.
- The audit checks one page's technical basics, with alt text and heading order as its accessibility checks. Next steps: rankings and speed under load.

