The agency I work for uses ACF and Gravity Forms for every WordPress website we build.
Therefor we also always install the https://nl-be.wordpress.org/plugins/acf-gravityforms-add-on/ plugin.
It adds an extra field type to ACF and enables the user to select a specific Gravity Form from a dropdown.
The field can return a "Form object" or the "Form ID".
In case of "Form ID" the output of your tool should be something like:
<?php if ( $formID = get_{sub}_field( {fieldname} ) ): ?>
<?php
gravity_form(
$formID, // $id_or_title,
true, // $display_title = true,
true, // $display_description = true,
false, // $display_inactive = false,
null, // $field_values = null,
false, // $ajax = false,
null, // $tabindex,
true // $echo = true
);
?>
<?php endif; ?>
Hi,
The agency I work for uses ACF and Gravity Forms for every WordPress website we build.
Therefor we also always install the https://nl-be.wordpress.org/plugins/acf-gravityforms-add-on/ plugin.
It adds an extra field type to ACF and enables the user to select a specific Gravity Form from a dropdown.
Could you please support this field type in your awesome tool?
Currently when clicking the button "copy code" an alert with link to this Github appears.
The field can return a "Form object" or the "Form ID".
In case of "Form ID" the output of your tool should be something like:
Reference URL for the gravity_form function: https://docs.gravityforms.com/adding-a-form-to-the-theme-file/
Kind regards
Vinobe93