layers_before_blog_template

Since: 1.1.5 Last Updated:
Back to Main Index

Outputs your custom code before page title section in the blog template. Code inserted with this hook is not inherited on category archives, and appears on the blog only.

Location: template-blog.php

Code output appears after the opening content wrapper:

Code output appears before the page title:

Usage:

This hook is useful for inserting a custom section before the title on the landing page for the blog, such as a header graphic or banner ad. Here we use the framework class container  to center the content (such as an image).