Add Template for Contact Form 7
开发者 |
matorel
|
更新时间 |
2022年7月4日 20:49 |
PHP版本: |
7.0 及以上 |
WordPress版本: |
6.0 |
版权: |
GPLv2 or later |
版权网址: |
版权信息
|
详情介绍:
This plugin adds a template function to "Contact Form 7" using a template file.
This is useful for theme developers to smoothly check the display of CF7 tags.
Create an atcf7 directory in the theme folder and place the template file (.php) in that directory.
You can use PHP, Wordpress functions / objects, ACF functions (excluding some) in the template file.
However, it is not possible to show / hide form tags and add / remove required mark(*) using PHP.
This plug-in requires Contact Form 7 ver5.5.3 or above.
Example [theme_path/atcf7/.php]*
Category
[checkbox your-category id:your-category class:atcf7-form-radio-label exclusive use_label_element ]
Name
[text* your-name id:your-name]
Mail Address
[email* your-email id:your-email ]
Contents
[textarea* your-content x5 id:your-content ]
[submit "Submit"]
For the theme developer to make the confirmation smooth, create the atcf7 directory in the theme folder and place the template file (.php) in that directory.
安装:
- From the WP admin panel, click “Plugins” -> “Add new”.
- In the browser input box, type “Add Template for Contact Form 7”.
- Select the “Add Template for Contact Form 7” plugin and click “Install”.
- Activate the plugin.
OR…
- Download the plugin from this page.
- Save the .zip file to a location on your computer.
- Open the WP admin panel, and click “Plugins” -> “Add new”.
- Click “upload”.. then browse to the .zip file downloaded from this page.
- Click “Install”.. and then “Activate plugin”.
屏幕截图:
更新日志:
1.0.0
First commit.