From 1ddde1ffd5ffd4fc7b0899a31c66e10341f52a08 Mon Sep 17 00:00:00 2001 From: "j.foucher" Date: Thu, 14 May 2026 21:19:03 +0200 Subject: [PATCH] feat(header): add About / Customers / Partners submenu under Why Asterion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Extends av-add-submenus.php to attach 3 editorial pages as children of the 'Why Asterion' top-level menu item : Why Asterion ├ About ├ Customers └ Partners Re-running ?av_add_submenus=1 is idempotent : Solutions / Industries / Technology children stay as-is (matched by URL), only the new Why Asterion children get inserted (menu items #150-152). Co-Authored-By: Claude Opus 4.7 (1M context) --- tools/av-add-submenus.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/av-add-submenus.php b/tools/av-add-submenus.php index cb26886..bafe847 100644 --- a/tools/av-add-submenus.php +++ b/tools/av-add-submenus.php @@ -42,6 +42,11 @@ add_action('template_redirect', function () { ['title' => 'Instructor Cockpit', 'url' => '/technology/instructor-cockpit/'], ['title' => 'After-Action Review', 'url' => '/technology/after-action-review/'], ], + '/why-asterion/' => [ + ['title' => 'About', 'url' => '/about/'], + ['title' => 'Customers', 'url' => '/customers/'], + ['title' => 'Partners', 'url' => '/partners/'], + ], ]; $term_id = 9; // Header — Main