Since 1.2.0 a link to the search page prints its own search icon as inline SVG (svg.lh-search-page-icon, aria-hidden, focusable="false", fill="currentColor") before its label. The icon is the Genericons Neue search icon (GPL v2 or later), the same one LH 2015 drew in CSS until 2.35.33.
- Which links: a navigation link block or classic menu item whose address is the search page (same host, or a relative link, and the path /search/, ignoring the query string and fragment), or a navigation link with the
lh_search_page-linkclass. No menu change is needed for existing links. - Classes: the link’s item gets
has-inline-iconandlh_search_page-link. A theme that draws menu icons in CSS should skip items withhas-inline-icon, as LH 2015 does, and place the SVG where its CSS icon would be. - Styles: a one-line inline stylesheet (
lh-search-page-icon) spaces the icon from a visible label. It loads only on pages that print the icon. - Editor: the navigation block gets a Search Page link variation (label Search, the search page address, class
lh_search_page-link). The editor renders navigation links itself, so there the icon is drawn with a CSS mask on any link to the search page. - Filter:
lh_search_page_return_iconreturnsarray( 'viewbox' => ..., 'path' => ... ). Change the path to use another icon, or return an empty path to print none.

