diff --git a/source/wp-content/themes/wporg-developer/header.php b/source/wp-content/themes/wporg-developer/header.php index 9d299072d..aefb72444 100644 --- a/source/wp-content/themes/wporg-developer/header.php +++ b/source/wp-content/themes/wporg-developer/header.php @@ -14,18 +14,13 @@ // When to show the masthead $show_masthead = is_front_page() || is_page( 'reference' ); -$active_menu = is_post_type_archive( 'command' ) || is_singular( 'command' ) ? 'devhub-cli-menu' : 'devhub-menu'; - -// When the search is in the subheading bar -$has_menu_items = $show_search && ! $show_masthead || has_nav_menu( $active_menu ); - ?>