Title: Does this support WordPress Menus
Last modified: September 1, 2016

---

# Does this support WordPress Menus

 *  [matthewselby](https://wordpress.org/support/users/matthewselby/)
 * (@matthewselby)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/does-this-support-wordpress-menus/)
 * Is it possible to import menus with this plugin?
 * My company currently creates complex menus in our normal builds and being able
   to import menus via CSV as we are currently doing for pages would be incredibly
   beneficial.
 * I appreciate your time!
 * [https://wordpress.org/plugins/really-simple-csv-importer/](https://wordpress.org/plugins/really-simple-csv-importer/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Takuro Hishikawa](https://wordpress.org/support/users/hissy/)
 * (@hissy)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/does-this-support-wordpress-menus/#post-7570126)
 * You’re able to import menu items. The post type handle is `nav_menu_item`.
    You
   have to add some custom fields such as `_menu_item_type` for menu items. If you
   know the detail, please see your database.
 *  [gera3d](https://wordpress.org/support/users/gera3d/)
 * (@gera3d)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/does-this-support-wordpress-menus/#post-7570200)
 * Can you post an example inside a spreadsheet of how this would work? What about
   dropdown menus?
 *  [gera3d](https://wordpress.org/support/users/gera3d/)
 * (@gera3d)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/does-this-support-wordpress-menus/#post-8160998)
 * Thanks for the reply.
 * Here is what I found:
    [https://dl.dropboxusercontent.com/u/340520947/Screen%20Shot%202016-09-08%20at%201.05.35%20PM.png](https://dl.dropboxusercontent.com/u/340520947/Screen%20Shot%202016-09-08%20at%201.05.35%20PM.png)
 * It seems like you need the post_id ahead of time. Is there a way to just give
   it the path you want it to use?
 * Example:
    /New-Page
 * We know what all the post names are going to be so creating the link in the spreadsheet
   level would be awesome.
 *  [gera3d](https://wordpress.org/support/users/gera3d/)
 * (@gera3d)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/does-this-support-wordpress-menus/#post-8161332)
 * Here is a sample I am working on. What am I doing wrong?
    [https://dl.dropboxusercontent.com/u/340520947/import_menu_sample.csv](https://dl.dropboxusercontent.com/u/340520947/import_menu_sample.csv)
 *  [gera3d](https://wordpress.org/support/users/gera3d/)
 * (@gera3d)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/does-this-support-wordpress-menus/#post-8161361)
 * Ok I think I found all the row names but I am not sure how to first create a 
   menu then add the items to it.
 * Would one of the rows have this
    post_title –> News post_status –> publish post_type—
   > nav_menu_item
 * Now a new row with the menu items?
    How do the menu items know they are part 
   of the menu above?
 *  // Insert new nav_menu_item
    $nav_item = wp_insert_post(array(‘post_title’ =
   > ‘News’, ‘post_content’ => ”, ‘post_status’ => ‘publish’, ‘post_type’ => ‘nav_menu_item’));
 *  add_post_meta($nav_item, ‘_menu_item_type’, ‘post_type’);
    add_post_meta($nav_item,‘
   _menu_item_menu_item_parent’, ‘0’); add_post_meta($nav_item, ‘_menu_item_object_id’,
   $page); add_post_meta($nav_item, ‘_menu_item_object’, ‘page’); add_post_meta(
   $nav_item, ‘_menu_item_target’, ”); add_post_meta($nav_item, ‘_menu_item_classes’,‘
   a:1:{i:0;s:0:””;}’); add_post_meta($nav_item, ‘_menu_item_xfn’, ”); add_post_meta(
   $nav_item, ‘_menu_item_url’, ”);
 *  [gera3d](https://wordpress.org/support/users/gera3d/)
 * (@gera3d)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/does-this-support-wordpress-menus/#post-8161565)
 * ok I have been at it for a bit and here is what I got. What am I missing?
 * Sample:
    [https://dl.dropboxusercontent.com/u/340520947/import_menu_sample_v8.csv](https://dl.dropboxusercontent.com/u/340520947/import_menu_sample_v8.csv)
 * Any help would be greatly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Does this support WordPress Menus’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/really-simple-csv-importer_c5cdac.
   svg)
 * [Really Simple CSV Importer](https://wordpress.org/plugins/really-simple-csv-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-csv-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-csv-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-csv-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-csv-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-csv-importer/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [gera3d](https://wordpress.org/support/users/gera3d/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/does-this-support-wordpress-menus/#post-8161565)
 * Status: not resolved