Hooks – Custom Theme Elements

Photo of author
Written By Larious

Larious is the Executive Editor of LowkeyTech. He is a tech enthusiast and a content writer. 

 

 

 

 

Last Updated on September 21, 2018 by Larious

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:

Hooks Element Overview

Table of Contents

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.

Previous

Page and Post Heroes

Buying New Phones Compared With Used Phones

Next