Опис
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.
Встановлення
- 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!
Відгуки
Учасники та розробники
“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
- fix for fatal eror on activation
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