Title: Advanced Custom Fields: NextGEN Gallery Field add-on
Author: Aleš Loziak
Published: <strong>June 9, 2012</strong>
Last modified: January 4, 2015

---

Search plugins

![](https://ps.w.org/advanced-custom-fields-nextgen-gallery-field-add-on/assets/
banner-772x250.jpg?rev=555330)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/advanced-custom-fields-nextgen-gallery-
field-add-on_fcfcfd.svg)

# Advanced Custom Fields: NextGEN Gallery Field add-on

 By [Aleš Loziak](https://profiles.wordpress.org/aloziak/)

[Download](https://downloads.wordpress.org/plugin/advanced-custom-fields-nextgen-gallery-field-add-on.zip)

 * [Details](https://wordpress.org/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/#description)
 * [Reviews](https://wordpress.org/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/#reviews)
 *  [Installation](https://wordpress.org/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/#installation)
 * [Development](https://wordpress.org/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/#developers)

 [Support](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/)

## Description

This is an add-on for the [Advanced Custom Fields](https://wordpress.org/extend/plugins/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’ ) ) )

#### Example

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

## Screenshots

[⌊NextGEN Gallery Field.⌉⌊NextGEN Gallery Field.⌉[

NextGEN Gallery Field.

[⌊Adding a NextGEN Gallery to a page.⌉⌊Adding a NextGEN Gallery to a page.⌉[

Adding a NextGEN Gallery to a page.

## Installation

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.

 * WordPress plugin
    1. Download the plugin and extract it to `/wp-content/plugins/` directory.
    2. Activate the plugin through the `Plugins` menu in WordPress.

## FAQ

  I’ve activated the plugin, but nothing happens!

Make sure you have [Advanced Custom Fields](https://wordpress.org/extend/plugins/advanced-custom-fields/)
installed and
 activated. This is not a standalone plugin for WordPress, it only
adds additional functionality to Advanced Custom Fields.

  I just see on my post/page the name of the NextGEN Gallery Add-on only and no 
more nexts fields?

Make sure you have [NextGEN Gallery plugin](https://wordpress.org/extend/plugins/nextgen-gallery/)
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.

  Are my field definitions and post data lost, if I upgrade from ACF 3- to ACF 4
+

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](https://wordpress.org/extend/plugins/advanced-custom-fields/)
to it’s newest version.

Make sure you have [Advanced Custom Fields](https://wordpress.org/extend/plugins/advanced-custom-fields/)
installed and
 activated. This is not a standalone plugin for WordPress, it only
adds additional functionality to Advanced Custom Fields.

## Reviews

![](https://secure.gravatar.com/avatar/bcc541b188e9bbfcb3ff0b5da4fbf53d5fee77259e2449b9673d07c7acccfce0?
s=60&d=retro&r=g)

### 󠀁[Why so many one stars?](https://wordpress.org/support/topic/why-so-many-one-stars/)󠁿

 [1](https://profiles.wordpress.org/f4tal1st/) September 3, 2016

I don’t get it, why so many people around gave one star to this plugin? I downloaded
it, made custom NextGen Gallery, create custom field in ACF, made proper type of
this field, create personal “single-” template for my custom post type, put a proper
PHP in it and everything works fine! No problem at all! I am absolutely noob and
don’t know what templates & PHP are and how they works, but I spend two hours to
learn a little and now everything works as I want. If you are not patient or don’t
want to keep studying or spend a little free time to understand how Wordpress is
working – stay away from this plugin and don’t waste your onestars. In my case everything
works. Thank you, developers! ^^

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/reviews/)

## Contributors & Developers

“Advanced Custom Fields: NextGEN Gallery Field add-on” is open source software. 
The following people have contributed to this plugin.

Contributors

 *   [ Aleš Loziak ](https://profiles.wordpress.org/aloziak/)
 *   [ Brian Zoetewey ](https://profiles.wordpress.org/omicron7/)
 *   [ barclay_reg ](https://profiles.wordpress.org/barclay_reg/)
 *   [ jayque9 ](https://profiles.wordpress.org/jayque9/)

[Translate “Advanced Custom Fields: NextGEN Gallery Field add-on” into your language.](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields-nextgen-gallery-field-add-on)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/advanced-custom-fields-nextgen-gallery-field-add-on/),
check out the [SVN repository](https://plugins.svn.wordpress.org/advanced-custom-fields-nextgen-gallery-field-add-on/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/advanced-custom-fields-nextgen-gallery-field-add-on/)
by [RSS](https://plugins.trac.wordpress.org/log/advanced-custom-fields-nextgen-gallery-field-add-on/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1

 * ACF PRO v5 support
 * NextCellent Gallery – NextGEN Legacy support

#### 2.0

 * Compatiblity to ACF4 and backward compatibilty to ACF3
 * Added option to restict selectable galleries (Albums, Galleries or both)

#### 1.2.1

 * [Fixed] Wrong data type error message – https://wordpress.org/support/topic/plugin-
   advanced-custom-fields-nextgen-gallery-field-add-on-wrong-data-type-error-message?
   replies=3

#### 1.2

 * Hide “Multi-Select Size” field when is used “Select” as an “Input Method”.
 * Ready for localization

#### 1.1.2

 * [Fixed] Keying mistake at line :179

#### 1.1.1

 * [Fixed] Null array (error message at line :181) when new NextGEN Gallery field
   is initiate

#### 1.1

 * Add option to select NextGen Gallery album
 * Check if the NextGEN Gallery plugin is installed.

#### 1.0.2

 * [Fixed] The sample code in the instruction.

#### 1.0.1

 * [Fixed] The installer package.

#### 1.0

 * Initial Release

## Meta

 *  Version **2.1**
 *  Last updated **11 years ago**
 *  Active installations **400+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **4.1.0**
 * Tags
 * [acf](https://wordpress.org/plugins/tags/acf/)[acf add-on](https://wordpress.org/plugins/tags/acf-add-on/)
   [custom field](https://wordpress.org/plugins/tags/custom-field/)[NextGEN Gallery](https://wordpress.org/plugins/tags/nextgen-gallery/)
 *  [Advanced View](https://wordpress.org/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/advanced/)

## Ratings

 2.1 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/reviews/?filter=2)
 *  [  5 1-star reviews     ](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/reviews/)

## Contributors

 *   [ Aleš Loziak ](https://profiles.wordpress.org/aloziak/)
 *   [ Brian Zoetewey ](https://profiles.wordpress.org/omicron7/)
 *   [ barclay_reg ](https://profiles.wordpress.org/barclay_reg/)
 *   [ jayque9 ](https://profiles.wordpress.org/jayque9/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/advanced-custom-fields-nextgen-gallery-field-add-on/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.apollo1.cz/)