Categories: StylingTime Saving

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:

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.

jkdrama

Share
Published by
jkdrama

Recent Posts

post 1

posts 1 hgdhdgdhdg

1 month ago

A guide to styling and making Dispatch your own

Dispatch is a Magazine style blog for your new website. Each of its features have…

2 years ago

Using WP Show Posts

Adding post lists and grids to your Site couldn't be easier than with the WP…

2 years ago

Page and Post Heroes

Page Heroes are those big bold images and headlines you find at the top of…

2 years ago

How to change the Custom Colors

Changing Colors in Dispatch are mainly done via the Theme Customizer. Certain elements such as…

2 years ago

Style Guide

Heading One H1 Heading Two H2 Heading Three H3 Heading Four H4 Heading Five H5…

2 years ago