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.

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

What’s Next?