ACF Field For CF7

外掛說明

ACF Field for Contact Form 7 allows you to seamlessly integrate Contact Form 7 forms into your Advanced Custom Fields (ACF) setup. It adds a custom field type to ACF that lets you select CF7 forms from the admin panel and output them directly in your templates. This simplifies form management and eliminates the need to manually insert shortcodes. Ideal for developers who want a cleaner, more dynamic way to embed forms in custom layouts.

Key Features:

• Single or Multiple Forms: Choose one CF7 form in a single ACF field.
• Markup Returned Automatically: Selected form(s) output the CF7 shortcode markup directly—ready to display via the_field() or get_field().
• Lightweight & Fast: Adds minimal load (~10 KB) to your site; small memory and speed impact.
• ACF-compatible: Works seamlessly with ACF 3–5 and tested up to WordPress 6.8.

Use Cases:

• Developer-Centric Page Layouts: Define custom ACF fields in page builder templates or theme templates, letting editors easily select CF7 forms—no more shortcode errors.
• Content Editor Avoids Mistakes: Editors pick from a clean dropdown list instead of pasting form shortcodes, reducing the chance of broken forms or syntax errors.
• Modular Form Integration: Use in widget areas, theme customizer panels, or Gutenberg block templates (with Pro), letting site-wide layouts dynamically include forms.

Checkout the advanced features of ACF Field For CF 7 Pro:

• Fully compatible with Gutenberg blocks.
• Supports integration with Widgets and Theme Customizer.

Download the ACF Field For CF 7 Pro

Compatibility

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

螢幕擷圖

安裝方式

  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.

常見問題集

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

使用者評論

2022 年 2 月 11 日 1 則留言
Makes it easy to add a flexible content layout where your customer can easily add an ACF content block with a CF form in it. Is simple, it works and it is free.
2022 年 2 月 1 日 1 則留言
Got me up and running quickly with integrating a CF7 form, instead of requiring the user to paste in the shortcode. Great time saver, thanks!
2021 年 10 月 8 日 1 則留言
it’s working perfectly and easy to use. Good job team
2020 年 7 月 1 日 1 則留言
Thanks for create this plugin, really love it. Easy to use and user friendly option to change the contact form from admin side.
閱讀全部 11 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈ACF Field For CF7〉的開發相關工作。

參與者

〈ACF Field For CF7〉外掛目前已有 7 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈ACF Field For CF7〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.7

  • Compatibility and Security update.

1.6

  • Improve plugin notice.

1.5

  • Improve plugin notice.

1.4

  • Added: ACF pro option page support.

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.