ACF Field For Contact Form 7

Description

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

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.

Compatibility

This ACF field type is compatible with :
* ACF 3
* ACF 4
* ACF 5

Screenshots

Installation

  1. Copy the acf-field-for-contact-form-7 folder into your wp-content/plugins folder.
  2. Activate the Advanced Custom Fields: Contact Form 7 Field plugin via the plugins admin page.
  3. Create a new field via ACF and select the Contact Form 7 type.

FAQ

How to use

This example shows how to get the value of field field_name from the current post.

echo get_field( 'field_name' );

This example shows how to get form (contact form 7) object.

function get_acf_cf7_object() {
    return true;
}
add_filter( 'acf_cf7_object', 'get_acf_cf7_object' );
I have an idea for a great way to improve this plugin

Great! I’d love to hear from you at support@krishaweb.com

Reviews

September 24, 2019
I was looking for a way to dynamic select different forms at different pages and this plugin does exactly what I need.
August 5, 2019
Great plugin! I was pulling my hair out trying to find an easy way to input a CF7 short-code into my post templates, and this did the trick! So much easier than having input short-codes into a text field.
Read all 2 reviews

Contributors & Developers

“ACF Field For Contact Form 7” is open source software. The following people have contributed to this plugin.

Contributors

“ACF Field For Contact Form 7” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “ACF Field For Contact Form 7” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3

  • Fixed: ACF Group field issue.

1.2

  • Tested upto 5.0

1.1

  • Filter added to get form object.

1.0

  • Initial Release.