Export WordPress Nav Menus

12,261

Solution 1

It's not the items that are the issue, it's actually the order that isn't stored.

The menu order is stored in the wp_posts table, under the menu_order field. This field isn't currently included in the WordPress XML Import/Export. There's a trouble ticket in the Trac project with a temporary patch to fix this if you need this immediately, I would suspect that this will be included in the next release:

I hope that helps!

Solution 2

For a recent build I was forced to manually migrate the :

  • wp_terms
  • wp_term_taxonomy
  • wp_term_relationships

doing this manually perfectly copied my menu's to the new site.

Share:
12,261
Cameron
Author by

Cameron

Updated on June 04, 2022

Comments

  • Cameron
    Cameron almost 2 years

    I have a WP 3.0 site running locally that has an epic menu of about 100 items, I need to export it so I can use it on the live site. But from what I can tell the Export function in WordPress doesn't back up your menus. How can I do it?