Site logo

Archived topic

Using Hooks

5 replies · Started by epickenyan on February 20, 2019

Viewing posts 1–6 of 6

Hi. When using the elements in the Appearance section, do I need to use the exclude function if I specify where the element should display?

Hi there,

its not mandatory to use the Exclude rule.
Only where you wish to do so or where a conflict is created.
For example:

Header Element #1 set to Display on Posts > All Posts.
Header Element #2 set to Display on Post > A Single post

You would need to exclude the post set in Header Element #2 from Header Element #1.

Oh, okay. I thought that function was to exclude the code from loading in other sections of the site. I get it now. Thanks.

Totally, so its not just a case of conflicts. You could use it to just exclude a hook or header or layout from a particular post, page etc.

Good to know. Cheers!

You're welcome

This archived topic is closed to new replies.