2026-04-21 — Jan's In the Media + Blog fixes
Source
Basecamp thread "Top prio: New Solano CF Website Direction and Copy" — two sub-asks Jan flagged on Apr 21.
What changed
Fix 1: Testimonials hidden from /in-the-media/
- File:
archive-media_mention.php(theme root) - Change: Added a hardcoded
NOT INfilter oncontent_type=testimonialin the archive WP_Query, above the existing admin-settings-driven filter. Press coverage only now. - Why hardcoded (not via admin option): Admin option lives only in the DB; doesn't travel with a deploy. Hardcoding ships via git → Flywheel deploy with no follow-up action.
- Not deleted: The 24 testimonial posts still exist and still render via the Testimonials ACF module on other pages.
Fix 2: "Archive" pill removed from /blog/ filter bar
- File:
home.php(theme root) - Change: Removed
'archive' => 'Archive'from the$filter_categoriesarray — filter bar now shows National / Local / All. - Not deleted: The underlying Archive category still exists in WordPress. Posts in that category still exist and are still accessible.
Verified
- Chrome-devtools MCP against
east-solano-plan.local— both pages render correctly, no console errors, filter pills still function. - WP-CLI confirmed 24 articles + 24 testimonials in DB.
PR
#13 — Fix: Hide testimonials from In the Media, remove Archive blog pill — branch feature/jan-apr21-fixes, commit 90e3495.
Deploy note
Code-only change. No DB updates needed. Once PR merges and Eric pushes to Flywheel via Local's MagicSync, the fix is live.