HI
Is this plugin obsolete now? No new updates for 8 months?
Version 0.2.2 | By Jonathan Christopher | View details
I have it installed on a client site so if obsolete I need to remove it.
Is there another plugin instead that we can use if this is NOT available anymore?
Thanks
]]>Is not workind for me:
I got:
The link you followed has expired
And the https://www.ads-software.com/support/topic/is-this-plugin-still-working-10/ also is not working for me.
I used the Duplicate Menu plugin to clone the Classic menu.
But now I cannot see which is the clone as the menu names do not fit fully into the choose menu box!
No option to provide a screenshot?
]]>I just submitted a PR in Github so this plugin can be translated in the future ??
]]>Your plugin does not copy icons when duplicating menus.
Coudl you fix this, please?
v0.2.2
]]>Hey Dear its a good plugin. But Its giving me error “The link you followed has expired”
Further it is only duplicating one menu item.
Please consider this issue that has been solved here: https://www.ads-software.com/support/topic/is-this-plugin-still-working-10/
Thanks
]]>If I use the plugin to duplicate our main navigation menu, and later remove the plugin, will the new menu remain?
(One a regular basis, we go through and try to reduce the overall number of plugins.)
]]>Hello i was wondering if anyone had a solution to coping 3 or more already created menus into one menu ?
I have 6 main menus with more than 600 menu items that took me more than 2 months to create them all . Today i am creating a mobile menu which , i will have to place all these menu items from the 6 main menus into one . it’s liking (all in one)
is there a way to copy all menu items from the 6 main menus at once or through code and paste them into one menu which i will later call mobile menu ?
or where i can find my menus in ftp so i can copy their codes and paste them into in ftp
plugins like ” duplicate menu” doesn’t have this feature.
Your help will be much appreciated ?? ;
]]>First of all, the plug-in Duplicate Menu works great!
However, it does not copy attributes set by other plug-ins.
Which I do understand would be too much to ask.
But, is there a way you could give a warning, that those attributes will be lost?
I use the plug-ins
The attributes set by those two plug-ins are lost during copying.
Thanks, marpat
]]>can this or another plugin that anyone know, export the entire menu to afile format and import it to another new website installation?
]]>Hey Dear its a good plugin. But Its giving me error “The link you followed has expired”
Further it is only duplicating one menu item.
Please consider this issue.
Thanks
]]>Hi @jchristopher, thank you for the plugin!
I’d like to translate it into Russian, but it’s not properly prepared for localization, see the warning on the plugin page in GlotPress:
https://translate.www.ads-software.com/projects/wp-plugins/duplicate-menu
ERROR: Your plugin slug is duplicate-menu, but there seems no Text Domain: defined in duplicate-menu.php! To correctly internationlize your plugin you will need it.
Could you please fix this to prepare the plugin for localization? Thanks!
]]>Hello,
I have a scanner on my website which says “The following plugin(s) have not been tested with your version of WP and could be incompatibile: Duplicate Menu.”
I also see that the latest update of this plugin was 9 months ago.
I really need this plugin to be up-to-date, cause I need it with my menus.
So, is this plugin still maintained and if yes, can you send a new release please?
]]>The conditional menu isnt styled at all and is down the left of the page. How do I make it identical to the menu it is replacing?
]]>Hi,
anyway to duplicate a menu across multisites?
Alex
]]>Installed plugin. Duplicated menu. Can’t see the duplicate.
Using a DIVI theme. Does that create a conflict?
Thank you.
]]>]]>Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method DuplicateMenu::options_screen() should not be called statically in /wp-includes/plugin.php on line 525
Hi.
I have used this great plugin to duplicate my menus a couple of times.
Can I now delete the plugin without fear of losing the duplicate menus…???
Thanks.
]]>Thanks
]]>does not create a duplicated menu, just a menu with new name but NOT duplicated. I am using wp 4.3 and have plenty of php memory allocated and a high end server with latest configs.
]]>Hello, great plugin, but i have some problemes duplicating a ( almost huge ) menu. The menu to copy is quite big, ( arround 300 Items ) and the result of duplicating a menu is, that always some of the items are not duplicated. Duplicating of this big menu takes a lot of time as well. I guess, that it is a kind of memory issue and i have to increase wp memory or something like that, but i dont know where or what to do exactly. Can you help me ? Thx Henrik
]]>I can’t apply menu location on duplicated menu..
]]>This plugin doesn’t seem to be compatible with WPML. I used it to duplicate one menu, and I lost my translated menus…
]]>I try to dupe a menu, a screen appears with the are you sure oyu want to do this , but no user button to proceed. and the menu is partially duplicated (only one item is in it).
Thanks
]]>Hi Jonathan,
I found Duplicate Menu yesterday after it occurred to me that I should make a copy of a fairly intricate menu on an intranet that I built earlier this year. That intranet has multiple custom user roles, and I used the Nav Menu Roles plugin to control who can see what menu items.
When I duplicated that menu the only things that didn’t get copied were the menu item settings for Nav Menu Roles. I worked on this for a couple hours this morning, trying different approaches to add the NMR custom keys to the array in duplicate-menu.php, but I eventually ran out of ideas.
Here’s a link to the Nav Menu Roles thread where that developer said she thought I should approach you regarding Duplicate Menu supporting custom menu item keys: Integrate with Duplicate Menu plugin?
Thanks,
John
Does not work.
When duplicating a menu, the “original page” is unable to be changed (at bottom of menu nav creator widget, hence when using new nav it links to old page and not any possible new one.
Can you fix?
]]>Just wanted to say that this nifty little time-saver works fine for me in WP 3.8.1
Thanks!
]]>Problem:
The copy of the multi nested menu has wrong neasting.
Reason:
wp_get_nav_menu_items() returns the menu items in the order the items were created and it can happend that in the returned array the child is set before the parent. And that messes up the $rel lookup array.
Solution:
The duplicate() function has to be change so:
In the first run we create the copy of all the menu items and the $rel lookup table with the $key as original menu item ID and the $value as the translated/new menu item ID.
In the second run we go trough every item of the new menu and if it has menu_item_parent ID we look it up in the $rel table ($key) and get it’s new menu item ID translation and write it insted of the old menu_item_parent of the new menu item
The modified function:
function duplicate( $id = null, $name = null )
{
// sanity check
if( empty( $id ) || empty( $name ) )
return false;
$id = intval( $id );
$name = sanitize_text_field( $name );
$source = wp_get_nav_menu_object( $id );
$source_items = wp_get_nav_menu_items( $id );
$new_id = wp_create_nav_menu( $name );
if( !$new_id )
return false;
// key is the original db ID, val is the new
$rel = array();
$i = 1;
foreach( $source_items as $menu_item )
{
$args = array(
'menu-item-db-id' => $menu_item->db_id,
'menu-item-object-id' => $menu_item->object_id,
'menu-item-object' => $menu_item->object,
'menu-item-position' => $i,
'menu-item-type' => $menu_item->type,
'menu-item-title' => $menu_item->title,
'menu-item-url' => $menu_item->url,
'menu-item-description' => $menu_item->description,
'menu-item-attr-title' => $menu_item->attr_title,
'menu-item-target' => $menu_item->target,
'menu-item-classes' => implode( ' ', $menu_item->classes ),
'menu-item-xfn' => $menu_item->xfn,
'menu-item-status' => $menu_item->post_status
);
$parent_id = wp_update_nav_menu_item( $new_id, 0, $args );
$rel[$menu_item->db_id] = $parent_id;
$i++;
}
$target_items = wp_get_nav_menu_items( $new_id );
$i = 0;
foreach( $target_items as $menu_item )
{
$source_menu_item = $source_items[$i]; //old/source menu item
// did it have a parent? if so, we need to update with the NEW ID
if( $source_menu_item->menu_item_parent )
{
$parent_id = $rel[$source_menu_item->menu_item_parent];
$args = array(
'menu-item-db-id' => $source_menu_item->db_id,
'menu-item-object-id' => $source_menu_item->object_id,
'menu-item-object' => $source_menu_item->object,
'menu-item-position' => $i+1,
'menu-item-type' => $source_menu_item->type,
'menu-item-title' => $source_menu_item->title,
'menu-item-url' => $source_menu_item->url,
'menu-item-description' => $source_menu_item->description,
'menu-item-attr-title' => $source_menu_item->attr_title,
'menu-item-target' => $source_menu_item->target,
'menu-item-classes' => implode( ' ', $source_menu_item->classes ),
'menu-item-xfn' => $source_menu_item->xfn,
'menu-item-status' => $source_menu_item->post_status,
'menu-item-parent-id' => $parent_id
);
$parent_id = wp_update_nav_menu_item( $new_id, $menu_item->db_id, $args );
}
$i++;
}
return $new_id;
}
]]>
When I activate the plugin it throws an error:
Parse error: syntax error, unexpected T_FUNCTION in /home/tgc_dev/sptc.the-graphics.net/wp-content/plugins/duplicate-menu/duplicate-menu.php on line 41
I edited the code to make the creation of the page a separate function:
// WordPress actions
if( IS_ADMIN )
{
add_action( 'admin_menu', 'duplicate_menu_admin_page' );
}
function duplicate_menu_admin_page () {
add_theme_page( 'Duplicate Menu', 'Duplicate Menu', 'manage_options', 'duplicate-menu', array( 'DuplicateMenu', 'options_screen' ) );
}
With that change the plugin seems to work fine. Thanks for this – I’ve been looking for a way to easily duplicate a menu!
– Chris
]]>