
內容簡介
Slim Language Switcher 外掛幫助您在不替換 WordPress 語言檔案的情況下,呈現多語言內容。您可以新增支援的語言,為每種語言指定預設 URL,並在文章、頁面和產品中選擇性覆蓋這些 URL。
【主要功能】
• 支援多種語言的內容呈現
• 可自訂的語言切換器佈局
• 支援 WooCommerce 產品類別和標籤
• 輕量級和深色主題選擇
• 自動生成 hreflang 標籤和 JSON-LD
外掛標籤
開發者團隊
② 後台搜尋「Slim Language Switcher – Multilingual Manager with hreflang SEO Tags」→ 直接安裝(推薦)
原文外掛簡介
Slim Language Switcher helps you present the same content in multiple languages without replacing WordPress’s own language files.
Add the languages you support, assign a default URL to each one, then optionally override those URLs on posts, pages, products, and terms. The plugin outputs a language switcher (shortcode or block) and can print hreflang tags plus JSON-LD for search engines.
Features
Language directory stored in WordPress options (no custom database tables)
Light, dark, and auto themes with editable color palettes
Dropdown, list, and inline layouts
Live appearance designer with a copyable shortcode
Language Switcher block with layout and theme controls
Alternate URL fields on posts, pages, public post types, and public taxonomies
Optional WooCommerce shop, product category, and product tag support
Optional hreflang and JSON-LD output
This plugin does not translate content automatically. Pair it with translated pages or a separate translation workflow.
Developer Notes
Render the switcher in a theme:
echo slim_language_switcher_get_switcher( array( 'layout' => 'dropdown', 'theme' => 'auto' ) );
CSS custom properties used by the switcher:
--mlmgr-bg
--mlmgr-text
--mlmgr-border
--mlmgr-hover-bg
--mlmgr-hover-text
--mlmgr-accent
--mlmgr-radius
--mlmgr-font-size
Post and term meta key for alternate URLs: _slim_language_switcher_urls.
