@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/portfolio/lh-search-page/>
  a sioc:Post ;
  dc:title "Search page link icon" ;
  dcterms:identifier 154408 ;
  dc:modified "2026-11-13T05:30:02Z"^^xsd:dateTime ;
  dc:created "2026-11-13T05:30:02Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-search-page/search-page-link-icon/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-search-page/\">LH Search Page</a></li></ul><p class=\"wp-block-paragraph\">Since 1.2.0 a link to the search page prints its own search icon as inline SVG (<code>svg.lh-search-page-icon</code>, <code>aria-hidden</code>, <code>focusable=\"false\"</code>, <code>fill=\"currentColor\"</code>) 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.</p><ul class=\"wp-block-list\"><li><strong>Which links:</strong> 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 <code>lh_search_page-link</code> class. No menu change is needed for existing links.</li><li><strong>Classes:</strong> the link&#8217;s item gets <code>has-inline-icon</code> and <code>lh_search_page-link</code>. A theme that draws menu icons in CSS should skip items with <code>has-inline-icon</code>, as LH 2015 does, and place the SVG where its CSS icon would be.</li><li><strong>Styles:</strong> a one-line inline stylesheet (<code>lh-search-page-icon</code>) spaces the icon from a visible label. It loads only on pages that print the icon.</li><li><strong>Editor:</strong> the navigation block gets a Search Page link variation (label Search, the search page address, class <code>lh_search_page-link</code>). The editor renders navigation links itself, so there the icon is drawn with a CSS mask on any link to the search page.</li><li><strong>Filter:</strong> <code>lh_search_page_return_icon</code> returns <code>array( 'viewbox' =&gt; ..., 'path' =&gt; ... )</code>. Change the path to use another icon, or return an empty path to print none.</li></ul>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Search PageSince 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-link class. No menu change is needed for existing links.Classes: the link&#8217;s item gets has-inline-icon and lh_search_page-link. A theme that draws menu icons in CSS should skip items with has-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_icon returns array( 'viewbox' =&gt; ..., 'path' =&gt; ... ). Change the path to use another icon, or return an empty path to print none." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
