[Support request] How can I implement the wordpress navigation into generate blocks?

Home Forums Support How can I implement the wordpress navigation into generate blocks?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1437987
    Fabian

    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!

    #1438060
    David
    Staff
    Customer Support

    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:

    https://generatepress.com/generatepress-3-0-a-new-era/

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