-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing Menus #1
Comments
+1 from me |
I have it importing menu locations based on |
What do you think — should we specific menu navigation, or should that part specifically be left up to the user? |
What ended up with this? I had to write my own function to set the menus to their locations. It seems to work, but feels like it should be part of MerlinWP core. Most of the time when importing demo content the user is going to want to import the menus as well IMO. |
@JiveDig How're you importing menus? I think it'd be a nice addition. Maybe even have a checkbox on the content importing view. |
I went off your example file. It's based on slug so definitely not very useful in the core class. I just went off the main menu names we use in our demos and docs.
There has to be a better way. Maybe storing/passing the menu object during import or something. |
Also, this would be way more useful to do demo-specific stuff if we could get #120 data passed. I tried to re-architect the class a little but that one seems like you may want to have the first pass at it, if you agree and are motivated ;) |
I honestly don't have a ton of resources currently for big parts here. 😅 |
I'd like for menus to also import as part of the content importer. That'd be awesome. 🙌
The text was updated successfully, but these errors were encountered: