layers_after_logo_inner

Since: 1.0 Last Updated:
Back to Main Index

Outputs your custom code after the content of the logo div, such as the image, site description and title etc.

Location: parials/header-logo.php

Code output appears after:  

Code output appears before

The following diagram illustrates the difference between the layers_before_logo hook (A) , layers_before_logo_inner  (B) and layers_after_logo_inner  (C)

logo-wrapper

Usage:

Because this hook outputs content before the closing logo div, it can be used for any code that you want to insert into the logo container that you want to “stick” to the logo or have inherit the logo’s positioning to avoid your element colliding with the nav menus. This is the most common hook for placing extra elements into the header such as search fields, signup forms, social links or banner ads.