內容簡介
總結:Classic Menu Sync for Block建立了傳統WordPress選單與新導覽區塊系統之間的連結。該外掛可讓您:
- 將導覽區塊與傳統選單同步 - 保持您的導覽區塊與傳統選單的更新
- 自動同步功能 - 當傳統選單被修改時,自動更新導覽區塊
- 手動同步選項 - 需要時按需同步
- 原生WordPress整合 - 使用WordPress內建的選單轉換器,實現無縫兼容性
- 區塊編輯器整合 - 在導覽區塊側邊欄中直接使用易於控制
問題與答案:
1. Classic Menu Sync for Block的作用是什麼?
- 作用是建立傳統WordPress選單與新導覽區塊系統之間的連結,讓導覽區塊與傳統選單保持同步。
2. 這個外掛有哪些關鍵功能?
- 零配置:即插即用
- 針對性能優化:使用WordPress本地功能
- 開發者友好:潔淨、有文件記載的程式碼
- 可翻譯:完全國際化支持
- 安全:遵循WordPress安全最佳實踐
3. 開發者注意事項中提到這個外掛使用了什麼來確保最大的兼容性和未來性?
- 使用WordPress的本地WP_Classic_To_Block_Menu_Converter類別
4. 如何進行程序訪問?
- 透過揭露REST API端點:
- GET/POST /wp-json/classic-menu-sync-for-block/v1/settings/{post_id}:管理同步設定
- POST /wp-json/classic-menu-sync-for-block/v1/sync/{post_id}/{menu_id}:觸發同步操作
5. 如何獲得支援、功能請求或錯誤報告?
- 請前往 https://weblazer.fr
6. 這個外掛在哪裡可以找到?
- 可在GitHub上找到:https://github.com/WEBLAZER/classic-menu-sync-for-block,您可貢獻、報告問題或從存儲庫下載最新版本。
外掛標籤
開發者團隊
原文外掛簡介
Classic Menu Sync for Block bridges the gap between classic WordPress menus and the new Navigation block system. This plugin allows you to:
Sync Navigation blocks with classic menus – Keep your navigation blocks updated with your classic menu changes
Auto-sync functionality – Automatically update navigation blocks when classic menus are modified
Manual sync option – Sync on-demand when needed
Native WordPress integration – Uses WordPress’s built-in menu converter for seamless compatibility
Block Editor integration – Easy-to-use controls directly in the Navigation block sidebar
Perfect for sites transitioning from classic themes to block themes, or for developers who want to maintain both classic and block-based navigation systems.
Key Features
Zero configuration – Works out of the box
Performance optimized – Uses WordPress native functions
Developer friendly – Clean, well-documented code
Translation ready – Full internationalization support
Secure – Follows WordPress security best practices
Developer Notes
This plugin uses WordPress’s native WP_Classic_To_Block_Menu_Converter class to ensure maximum compatibility and future-proofing.
For developers: The plugin exposes REST API endpoints for programmatic access:
* GET/POST /wp-json/classic-menu-sync-for-block/v1/settings/{post_id} – Manage sync settings
* POST /wp-json/classic-menu-sync-for-block/v1/sync/{post_id}/{menu_id} – Trigger sync operation
Support
For support, feature requests, or bug reports, please visit: https://weblazer.fr
GitHub
This plugin is available on GitHub: https://github.com/WEBLAZER/classic-menu-sync-for-block
You can contribute, report issues, or download the latest version from the repository.
