How to add custom menu to block theme?


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?

Dannyboy 1 year 2022-11-16T20:55:02-05:00 0 Answers 0 views 0

Leave an answer