fbpx

Hooks – Custom Theme Elements

| |

This website uses affiliate links from various retailers. For example: As an Amazon Associate I earn from qualifying purchases. See more information and disclosures here.

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.

Share this post on your Facebook, Twitter, or Pinterest page with the easy share icons below.

Neal Tucker is one of the world’s most engaging Disney influencers, with thousands of views and responses across his blog, podcast, and social media profiles every month.

Get started with more D Is For Disney content here

Join over 7,000+ subscribers and followers of D Is For Disney with Magic Mail. And always feel free to send Neal a message here.

Get my exclusive Disney coloring book FREE when you sign up for Magic Mail ✨

    We respect your privacy. Unsubscribe at anytime.
    Powered By ConvertKit
    Previous

    Page and Post Heroes

    A guide to styling and making Dispatch your own

    Next
    Skip to content