[wordpress插件] Advanced Custom Fields – Contact Form 7 Field高级自定义字段-联系表7字段

wordpress 插件 文章 2020-02-07 03:40 537 0 全屏看文

AI助手支持GPT4.0

评分

84

84

描述

Adds a ‘Contact Form 7’ field type for the Advanced Custom Fields WordPress plugin.

为“高级自定义字段” WordPress插件添加“联系表格7”字段类型。

Store one or multiple contact forms in an advanced custom field.

在高级自定义字段中存储一个或多个联系表。

Mark one or more forms as disabled to prevent them from being selected.

将一个或多个表单标记为已禁用,以防止选择它们。

Field is returned as Contact Form 7 markup

该字段作为联系表7标记返回

Compatible with both ACF V3 & V4

与ACF V3和V4兼容

安装步骤

This add-on can be treated as both a WP plugin and a theme include.

此附加组件可以被视为WP插件和主题包含。

Install as Plugin

安装为插件

Copy the ‘acf-cf7’ folder into your plugins folder

将“ acf-cf7”文件夹复制到您的插件文件夹中

Activate the plugin via the Plugins admin page

通过插件管理页面激活插件

Include within theme

包含在主题中

Copy the ‘acf-cf7’ folder into your theme folder (can use sub folders).

将“ acf-cf7”文件夹复制到您的主题文件夹中(可以使用子文件夹)。

You can place the folder anywhere inside the ‘wp-content’ directory

您可以将文件夹放置在“ wp-content”目录内的任何位置

Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-cf7.php file)

编辑您的functions.php文件并添加以下代码(确保路径正确以包含acf-cf7.php文件)

add_action('acfegister_fields', 'my_register_fields');

  add_action('acf / register_fields','my_register_fields');

function my_register_fields()

函数my_register_fields()

{    

{    

include_once('acf-cf7/acf-cf7.php');

include_once('acf-cf7 / acf-cf7.php');

}

}

下载地址

https://downloads.wordpress.org/plugin/advanced-custom-fields-contact-form-7-field.1.1.2.zip

https://downloads.wordpress.org/plugin/advanced-custom-fields-contact-form-7-field.1.1.2.zip

-EOF-

AI助手支持GPT4.0