该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

ACF Options For Polylang

描述

You are using Advanced Custom Fields for creating option pages and you have Polylang installed for awsome multilingual site ?

Sadly, Polylang is not handling ACF’s Option Pages. Which means values will be the same for all languages you have set.

We are here to save your life ! Once this plugin is activated, you will be able to set a different value for each language, and if none is set, the “All languages” value will be used as default one.

How ?

This plugin will store a value for each language into database. Then Polylang’s languages are used to get the values from the DB. That means at activation, all existing data will not be anymore available, but still in database. You will retrieve it at plugin deactivation.

Then to set and contribute your option page, simply use the Polylang’s language admin flags ui.

Features

  • Almost simple fields (text, textarea, links, etc)
  • Repeater fields (with simple fields)

Who ?

Created by Be API, the French WordPress leader agency since 2009. Based in Paris, we are more than 30 people and always hiring some fun and talented guys. So we will be pleased to work with you.

This plugin is only maintained, which means we do not guarantee some free support. Consider reporting an issue and be patient.

To facilitate the process of submitting an issue and quicker answer, we only use Github, so don’t use WP.Org support, it will not be considered.

安装

First activate and configure ACF & Polylang on you site.
Then activate ACF Options For Polylang to handle ACF Options in setted Polylang’s languages.

Requirements

WordPress

  • Download and install using the built-in WordPress plugin installer.
  • Site activate in the “Plugins” area of the admin.
  • Optionally drop the entire acf-options-for-polylang directory into mu-plugins.
  • Nothing more, this plugin is ready to use !

评价

2022 年 10 月 21 日
I am never leaving a review to a WP plugins, but I am here to express my huge gratitude for your work, its excellent!
2022 年 2 月 14 日
Just what I needed …. You really did just save my life 🙂
阅读所有17条评价

贡献者及开发者

「ACF Options For Polylang」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「ACF Options For Polylang」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「ACF Options For Polylang」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

= 1.1.11 – 27 July 2023
– Tested up on WP 6.2

= 1.1.10 – 1 Sept 2021
– FIX: WordPress.org version generation

= 1.1.9 – 1 Sept 2021
– FIX: ACF 5.6.0 version check
– FEATURE: Add new filter bea.aofp.excluded_post_ids to skip page ids

= 1.1.8 – 27 March 2021
– FIX : Rest API returns now the right value
– FIX : Ajax requests where not localized
– FIX : Compatibility with new versions of ACF

1.1.7 – 07 May 2019

  • Feature: Add a context-sensitive help to the user on ACF options page (tired of updating the generic options …)
  • Improve: object detection from ACF with get_field()
  • Feature: Add translation POT and french translation
  • FEATURE #31: Brand for wp.org
  • Test: Test up on WP 5.2
  • FIX #41: fix bug with all language failback and repeater

1.1.6 – 19 Mar 2019

  • FIX #32 & #40 : fix get_field() if an object is provided (WP Term, WP Post, WP Comment)

1.1.5 – 11 Dec 2018

  • FIX wrong constant

1.1.4 – 13 Nov 2018

  • Refactor by adding the Helpers class
  • FEATURE #26 : allow to precise to show or hide default values for a specific option page
  • FEATURE #21 : handle custom option id

1.1.3 – 2 Aug 2018

  • FEATURE #23 : requirement to php5.6 whereas namespace are 5.3

1.1.2 – 31 Jul 2018

  • FIX #22 : error with repeater fields default values

1.1.1 – 9 Mai 2018

  • FIX #15 : way requirements are checked to trigger on front / admin

1.1.0 – Mar 2018

  • True (complet) plugin.
  • Add check for ACF 5.6.

1.0.2 – 23 Dec 2017

  • Refactor and reformat.
  • Handle all options page and custom post_id.
  • Now load only if ACF & Polylang are activated.
  • Load later at plugins loaded.

1.0.1 – 19 Sep 2016

  • Plugin update.

1.0.0 – 8 Mar 2016

  • Init plugin.