Hooks – Custom Theme Elements

Hooks – Custom Theme Elements

Dispatch uses a few Hook Elements to create some Custom Elements in the site.
All of them provide dynamic output and should not require any changes to their content.
For more info on the Hooke Element read here:
https://docs.generatepress.com/article/hooks-element-overview/

Custom Post Navigation

Adding a custom featured image post navigation at the foot of all posts.
Please note: that the Post Navigation is disabled in the Customizer as it is not required.

Secondary Navigation

This hook calls the Secondary Navigation and displays below the header / header element. It also uses Display Rules so it is excluded from All Posts.
Please note: the Secondary Navigation Location in the Customizer is set to No Navigation.

WPSP Open Wrapper & WPSP Close Wrapper

These two hooks create a Div wrap around the Enter Header, Summary and Entry Footer of the WP Show Posts. This is used to create the custom styling you see here.

Nadia Luna

Periodista gastronómica y sommelier, miembro de la Chaine des Rotisseurs. Ha colaborado en publicaciones nacionales como El Universal, La Crónica de Hoy y el diario 24 horas. Es editora de la revista digital Crónica del Sabor, donde además de su labor en la coordinación de contenidos, desarrolla importantes reportajes y entrevistas en torno a la actividad culinaria en México y el mundo. Realiza servicios de consultoría de redes sociales y diagnóstico para empresas. Además de catas de vino privadas. Instagram y Twitter @nadiacronicas