Hi, I’m running on 3.4.2 and developing a theme and struggling to get nav menu’s sorted.
Basically what I want is to register an menu in WordPress, that is set by default when you go to Appearance -> Menu’s. So when the theme is installed there will be e.g. “Main menu” at the top, which then can’t be removed from WordPress.
I have read about 2 dozen pages on wordpress.org (on theme development) and several blog posts on external pages, and trying a lot, but can’t seem to get it right. What an I doing wrong?
But for some reason I can’t
So what should I do? When I say can’t be removed, I mean by an administrator user in wordpress. Like you can add a menu from the GUI, by clicking a plus, and you can then delete the added one. I want a fixed one, presumably set from the code.
I’m creating a generic theme and want to use custom theme’s, because there will be a main nav that will always need to be set… e.g. wp_list_pages is not what I’m looking for. Is there no way to specify a menu that is there permanently? So can I only specify a theme location that can be bound to a menu that has been made by hand?