I have a problem. I have a WordPress theme which supports two navigation menus. The primary menu shows all the pages, and the secondary menu displays the categories by default. When I go to Appearance->Menu to change the settings it says "The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar". Could anyone please tell me how to solve this?
|
This is your problem. Your Theme does not implement the core WordPress custom navigation menus feature.
I assume that it is doing so via a call to
I assume that it is doing so via a call to How to fixYou will need to modify your Theme to accommodate the custom navigation menus feature. Fortunately, doing so is not hard at all. It involves two steps:
Registering Theme LocationsYou register Theme Locations via Add the following to
Outputting custom nav menus in the templateYou will need to find where your Theme calls Replace this:
… with this:
And replace this:
...with this:
You may need to play around with the arguments passed to For more precise instructionsFor more precise instructions on converting your specific Theme's menus to support custom nav menus, you'll need to update your question to include the exact code that calls |
||||
|
|