MenuItem Copy & Paste

外掛說明

MenuItem Copy & Paste enhances the WordPress menu editing interface by adding five quick action buttons to each menu item, making menu management significantly more efficient.

Key Features

  • ➕ New: Instantly create a new custom link below the selected menu item
  • 📒 Clone: Duplicate a menu item immediately below itself
  • 🔗 Copy: Copy menu item data to clipboard with visual highlight
  • 📋 Paste: Paste copied items at the desired position
  • 🗑️ Delete: Remove menu items without opening accordions

Perfect For

  • Creating similar menu structures frequently
  • Managing large numbers of menu items efficiently
  • Quickly reorganizing menu layouts
  • Editing menus without accordion interactions

Features

  • Simple and intuitive UI
  • Delete items without page reload (with fade-out animation)
  • Support for all menu item types (pages, posts, custom links, taxonomies, etc.)
  • Accurate position calculation considering hierarchical structure
  • Preserves all metadata (URL, classes, attributes, etc.)
  • Uses WordPress standard Dashicons

Support

If you have any issues or feature requests, please let us know in the plugin support forum.

Development

This plugin will also be available on GitHub. Contributions and issue reports are welcome.

螢幕擷圖

  • Five buttons added to the menu editing interface (New, Clone, Copy, Paste, Delete)
  • Visual highlight of copied menu items
  • Confirmation dialog when deleting

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/menuitem-copy-paste directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Appearance Menus and start using the new buttons

常見問題集

Which WordPress versions are supported?

WordPress 5.0 or higher. Tested up to the latest version (6.8).

Can deleted items be restored?

When you click the delete button, a confirmation dialog appears. Once deleted, items cannot be restored. However, if you don’t click “Save Menu” in WordPress, you can reload the page to revert changes.

Can I paste copied items to different menus?

Yes. After copying a menu item, you can switch to a different menu and paste it there.

What are the default values for items created with the New button?

Title: “New Custom Link”, URL: “/”. You can edit these after creation by opening the accordion.

Can I copy child menu items?

The current version copies individual menu items only. The Clone button duplicates only the selected item, excluding child hierarchies.

What if the buttons don’t appear?

Clear your browser cache. If they still don’t appear, there may be a conflict with other plugins. Try temporarily disabling other plugins to identify the issue.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈MenuItem Copy & Paste〉的開發相關工作。

參與者

將〈MenuItem Copy & Paste〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.6

  • Added New feature: instantly create custom links below items
  • Added Clone feature: duplicate menu items immediately below
  • Added Delete feature: remove items without opening accordions
  • Added visual highlight (blue background) for copied items
  • Improved button tooltips with detailed descriptions
  • Enhanced security: strengthened $_POST variable validation
  • Improved code quality: compliance with WordPress Coding Standards

1.0.4

  • Added accurate position calculation considering hierarchical structure
  • Implemented recursive descendant retrieval

1.0.3

  • Initial release
  • Menu item copy & paste functionality