该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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!

评价

2023年4月21日 3 回复
Als WP-Anfänger habe ich es relativ gut hinbekommen, mit ein wenig Recherche ein Multisite-Netzwerk aufzubauen. Jetzt bin ich seit vielen Stunden daran, meine Multisites mit Hilfe von msls und mslsmenu mehrsprachig hinzubekommen - keine Chance! Die Anleitungen auf englisch oder deutsch sind für Anfänger schwer zu verstehen, einfache Screenshots ohne große Beschreibung helfen da auch nicht wirklich. Es entsteht der Eindruck, dass dieses Plugin nur für mindestens Fortgeschrittene WP-Nutzer ausgelegt ist, welche sofort alles verstehen und nachvollziehen können. Sehr schade! Ich würde mich über jede Hilfe und Unterstützung in der Umsetzung freuen!
2019年5月8日
super plug-in , thank you very much to the developers!
2016年9月3日 3 回复
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.
阅读所有8条评价

贡献者及开发者

“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