Menu fallback required?

Thanks to the mystery reviewer who sent the quick feedback on my theme submission :slight_smile:

A point of feedback was "Activating theme will override all your existing pages. It does not have a fall back for the menu that will allow to get your original menu settings back. "

I’m not sure what that means. I’ve switched themes on my local install a number of times and the menu stays constant, is this fallback still required?

wp_nav_menu() – Function | Developer.WordPress.org says that the menu area will default to a list of pages if no fallback is explicitly set.

Cheers,
Nick

I don’t think the fallback is required. I don’t have one on my custom themes. I’ve just tried switching between themes on a test site, and I didn’t lose a menu. (The menu locations might not match up, of course, but the menus themselves remain intact.)

1 Like

fallback menus are recommended but not required for any custom things or themes in our directory/repository.

1 Like

Thanks both, I’ll let it use the default fallback then

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.