[WordPress] 外掛分享: Advanced Custom Fields: NextGEN Gallery Field add-on

首頁外掛目錄 › Advanced Custom Fields: NextGEN Gallery Field add-on
WordPress 外掛 Advanced Custom Fields: NextGEN Gallery Field add-on 的封面圖片
600+
安裝啟用
★★☆☆☆
2.1/5 分(7 則評價)
4090 天前
最後更新
問題解決
WordPress 3.0+ v2.1 上架:2012-06-08

內容簡介

這是一個針對WordPress的Advanced Custom Fields外掛程式,只有當Advanced Custom Fields已經被安裝並啟用時,才能夠為WordPress提供任何功能。

NextGEN Gallery欄位提供了一個下拉式選單(單選或多選),其中包含NextGEN Gallery名稱(畫廊和相簿),並且可以將所選的NextGEN Gallery對應到文章。
get_value() API會返回所選的NextGEN Gallery ID和表單-相簿或畫廊的數組。

支援ACF5 Pro,ACF4,ACF3,NextCellent Gallery - NextGEN Legacy。

!!! 版本1.1 !!!
此版本更改了get_value() API返回的值。您必須更改您的模板文件。!!!

get_value() API會返回以下數組:
數組(
[0] => 數組(
[ngg_id] => 8( NextGEN Gallery ‘gallery’或‘album’ ID)
[ngg_form] => gallery (‘gallery’或‘album’)

範例

這些範例應該顯示NextGEN Gallery畫廊或NextGEN Gallery相簿。

對於1.1版本及更高版本

對於1.0.2及更早版本

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Advanced Custom Fields: NextGEN Gallery Field add-on」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Mastodon