Skip to content

Remove the AI secondary navigation (develop) - #233

Merged
mlaetitia merged 1 commit into
developfrom
remove/t51eng-2081-ai-secondary-nav-develop
Sep 7, 2026
Merged

Remove the AI secondary navigation (develop)#233
mlaetitia merged 1 commit into
developfrom
remove/t51eng-2081-ai-secondary-nav-develop

Conversation

@mlaetitia

@mlaetitia mlaetitia commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Related to #

Proposed changes

  • Remove the AI secondary navigation from the header.
  • Remove its styles from _8_overrides.templates.scss, and rebuild both style.css and editor-style.css.
  • Remove the ai_secondary_nav menu location.

Why are these changes being made?

The secondary nav rendered only on pages using the AI Full Width template, as a sticky bar of links below the header. It is being retired.

register_nav_menu( 'ai', ... ) stays: header-ai.php still guards on it.

Testing instructions

This is live on production: page 135639, /ai, uses the AI Full Width template and currently renders the sticky sub-navigation. Staging may differ.

  • On a page using the AI Full Width template, the row of links below the header is gone. The header, page content and footer are unchanged.
  • On mobile, the "Open Source AI" label above those links is gone too.
  • Appearance > Menus no longer offers "AI Secondary Navigation" as a location. The menu itself is untouched and can be deleted separately.
  • Other page templates are unaffected.

After this ships, the matching rules in the Customizer's Additional CSS (.ai-secondary-navbar-wrapper, .ai-secondary-nav-menu, .ai-mobile-label, .ai-secondary-mobile-menu) are dead and can be cleared out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011rCHPCdbV5C5dDJjEmMDuy
@mlaetitia
mlaetitia merged commit ffc0d85 into develop Sep 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant