How to Import and Export Navigation Menus in WordPress


Would you like to trade a route menu from one WordPress site and import it into another?

The default WordPress import/trade include permits you to move menus as a component of the full site move, however it doesn’t allow you to import/send out menus without help from anyone else.

In this article, we’ll tell you the best way to effortlessly import/trade route menus in WordPress, so you can save time.

Understanding WordPress’ Import/Export Features

On each WordPress site, you have inherent import and fare highlights. You can locate these under Tools » Import and Tools » Export in your WordPress dashboard.

If you go to the Export page, you’ll see the WordPress default options. These let you choose between exporting all content, or exporting only your posts, pages, or media.

All substance incorporates your route menus … in addition to posts, pages, remarks, custom fields, terms, and custom post sorts.

Yet, much of the time, you would prefer not to import everything. For example, you may very well need to imitate your route menu and the pages remembered for it, however not your posts or some other pages.

Fortunately, there’s a simple module that broadens this usefulness, so you can just import and fare route menus in WordPress.

That being stated, how about we investigate how to import and fare route menus without sending out all the substance.

Fare and Import Navigation Menus in WordPress

Prior to going further, satisfy sure you’re with the menu you’ll be trading. You can discover your site’s menu under Appearance » Menus.

In the event that you need assistance to make or change your menu, investigate our instructional exercise on the most proficient method to add a route menu in WordPress.

Next, you need to introduce and initiate the WPS Menu Exporter module. For additional subtleties, see our bit by bit control on the best way to introduce a WordPress module.

Upon enactment, you need to visit Tools » Export page in your WordPress administrator dashboard.

You should now see an extra choice to send out route menu things. This will incorporate your menu itself, in addition to all the pages that are connected from your menu.

On the off chance that you have any posts in your menu, those will be incorporated as well, alongside any remarks on them.

Basically select the Navigation Menu Items radio catch and afterward click the ‘Download Export File’ button.

This allows you to download your route menu and its related pages to your PC. These are put away in an .xml record with the name site.wordpress.yyyy-mm-dd, where “webpage” is the name of your site and “yyyy-mm-dd” is the date.

Bringing in Your WordPress Menu to Your New Site

You can import the .xml record you just downloaded by utilizing WordPress’ standard Import include. It’s a basic cycle. You simply need to transfer your route menu record to your new site.

Significant: Make sure you don’t have any current pages with similar name as pages in the menu you’re bringing in, not even in the garbage. Something else, the import instrument will most likely be unable to import those pages accurately.

To start with, sign in to your WordPress dashboard on the new site where you need to import your menu.

Next, go to Tools » Import. You’ll have to introduce the WordPress merchant. Simply click the ‘Introduce Now’ interface underneath ‘WordPress’ at the lower part of the rundown.

Once you’ve installed the WordPress importer, you should see a ‘Run Importer’ link in place of the ‘Install Now’ link.

After you click on this link, you’ll see the Import WordPress screen. Here, you’ll need to click the ‘Choose file’ button so you can select the .xml file you downloaded earlier.

Once you’ve selected your file, go ahead and click the ‘Upload file and import’ button.

On the next screen, you’ll be asked to ‘Assign Authors’. The default option is to import the original author of the menu content.

In many cases, it’ll make the most sense to set an existing user as the author of the imported content. You can do that by selecting the user’s name from the dropdown menu.

If you plan to re-use the content of the pages themselves, then you’ll also want to check the ‘Download and import file attachments’ box. This means that images will be included in the import.

Once you’re happy with your settings, click the ‘Submit’ button at the bottom of the page.

Upon completion, you should see the following message:

Survey Your Imported Menu and Pages

The import has placed your menu and the related pages set up. To investigate the imported menu, simply go to Appearance » Menus. Here, you can ensure that it’s been imported accurately.

You can also click on the Pages tab in your WordPress dashboard to check out the new pages that have been imported along with the menu.