Skip to content

silentxcode/acf-cf7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Contact Form 7 add-on for ACF plugin (WP)

ACF-CF7 is an add-on for the ACF (Advanced Custom Fields) Wordpress plugin that lets you assign one or more CF7 (Contact Form 7) contact forms to a post.

ACF-CF7 displays a simple drop down/multiple select form field in a custom meta box.

Screenshots

Setting up ACF-CF7

ACF-CF7 multiple select with forms disabled

Using ACF-CF7 with the flexible content field

Installation

  1. Copy 'acf-cf7.php' to your theme: https://github.com/taylormsj/acf-cf7/blob/master/acf-cf7.php

  2. Register the field:

  if(function_exists ('register_field')){
    register_field('acf_cf7_field', 'link-to-file/acf-cf7.php');
  }

Returned Value

Single form: Returns a String containing the form's markup

Multiple forms: Returns an Array of Strings containging the form's markup

About

Version 1.0

Written by Taylor Mitchell-St.Joseph - taylor.mitchellstjoseph@gmail.com

Credits

Based on code written for Gravity Forms Field by Adam Pope

About

Add-on to the ACF Wordpress plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published