Home Plugins add template for contact form 7
Add Template for Contact Form 7 logo

Add Template for Contact Form 7

by matorel on WordPress.org

Add template function by PHP file to "Contact Form 7" for theme developers. This plug-in requires Contact Form 7 ver5.5.3 or above.

(1)
Open the "Template File" tab on the Edit screen of Contact Form 7.

Open the "Template File" tab on the Edit screen of Contact Form 7.

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]



[checkbox your-category id:your-category class:atcf7-form-radio-label exclusive use_label_element ]
[text* your-name id:your-name]
[email* your-email id:your-email ]
[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.

Arbitrary section 1

Active installations200+
Weekly downloads
33+26.92%
Version1.0.3
Last updated7/4/2022
WordPress version4.9
Tested up to6.0.9
PHP version7.0
Tags
contactcontact formformphptemplate