Digital Sovereignty for everyone

Theming, handles and filters

Replaced: theme against LH Web Application’s lh_web_application-navigating body class instead. It is set while the next page loads and documented on LH Web Application’s Extending page. The details below describe the retired plugin.

The bar is a div with the id lh_navigation_listener-nav, inserted as the first child of body only in standalone display mode, and marked aria-hidden. While a navigation is in progress the script adds the class lh_navigation_listener-navigating to body.

Colours

Set these custom properties anywhere they inherit to the bar, for example on :root:

  • --lh-navigation-listener-track: the bar background (default #222).
  • --lh-navigation-listener-bar: the moving indicator (default #fff).

Handles and filters

  • Script handle lh_navigation_listener-script (deferred, footer) and style handle lh_navigation_listener-style (inline CSS only, no file). Both are enqueued on wp_body_open, so they load only on front-end pages the theme renders. Dequeue the style handle to take over all styling in the theme.
  • lh_navigation_listener_return_inline_css: filters the inline CSS. Return an empty string to print none.
  • lh_navigation_listener_init_plugin: return false to stop the plugin loading.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.