ACF Field For CF7
Ever struggled with placing Contact Form 7 forms exactly where you want on your web site? Normally, to display a Contact Form 7 form, you need to copy a shortcode like [contact-form-7 id="123"] and paste it in the right place. One wrong character and the form breaks. If you have 10 pages with different forms, managing all those shortcodes becomes a headache. ACF Field for CF7 solves this. It adds a simple dropdown field with help of Advanced Custom Fields to your page editor that lists all your Contact Form 7 forms. Just pick the form you want and it’s done. It shows up on your page. No shortcodes to copy. No code to write. No mistakes. Before vs After This Plugin Without this plugin: 1. Create a form in Contact Form 7. 2. Copy the shortcode. 3. Paste it into your page, widget, or template. 4. Hope you didn’t mistype anything. 5. Repeat for every page that needs a different form. With this plugin: 1. Create a form in Contact Form 7. 2. Add a Advanced Custom Field for Contact Form 7 to your desired location. 3. Pick Contact Form from a dropdown field. 4. Done. Key Features • One-Click Form Selection — A clean dropdown in your editor lists every Contact Form 7 form. Pick one, save, done. • No Shortcodes Required — Forms render automatically on the front end. No copying, no pasting, no broken markup. • Client-Friendly — Content editors manage forms without developer help. Fewer support requests for you. • Ultra Lightweight — Only ~10 KB. Zero impact on site speed or performance. • Allow Null Option — Make the form field optional so editors can leave it empty when no form is needed. • Trusted by 10,000+ Sites — Actively installed and maintained since 2012. For Developers: Quick Start Register an ACF field with type contact_form_7, then output it in your template: // Display the form directly echo get_field( 'your_form_field' ); Need the CF7 form object instead of rendered HTML? Use this filter: add_filter( 'acf_cf7_object', '__return_true' ); Now get_field() returns the WPCF7_ContactForm object for full control over the output. Real-World Examples • Landing Pages — Each landing page has its own lead capture form. Editors pick which form appears — no developer needed. • Service Pages — A web agency builds one template for all service pages. Each page shows a different inquiry form selected by the client. • Site-Wide Default Form — Use with ACF option pages to set one global “Contact Us” form across headers, footers, or sidebars. • Multi-Language Sites — Different forms for different languages, each selected per page through the editor. ACF Field For CF7 Pro Need more? The Pro version adds: • Gutenberg Block Support — Use CF7 forms inside the WordPress block editor. • Widget & Theme Customizer — Place forms in widget areas and customizer panels. • Allow Null — Make the form field optional so editors can leave it empty when no form is needed. • Disable Forms — Mark one or more forms as disabled to prevent them from being selected. Download the ACF Field For CF7 Pro Compatibility This plugin works with: • ACF 5 • ACF 6 • Contact Form 7 5.9 and above • WordPress 6.0 and above • PHP 8.1 and above
Advanced Custom Fields Page Builder
PLEASE NOTE: The following plugins or add-ons are required for this to work: Advanced Custom Fields is ESSENTIAL The Advanced Custom Fields Flexible Content add-on field is essential Simple Contact Forms is required for the Simple Contact Forms page builder section to work The ACF Page Builder uses the Advanced Custom Fields Flexible Content field to create a bunch of completely customisable page elements. This plugin works best when used with Bootstrap, but it isn’t essential. These elements include: Banner images Buttons Bootstrap Content Grids Image Gallery (with text and caption) Raw HTML and JavaScript Simple Contact Forms WYSIWYG Content Each element can be configured – see the screenshots for configuration options. Default options are background colours, wrapper classes and if the element needs to be contained (Bootstrap only!) Please get in touch or submit pull requests for any more page sections. The ACF Page Builder was created and is managed by Big Lemon Creative. Configuration To configure which post types or page templates the page builder is displayed on, use the following filter in your functions.php file: function support_acfpb( $support = array() ) { $support['post_type'] = array( 'page', 'post' ); $support['page_template'] = array( 'page-templates/page-sectioned.php' ); return $support; } add_filter('acfpb_set_locations', 'support_acfpb', 10, 1); Usage We designed the functions to match the ACF syntax of get_field() and the_field(). Use the functions below to get or directly echo the sections on the front end. The ID is optional. the_sections( $id ); OR echo get_sections( $id );