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

Совместимость

Этот тип поля ACF совместим с:
* ACF 3
* ACF 4
* ACF 5

Скриншоты

Установка

  1. Скопируйте acf-field-for-contact-form-7 папка в вашем wp-content/plugins папка.
  2. Активировать Расширенный Пользовательский Поля. Контактная форма 7 Поле плагина через страницу администрирования плагинов
  3. Создайте новое поле через ACF и выберите тип контактной формы 7.

Часто задаваемые вопросы

Как пользоваться

Этот пример показывает, как получить значение поля field_name от текущего Запись

echo get_field( 'field_name' );

В этом примере показано, как получить объект формы (контактная форма 7).

function get_acf_cf7_object() {
    return true;
}
add_filter( 'acf_cf7_object', 'get_acf_cf7_object' );

У меня есть идея для отличного способа улучшить этот плагин

великолепный! Я хотел бы услышать от вас в support@krishaweb.com

Отзывы

11.02.2022 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.
01.02.2022 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!
08.10.2021 1 ответ
it’s working perfectly and easy to use. Good job team
01.07.2020 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

  • проверенный вплоть до 5.0

1.1

  • Фильтр добавлен, чтобы получить объект формы.

1.0

  • первоначальный релиз