Archived topic
How can I implement the wordpress navigation into generate blocks?
1 reply · Started by Fabian on September 10, 2020
Hey there,
right now im getting familiar with the block elements. However im confused about how to implement the navigation into block elements, for example like this blue image from the footer I found in the documentation:
https://generatepress.com/gp-premium-1-11-0-block-elements/
Thanks in advance!
Hi there,
the Navigation Block is a WP core block - but it is still in its Experimental stage.
So at this time you cannot add navigation into a Block Element - but it will come.
One option you do have is you can insert Blocks inside hooks such as the inside_navigation this will allow you to add buttons / social icons etc inside the nav.
In GP 3.0 we added the generate_menu_bar_items hook this will allow the above to add content inside the nav and mobile headers. You can read more here: