feat(header): add About / Customers / Partners submenu under Why Asterion

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) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 21:19:03 +02:00
parent a795fb345f
commit 1ddde1ffd5

View File

@@ -42,6 +42,11 @@ add_action('template_redirect', function () {
['title' => 'Instructor Cockpit', 'url' => '/technology/instructor-cockpit/'], ['title' => 'Instructor Cockpit', 'url' => '/technology/instructor-cockpit/'],
['title' => 'After-Action Review', 'url' => '/technology/after-action-review/'], ['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 $term_id = 9; // Header — Main