
外掛標籤
開發者團隊
② 後台搜尋「QBlocks Menu Sync for Polylang」→ 直接安裝(推薦)
原文外掛簡介
QBlocks Menu Sync for Polylang adds a “Duplicate Menu” panel to the WordPress Appearance > Menus screen. Clone any navigation menu — including all items, hierarchy, and settings — in seconds, with full Polylang multilingual support.
This plugin is not affiliated with Polylang or its developers. “Polylang” is a trademark of its respective owner; this plugin simply integrates with the Polylang plugin’s public API.
Features
One-click menu duplication — duplicate any menu with all items preserved
Polylang integration — clone menus to one or more target languages in a single action
Smart translation — automatically links to translated pages, posts, and taxonomy terms when available
Fallback handling — keeps original linked objects when no translation exists
Custom links — duplicated as-is with no changes
Theme location assignment — optionally assign the cloned menu to any registered theme location
Polylang-aware locations — assigns per-language location slots without affecting other languages
Unique naming — auto-generates unique menu names to prevent conflicts
Source language badge — clearly shows which language you are cloning from
Secure — nonce verification, capability checks, input sanitization, and output escaping throughout
How It Works
Go to Appearance > Menus
Select the menu you want to duplicate
Open the Duplicate Menu panel (above the menu structure)
Choose target languages (if Polylang is active)
Optionally set a custom name and assign theme locations
Click Duplicate Menu
Polylang Support
When Polylang is active, the plugin detects the source menu’s language and offers all other active languages as targets. For each target language:
Pages and posts are automatically linked to their translation
Categories and custom taxonomy terms are linked to their translation
If no translation exists, the original object is kept as a fallback
Custom links are duplicated unchanged
The new menu is assigned the correct Polylang language
Without Polylang
The plugin works as a simple menu duplicator — no language features, just a clean copy of the menu and all its items.
