Duplicate Menu (3 posts)

  1. wordpresssmith
    Posted 6 years ago #

    I'd like to create a duplicate menu in the custom menus area. As it currently stands, I have added the link and the case that forms a new menu (but doesn't copy the menu_items from the old menu). See http://pastebin.com/WeVABUPP Or below,

    LINK (after </div><!-- END .delete-action --> around line 568 before the <?php endif; ?>):

    <div class="duplicate-action">
    									<a class="submitduplicate duplication menu-duplicate" href="<?php echo esc_url( wp_nonce_url( admin_url('nav-menus.php?action=duplicate&menu=' . $nav_menu_selected_id), 'duplicate-nav_menu-' . $nav_menu_selected_id ) ); ?>"><?php _e('Duplicate Menu'); ?></a>
    								</div><!-- END .duplicate-action -->

    CASE (at line 275 after the delete CASE and before the update CASE):

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. ericperson
    Posted 5 years ago #

    I would also like to know how to do this.

  3. irolf
    Posted 5 years ago #


    yes, same here. need to duplicate menu, then do slight editing.

    can anyone help please.
    does WP listen to its customers?
    this seems such a basic request or omission in functionality.
    when can WP incorporate this feature please?!


Topic Closed

This topic has been closed to new replies.

About this Topic