layers_before_site_wrapper

Since: 1.0 Last Updated:
Back to Main Index

Outputs your custom code before the site wrapper and after the body tag.

Location: header.php

Code output appears before:

before-site-wrapper

Usage

Example:

Because this hook outputs content before the wrapper, it is best used for non-visual elements such as output of CSS or scripts that require placement after the body tag. One potential use of this hook for a visual element would be anything that uses an absolute position such as a background overlay or full-screen advert.