Adds a NextGEN Gallery Field to Advanced Custom Fields. Select one or more NextGEN Galleries and assign them to the post.
This is an add-on for the Advanced Custom Fields WordPress plugin and will not provide any functionality to WordPress unless advanced Custom Fields is installed and activated.
The NextGEN Gallery field provides a dropdown (select or multi-select) of NextGEN Gallery names (galleries and albums) and the ability to map the selected NextGEN Gallery to the post.
The get_value() API returns an array of the selected NextGEN Gallery IDs and the form – album or gallery.
Support ACF5 Pro, ACF4, ACF3, NextCellent Gallery – NextGEN Legacy.
!!! Version 1.1 !!!
This version changes get_value() API returned value. You must change your template files. !!!
The get_value() API returns a following array:
Array (
[0] => Array (
[ngg_id] => 8 ( NextGEN Gallery ‘gallery’ or ‘album’ ID )
[ngg_form] => gallery ( ‘gallery’ or ‘album’ )
)
)
These examples should show a NextGEN Gallery gallery or NextGEN Gallery album.
For version 1.1 and later
For version 1.0.2 and earlier
The NextGEN Gallery Field plugin can be used as WordPress plugin or included in other plugins or themes.
There is no need to call the Advanced Custom Fields register_field()
method for this field.
/wp-content/plugins/
directory.Plugins
menu in WordPress.Make sure you have Advanced Custom Fields installed and
activated. This is not a standalone plugin for WordPress, it only adds additional functionality to Advanced Custom Fields.
Make sure you have NextGEN Gallery plugin installed and
activated. This is not a standalone plugin for WordPress. It only adds additional functionality to Advanced Custom Fields and works together with NextGEN Gallery plugin.
At least all data of this custom field are keept and save. You can reuse and view you existing field definitions and gallery selections within posts, even after upgrading Advanced Custom Fields to it’s newest version.
Make sure you have Advanced Custom Fields installed and
activated. This is not a standalone plugin for WordPress, it only adds additional functionality to Advanced Custom Fields.