WP Manifestindependent plugin directory
manifest / content / acf-ninja-forms

Advanced Custom Fields: Ninja Forms Field

Adds an Advanced Custom Fields field to select one or many Ninja Forms.

by bostondv · github.com/bostondv/acf-ninja-forms · website

15stars
25kcomposer installs
7forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/bostondv/acf-ninja-forms/archive/refs/heads/master.zip

Also on Packagist as bostondv/acf-ninja-forms:

composer require bostondv/acf-ninja-forms

From the readme

ACF Ninja Forms Field This is an Advanced Custom Field custom field to select one or many Ninja Forms. Compatibility ACF version 4 and up Ninja Forms version 2.9.X and up Installation This add-on can be treated as both a WP plugin or a theme include. Plugin 1. Copy the 'acf-ninja-forms' folder into your plugins folder 2. Activate the Advanced Custom Fields: Ninja Forms Field plugin through the 'Plugins' menu in WordPress Include 1. Copy the 'acf-ninja-forms' folder into your theme folder (can use sub folders). You can place the folder anywhere inside the 'wp-content' directory 2. Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-ninja-forms.php file) Using the field The field lets you pick one or many fields. The data returned is either a Form object or an array of Form objects. If you have selected a single form and you want to display the form on the page, you can use: Ninja Forms 3.X.X Ninja Forms 2.9.X You can find out more about the Ninja Forms methods to embed a form on a page in their documentation If you are using the field to select multiple forms, you will have to iterate over the array. You can then us

Read the full README on GitHub →