Hi there,
I am having some issues with GP hooks and hope there is a solution to the issue.
I have a header element designed using the ‘Header’ element type, which you can see the example post here.
I also have a ‘Hook’ element type, which adds a ‘header_advert’ div element, which is where an advert is loaded into. For the above post, you can see this displays it underneath the header element.
I have just updated the design of the page hero to one in Blocks (thank you GP for doing block element types). As just mentioned, it is a ‘Block’ element type, with an example post here.
However, you can see the advert/header_advert div element loads above the element, which is not my intention – I want it to load below it like the previous design.
How can this be achieved? I currently have the ‘Block’ hook name set to ‘after_header’ and have tested and don’t see anything else that can achieve this.
With the Header element type with the classic editor feel, moving to a Block element to replace it, how do you make the transition easy and seamless without any loss of position changes etc.?
Many thanks,
Will