跳到内容

Advanced Custom Fields: NextGEN Gallery Field add-on

v2.1

Aleš Loziak · 2012年6月9日 上架

Adds a NextGEN Gallery Field to Advanced Custom Fields. Select one or more NextGEN Galleries and assign them to the post.

正在使用
400+
评分
2.1 / 5
累计下载
4.5 万
最近更新
2015年1月4日
7 条评价需要 WordPress 3.0+已测试到 4.1.0

截图

NextGEN Gallery Field.
NextGEN Gallery Field.
Adding a NextGEN Gallery to a page.
Adding a NextGEN Gallery to a page.

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’ )
)
)

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums