[wordpress插件] ACF Options For PolylangPolylang的ACF选项

wordpress 插件 文章 2020-01-27 02:00 515 0 全屏看文

AI助手支持GPT4.0

评分

86

86

描述

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

您正在使用“高级自定义字段”来创建选项页,并且已经为可怕的多语言站点安装了Polylang吗?

Sadly, Polylang is not handling ACF’s Option Pages.

遗憾的是,Polylang没有处理ACF的选项页。

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.

然后使用Polylang的语言从数据库获取值。

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.

然后要设置和贡献您的选项页面,只需使用Polylang的语言管理标志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

    Be API 创建,该API自2009年以来一直是法国WordPress的领导机构。总部位于巴黎,我们有30多人,

    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.

    为方便提交问题和更快地回答问题,我们仅使用Github,因此不使用WP.Org支持,将不予考虑。

安装步骤

First activate and configure ACF & Polylang on you site.

首先在您的站点上激活并配置ACF和Polylang。

Then activate ACF Options For Polylang to handle ACF Options in setted Polylang’s languages.

然后激活“用于Polylang的ACF选项”以设置的Polylang语言来处理ACF选项。

Requirements

要求

    WordPress

    WordPress

      • Download and install using the built-in WordPress plugin installer.
      • 使用内置的WordPress插件安装程序下载并安装。

      • Site activate in the “Plugins” area of the admin.
      • 在管理员的“插件”区域中激活网站。

      • Optionally drop the entire acf-options-for-polylang directory into mu-plugins.
      • (可选)将整个 acf-options-for-polylang 目录放入mu-plugins。

      • Nothing more, this plugin is ready to use !
      • 仅此插件即可使用!

下载地址

https://downloads.wordpress.org/plugin/acf-options-for-polylang.1.1.7.zip

https://downloads.wordpress.org/plugin/acf-options-for-polylang.1.1.7.zip

-EOF-

AI助手支持GPT4.0