Session Overview
Goal: update the 12 Split-Hero Redesign Draft hero blocks (in Design Elements - Current/a - Hero Blocks/Split-Hero Redesign Drafts) to use content-matching images from the WP media library instead of the placeholder bokeh highway image, save the updated drafts locally, and stage the corrected images onto the matching live pages.
Key discovery: the live site had already diverged from these drafts. The cva-hero redesign is already live on the practice-area pages, and the bokeh placeholder now only sits in the results-ticker background, not in the heroes. Several live heroes had WRONG images (generic office building, a motorcycle on the moped page, a skyline on the car page).
What Was Accomplished
- Audited the WP media library via REST (307 unique image hits across topic searches). Matched a purpose-built or strongly on-topic image to each of the 12 topics; confirmed each candidate returns HTTP 200 and is landscape.
- Updated 11 local draft HTML files (swapped bokeh URL for the matched image inside cva-hero__img). The Uber draft already used rideshare-accident-v2, left as-is. Originals backed up.
- Deployed 4 live hero fixes via REST POST (content-only, status kept publish, 7/7 integrity checks each, verified post-deploy and on the live front-end):
- ATV (page 61287): office-building -> ATV_Accident.webp
- Hit-and-Run (61284): office-building -> hit-and-run-car-accident-kentucky-hero.jpg
- Insurance Bad Faith (61289): office-building -> bad-faith-v2.webp
- Moped (61288): motorcycle image -> moped-accident-kentucky-hero.png
Live Hero State (verified)
Already correct, no change: Lexington 6911 (lexington-downtown-street, uses the older sa-split-results-hero design), Semi 61282 (semi-truck-closeup-highway-dusk), UPS 61364 (ups-delivery-van-gravel-road-hero), Uber/Lyft 61285 (rideshare-accident-v2), Motorcycle 6899 desktop (motorcycle-crash-road-scene-1).
Pending (needs Sam)
- PROTECTED pages not touched per wp-content-deployer gate: Car 6891 (hero is a generic Louisville skyline; recommend media 61367 totaled-car-kentucky-hero.webp). Motorcycle 6899 (desktop OK; mobile sa-m-hero shows a t-bone CAR crash, tbone-intersection-crash-scaled; recommend a motorcycle image).
- Optional hero upgrades (left live as-is): Truck Causes 10228 (Car-and-Truck -> 66836 truck-investigation-hero-higgsfield), Delivery Fatigue 61371 (Driver-fatigue -> 44116 Fatigued-Delivery-Driver), Uber square -> 63344 uber-lyft-accident-kentucky-hero landscape.
- Results-ticker bokeh: still referenced as a near-black textured background (overlaid ~0.93 navy). Not a hero issue; optional to replace.
- Local index.html preview PNGs are now stale (still show bokeh); the HTML is source of truth. Regeneration offered.
Tried / Didn't Work
- A helper script named inspect.py shadowed Python's stdlib inspect module, causing a circular-import crash. Renamed to wp_inspect.py. Note for future sandbox scripts: avoid stdlib names.