Visual Hooks Guide
The Visual Hooks Guide contains diagrams showing where Trellis hooks appear within the Trellis Core templates.
Use this guide to see which hooks appear within or before major HTML elements.
Note
These diagrams show the hooks as coded in the Trellis Core theme. Other themes (such as Bamboo, Birch, and Wisteria) may vary from these diagrams.Helpful Information
- Hooks are fired within custom Trellis functions. THA hooks are shown in the diagrams with the calling Mediavine function in parentheses.
- Not all available Trellis hooks are displayed in the diagrams. See Hooks for a complete list.
- Top-level elements such as
<html>
,<head>
, and<body>
are not shown in the diagrams. Hooks that apply to those areas are shown at the top of Header Hooks. - Semantic markup blocks are shown in color and match what is shown in the Visual Markup Guide.
Diagrams
Header Area
Content Area
- Content-Feed Page Hooks
- Content-Full-Width Page Hooks
- Content-Latest Posts Page Hooks
- Content-Single Page Hooks
Footer Area
What’s Next?
- See the Visual Markup Guide to see Trellis Core page layouts without the hooks
- Read about all available Trellis Hooks