How to set up menus after import programmatically
-
In my multisite network (sub directory style), I first import a wordpress site using a php script that calls wp import. This works fine except that the menu settings are not preserved.
For example, after creating mydomain.net/new_one, my menu: About | Contact | Home, but in the source of the imported site I have set the order to be: Home | About | Contact.
If I go into the Dashboard of mydomain.net/new_one, I can set the Appearance->Menu choice checkbox and that selection creates the desired menu arrangement.
How do I set the choice programmatically in my php script, after I use wp import?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to set up menus after import programmatically’ is closed to new replies.