Since: 1.1.5 Last Updated:
Back to Main Index

Outputs your custom code before the excerpt in the Title section (the large banner-style title) on page templates such as blank and Blog, and wherever this partial is called. This code is outside the main loop.  

This hook has identical placement to layers_after_title_heading with the exception of being inside the Excerpt condition, therefore code inserted using this hook will not appear if the post or page does not have an excerpt defined or if title excerpts are disabled another way.

Location: partials/header-page-title.php

Code output appears after:

Code output appears before:


The below example demonstrates how you might insert a static subheading for the title excerpt in search results only using this hook using is_search.