[Resolved] Using Hooks

Home Forums Support [Resolved] Using Hooks

Home Forums Support Using Hooks

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #815768
    epickenyan

    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?

    #815777
    David
    Staff
    Customer Support

    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.

    #815790
    epickenyan

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

    #815803
    David
    Staff
    Customer Support

    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.

    #816302
    epickenyan

    Good to know. Cheers!

    #816377
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.