How to add custom menu to block theme?

Question

I’m creating a theme based on the 2023 block theme from WordPress 6.1.

I need to create a custom menu as the built-in one is too limited for me.
I initially thought I can just enter the menu under “appearance-> menus”, then output it with php somehow, but then I’ve noticed that appearance-> menus no longer exists.

What is the right approach for building a custom menu with block themes?

Do I just create a custom HTML block and hardcode the menu? is that the way?

0
Dannyboy 2 weeks 2022-11-16T20:55:02-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse