layers_before_header_secondary_inner

Last Updated:
Back to Main Index

Outputs your custom code just after the opening div  tag of the Top Bar, but before the layout container begins.

Location: partials/header-secondary.php

Code output appears after

Code output appears before:

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.