layers_before_header

Since: 1.0 Last Updated:
Back to Main Index

Outputs your custom code before the header and after the site wrapper.

Location: header.php

Code output appears before:

before-header

Usage:

This hook is similar to the layers_before_site_wrapper in that you can insert code before the header, but this hook allows your element to conform to the wrapper, which is useful for adding things like an additional navigation bar that spans the full width of the browser window regardless of the header layout chosen.