[WordPress] 外掛分享: ACF Options For Polylang

首頁外掛目錄 › ACF Options For Polylang
WordPress 外掛 ACF Options For Polylang 的封面圖片
10,000+
安裝啟用
★★★★
4.4/5 分(17 則評價)
13 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v2.0.0 上架:2019-05-06

內容簡介

此外掛讓 Advanced Custom Fields 的選項頁面支援 Polylang 多語系功能,可依語言設定不同欄位值,自動載入對應語言的資料,未設定時則回退至「所有語言」的預設值。

【主要功能】
• ACF 選項頁面依語言分別儲存欄位值
• 自動依 Polylang 目前語言載入對應資料
• 未翻譯語言自動回退至預設值
• 透過後台語言切換器編輯各語言選項
• 停用外掛後原有資料仍保留於資料庫
• 支援篩選器與 API 進行進階設定

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ACF Options For Polylang」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Are you using Advanced Custom Fields for option pages and Polylang for your multilingual site?
Polylang does not natively support ACF Option Pages, so option values are shared across all languages. This plugin improves that: once activated, you can set different values per language. Values are stored per language in the database and the correct one is loaded according to the current Polylang language. If a value isn’t set for a language, the “All languages” value is used by default.
Note: On activation, existing option values become temporarily unavailable (but remain in the database); you can recover them by deactivating the plugin. To edit options for a language, use the Polylang language switcher in the admin bar before opening the options page.
Requirements: WordPress 6.0+, PHP 7.4–8.4, Advanced Custom Fields 5.6.0+, Polylang (tested up to 3.7.7).
For full documentation (usage, filters, API, excluding pages, default fallback, loading untranslated values), see the project README on GitHub.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon