layers_before_header_inner

Since: 1.0 Last Updated:
Back to Main Index

Outputs your custom code just after the opening header tag, but before the layout container begins.

Location: header.php

Code output appears after

Code output appears before:


before-header-inner

Usage:

Example:

Because this hook outputs content after the opening header tag, it can be used for any code that you want to insert into the header above the logo and navs but that you do not want conforming to the header layout(boxed/full-width) or inheriting the container class styling, such as a banner ad.