[Resolved] Hooks Element on WordPress Shop Page

Home Forums Support [Resolved] Hooks Element on WordPress Shop Page

Home Forums Support Hooks Element on WordPress Shop Page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #797283
    Michael Largue

    How can I insert a hook element at the top of a Woocommerce shop page to display a shortcode map/object?

    #797410
    David
    Staff
    Customer Support

    Hi there,

    use the Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    The before_header hook is the top most hook.

    For the Display Rules use Product Archive

    #798070
    Michael Largue

    Thanks, David
    As per the title, I am referencing the use of the hook element. The issue is that it does not appear to work on the Woocommerce shop page, as it does on other pages. How can I make it do what it is supposed to do on the Shop page? Apologies if I wasn’t clear enough.
    Regards
    Michael

    #798071
    Michael Largue

    Hi David
    By way of further clarification, the “before_header” is not the required position. I actually require it to be inserted in the “inside_container” position (i.e. the first full_width position within the container). Or do I?
    Regards
    Michael

    #798091
    Michael Largue

    Hi David
    It would appear that I am dealing with another cache-related/conflict issue. Sorry for wasting your time.
    Regards
    Michael

    #798157
    David
    Staff
    Customer Support

    Glad to hear you got it resolved. 🙂

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