-
-
Save hissy/6739352 to your computer and use it in GitHub Desktop.
Super helpful, thank you for sharing! Just saved me a few hours :)
Hi, can I export only a specific menu name and not all definited menus?
Thanks for any reply.
Hi,
plugin like this is really important. It last (probalby) working one in the world.
But it didnt work in my case.
After importing wp shows error:
Menu item skipped due to invalid menu slug: default
Menu item skipped due to invalid menu slug: default
Menu item skipped due to invalid menu slug: default
....
I am getting the same error as reported by robinpecha.
The above error reported by robinpecha is overcome by creating empty menus with the same name as the source website menus before importing. However, once imported, the menus are flat, having lost all submenu structure.
Great job. This just saved me from setting up over 100 menu items. FYI, the one quirk: menu hierarchy is lost on the imported menu. The new menu has all top-level items. They looked to be ordered by original menu level. i.e. all the top-level items first, followed by their children, etc.
As chrslcy suggested, I first made empty menus in the site I was importing to, identical in name to the originals.
I got two import errors. These make sense because I had two pages on the old site that were not on the new site. Can't find what is not there.
how to use this 'plugin'?
there is no guide or instructions about how to 'install' this
Fixed the hierarchy. Huraaay
https://gist.github.com/raynov/5171cfb2083f35fb4e051183b47808ce
I have tried this plugin and raynov's patched plugin. I cannot seem to get a plugin that works for custom menus. I have a single page solution with anchor links (#something) for the menu. Having no menu gives errors described above. Creating an empty menu solves the error problem. However the menu items are not created at all.
I made some fix and modification, with WordPress 4.7 in my dev enviroments it works fine with tax, post_type and custom nav menu items and now if the menu doesn't exist it will be created during the import.
Here the link https://gist.github.com/overclokk/bad83a7cb3db4263192aa52db0a60fc0
Hello,
can I use this Tool to migrate from one Domain www.123.com to another Domain www.abc.de
How can I do this?
The pages are the same on both Domains.
I´ve renamed in domains inside the export file to the new domain, but I got this error:
Menu item skipped due to invalid menu slug: primary
Best regards,
Rene
It is unfortunate but this tool does not work in multisite.
how to use this 'plugin'?
there is no guide or instructions about how to 'install' this
save the file as nav-menu-exporter-importer.php and put into wp-content/plugins/wordpress-importer directory. then go into Plugins in Admin Dashboard to activate
Hi,
Almost working.
Export is OK (do not update Nav Menu Exporter and Importer).
Import run well (create a menu with same name before) : 87 items processed. But menu is empty.
Anyway thank you,
Hi. Thanks for your code. I was wondering if we can implement your code and merge with this one here
http://wordpress.org/support/topic/failure-to-import-post-meta-for-nav-menu-item?replies=6#post-3926917
This one should include the menu items meta data, something that's missing as well from WP Importer.
Thanks for any reply.