跳到内容

MslsMenu

v3.0.2

Dennis Ploetner · 2014年9月18日 上架

Adds the output of the Multisite Language Switcher to one (or more) of your navigation menu(s)

正在使用
100+
评分
4.6 / 5
累计下载
3.4 万
最近更新
2026年8月24日
8 条评价需要 WordPress 6.1+已测试到 7.1.5PHP 7.4+

截图

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

The Multisite Language Switcher already offers plenty of ways to output its language links: a block, the shortcodes [sc_msls] and [sc_msls_widget], the classic widget, a content filter, and the msls_the_switcher() API for your theme files.

What none of them covers is a navigation menu. A classic menu rendered by wp_nav_menu() accepts menu items and nothing else, so there is no slot for a block or a shortcode inside it – and writing a custom walker into the theme is more work than most sites are willing to spend on a language switcher.

MslsMenu closes that gap. Select the theme locations you want in the settings and the language links are appended to every menu rendered at those locations. No theme edit, no PHP, no custom walker.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums