Nav Menu Roles
[resolved] Export/Import Menu role data (8 posts)

  1. llonchj
    Posted 2 years ago #


    Thanks for the nav-menu-roles, it's amazing and well designed.

    I have a requirement to be able to import export the menus from one wordpress into another.

    Aparently the import does not include nav_menu_role metadata.

    Any ideas?

    Thanks in advance,


  2. helgatheviking
    Plugin Author

    Posted 2 years ago #

    Correct, the regular import does not import the meta data. However, after you have imported normally, run the import process again with Nav Menu Roles' importer and all the meta data should be added.

    I'm still looking for something that imports/exports just the menu, but haven't found it.

  3. llonchj
    Posted 2 years ago #

    hi Helga,

    Thanks for your reply.

    Please can you help me on how/where to find the "Nav Menu Roles'importer"?

    Importing metadata from *any* post might have to be a feature, do you think this has to be implemented in WP Core?


  4. helgatheviking
    Plugin Author

    Posted 2 years ago #

    It is in with all the other Importers. Go to Tools > Import. See the screenshot:

    If you export *all* your content, the menu meta data *is* there. Weirdly, it gets dropped by the WordPress importer plugin. Run that same full export .xml file through the Nav Menu Roles importer and the meta data will be added to the menu items.

    It won't be added to core, I'd imagine, but I'd love to see the WordPress Importer plugin get an update.

  5. llonchj
    Posted 2 years ago #

    Thanks Helga,

    It's nice that you put the import in the right place. It's funny that I was looking for the import feature everywhere else but in the Tools|Import. ;)

    Thanks again for your time and effort in nav-roles-menu.

  6. helgatheviking
    Plugin Author

    Posted 2 years ago #

    It was supposed to be easy to find. ;) Glad that is helped you.

  7. llonchj
    Posted 2 years ago #

    Yes, you're completely right.

    But it's common for plugins to have import/export functionality outside Tools admin menu.

    Your website contact form is not working to me, I have some issue with the blank/required field. Please, can you contact me for a private question? llonchj@gmail.com

    Thanks again!

  8. helgatheviking
    Plugin Author

    Posted 2 years ago #

    That's true. I figured users would already be going there to import their regular content. Copying the regular importer was the easiest for me, because import/export isn't my thing. I would much rather prefer that import/export be handled by that specific plugin, but http://wordpress.org/plugins/wordpress-importer/ was falling short there so I tried to fill in the gap.

    My form should be fixed now, thanks for pointing that out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Nav Menu Roles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic