This is an add-on for the Advanced Custom Fields WordPress plugin and will not provide any
这是高级自定义字段 WordPress插件的附加组件,将不会提供任何插件
functionality to WordPress unless advanced Custom Fields is installed and activated.
除非已安装并激活了高级自定义字段,否则WordPress不会具有此功能。 p>
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.
NextGEN Gallery字段提供(选择或多选)NextGEN Gallery名称(画廊和专辑)的下拉列表,以及将所选NextGEN Gallery映射到帖子的功能。
The get_value() API returns an array of the selected NextGEN Gallery IDs and the form – album or gallery.
get_value()API返回一个数组,其中包含选定的NextGEN Gallery ID的数组,形式为相册或画廊。 p>
Support ACF5 Pro, ACF4, ACF3, NextCellent Gallery – NextGEN Legacy.
支持ACF5 Pro,ACF4,ACF3,NextCellent Gallery – NextGEN Legacy。 p>
!!! !!!Version 1.1 !!!
版本1.1 !!!
strong>
This version changes get_value() API returned value.
此版本更改了get_value()API返回的值。
You must change your template files.
您必须更改模板文件。
!!!
!!! p>
The get_value() API returns a following array:
get_value()API返回以下数组:
Array (
数组(
[0] => Array (
[0] =>数组(
[ngg_id] => 8 ( NextGEN Gallery ‘gallery’ or ‘album’ ID )
[ngg_id] => 8(NextGEN Gallery的“相册”或“相册” ID)
[ngg_form] => gallery ( ‘gallery’ or ‘album’ )
[ngg_form] =>图库(“图库”或“相册”)
)
)
)
) p>
Example
示例 h4>
These examples should show a NextGEN Gallery gallery or NextGEN Gallery album.
这些示例应显示NextGEN Gallery画廊或NextGEN Gallery相册。 p>
For version 1.1 and later
对于版本1.1和更高版本
p>
For version 1.0.2 and earlier
对于1.0.2版和更早版本
p>