Site logo

[Resolved] Hook for taxonomy

Home Forums Support [Resolved] Hook for taxonomy

Home Forums Support Hook for taxonomy

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2517187
    Chad Biggs

    Is there a hook I can use in elements to target a particular taxonomy?

    #2517300
    Leo
    Staff
    Customer Support

    Hi Chad,

    There are no hooks attached to categories or taxonomies – hooks are in the page structure itself and you can use the display rule to display them in specific taxonomy.

    Let me know if this helps 🙂

    #2517453
    Chad Biggs

    Thank you for your reply. Maybe you can help me find a solution? I am using custom posts types and I have my post separated by taxonomies. What I am trying to accomplish is a different header for each parent taxonomy. I could make different custom post types to replace each parent taxonomy but I feel like that will just make things messy in the admin. Are there any other options you could think of? Is there a way to call a slug with a hook?

    #2517741
    Leo
    Staff
    Customer Support

    Would a block element site header be helpful in this case?
    https://docs.generatepress.com/article/block-element-site-header/

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