這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

MslsMenu

外掛說明

Most people are likely to use some lines of PHP or the widget provided by the Multisite Language Switcher to integrate the links to the translations in their blogs.

But this can lead to fatal errors if you don’t know much about PHP, or maybe the dynamic sidebars are not the best place in your opinion. If you want to integrate the Multisite Language Switcher in one (or more) of your Navigation Menu(s) then you should give MslsMenu a try.

螢幕擷圖

  • Edit menus
  • Manage locations
  • Plugin configuration
  • Output in the primary nav menu

安裝方式

  • Download the plugin and uncompress it with your preferred unzip programme
  • Copy the entire directory in your plugin directory of your WordPress blog (/wp-content/plugins)
  • Activate the plugin
  • You will find the configuration of the plugin once in each blog in Settings -> Multisite Language Switcher
  • Set the the menu specific options such as <li class="mslsl-menu"> before the item-ouitput or the description. Please, check the Screenshots-section too!

使用者評論

2019 年 5 月 8 日
super plug-in , thank you very much to the developers!
2016 年 9 月 3 日 3 replies
OK, after some help from the author, I finally got it to work. Now it works great. This would be 5 stars, but it's a little difficult for a novice like me to setup. Could be easily fixed with just a little documentation or explainer video.
閱讀全部 7 則使用者評論

參與者及開發者

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

參與者

〈MslsMenu〉外掛目前已有 4 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈MslsMenu〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.2.5

  • phpstan config excluded
  • WordPress 5.8 tested

2.2.4

  • Unit tests added

2.2.3

  • PHPStan tested

2.2.2

  • Tests added
  • PHP 7.1 as minimum declared

2.2.1

  • Optimization in use of get_nav_menu_locations

2.2

  • compatibility con MSLS 2.4

2.1

  • reflect settings of MSLS

2.0

  • compatibility con MSLS 2.0

1.4

  • plugin inits when plugins_loaded runs and adds callback to hooks in its factory now

1.3.1

1.3

  • defensive loading, factory added and chore

1.2

  • empty menu-location is now an option

1.1

  • selector for multiple menus added

1.0

  • marked as stable
  • WordPress Coding Standards
  • PHPDocs