[wp-meta] [Making WordPress.org] #1109: Site Cloner: Add support for importing menus

Making WordPress.org noreply at wordpress.org
Sun Sep 3 15:24:37 UTC 2017


#1109: Site Cloner: Add support for importing menus
--------------------------------------------------+-----------------------
 Reporter:  iandunn                               |       Owner:  iandunn
     Type:  enhancement                           |      Status:  accepted
 Priority:  normal                                |   Milestone:
Component:  WordCamp Site & Plugins               |  Resolution:
 Keywords:  good-first-bug has-patch 2nd-opinion  |
--------------------------------------------------+-----------------------

Comment (by chandrapatel):

 Hi @coreymckrill, @iandunn

 > I wonder if we could copy over the menu items for links that do exist on
 the destination site? A lot of pages like Location, Contact, etc are pre-
 populated, so they'll exist. We could just skip the pages that don't
 exist.

 Here, my concern is how we map pages from a source site to destination
 site? One possible solution is I will get pages from source site menu and
 then try to find those pages in destination site and if it exists then
 I'll add it in destination site menu else not. Also, pages slugs should
 same in both sites.

 Please let me know if above solution sounds good or you've any other
 suggestion.

 Thanks,

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1109#comment:15>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list