layers_before_footer_inner

Since: 1.0 Last Updated:
Back to Main Index

Outputs your custom code before the inner footer wrapper, within the <footer>  element.

Location: footer.php

Code output appears after:

Code output appears before:

before-footer-inner

Usage:

Example:

This hook is useful for inserting code into the <footer>  element that you do not necessarily want to conform to the chosen layout (full width or boxed) and is similar to layers_before_footer . The choice of hook depends on which parent element you want your code housed within for inheriting styling and for SEO. Code inserted using layers_before_footer , for example, should have a <section> and should be used for primary layout containers sitting within the site wrapper, whereas layers_before_footer_inner  is ideal for sub-elements like full-width widget areas.