[Support request] Hook type in elements list

Home Forums Support [Support request] Hook type in elements list

Home Forums Support Hook type in elements list

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #914000
    Andreas

    I would appreciate it if the list of hook elements would indicate which hook it is (“before_header” i.e.). Can an additional column be introduced there? This would immediately improve the overview of the position of the elements.

    #914122
    David
    Staff
    Customer Support

    Hi there,

    all of the main template hooks can be seen here:

    https://docs.generatepress.com/article/hooks-visual-guide/

    Let me know if this helps

    #914180
    Andreas

    Thanks for your answer.

    I did not mean that I want to know where which hook intervenes, but that I want to see in the list of elements (/wp-admin/edit.php?post_type=gp_elements), where each element is currently placed by me.

    Example:

    At the moment I see in my list of elements that:
    Title: “Additional header settings” / Type: “Hook” / Location: “Entire Site” / Exclusions: “” / Users: “” / Published: “22.05.2019”

    What I want to see additionally is that:
    Hook: “wp_header”

    #914190
    David
    Staff
    Customer Support

    Aah ok – that makes sense, yes thats a good suggestion ill get Tom’s input on that.

    #914811
    Tom
    Lead Developer
    Lead Developer

    Definitely would help. It would require a column for the Hook name even though the other Elements don’t have hooks. Perhaps we could add it below the Element Type. I’ll do some playing 🙂

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