{"id":18487,"date":"2012-06-09T16:22:59","date_gmt":"2012-06-09T16:22:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/advanced-custom-fields-nextgen-gallery-field-add-on\/"},"modified":"2015-01-04T14:26:10","modified_gmt":"2015-01-04T14:26:10","slug":"advanced-custom-fields-nextgen-gallery-field-add-on","status":"publish","type":"plugin","link":"https:\/\/lo.wordpress.org\/plugins\/advanced-custom-fields-nextgen-gallery-field-add-on\/","author":7318435,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1","stable_tag":"trunk","tested":"4.1.0","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Advanced Custom Fields: NextGEN Gallery Field add-on","header_author":"Ales Loziak, Robert Kleinschmager","header_description":"","assets_banners_color":"fcfcfd","last_updated":"2015-01-04 14:26:10","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.apollo1.cz\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/advanced-custom-fields-nextgen-gallery-field-add-on\/","header_author_uri":"http:\/\/www.apollo1.cz","rating":2.1,"author_block_rating":0,"active_installs":500,"downloads":42002,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"5","2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"555330","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.1","1.1.1","1.1.2","1.2","2.0","2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1573787","resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1573787","resolution":"2","location":"plugin"}},"screenshots":{"1":"NextGEN Gallery Field.","2":"Adding a NextGEN Gallery to a page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2211,4580,2009,4619,4621],"plugin_category":[59],"plugin_contributors":[81706,81707,81708,79823],"plugin_business_model":[],"class_list":["post-18487","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-acf-add-on","plugin_tags-custom-field","plugin_tags-nextgen-gallery","plugin_tags-nextgen-gallery-field","plugin_category-utilities-and-tools","plugin_contributors-aloziak","plugin_contributors-barclay_reg","plugin_contributors-jayque9","plugin_contributors-omicron7","plugin_committers-aloziak","plugin_committers-jayque9"],"banners":{"banner":"https:\/\/ps.w.org\/advanced-custom-fields-nextgen-gallery-field-add-on\/assets\/banner-772x250.jpg?rev=555330","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/advanced-custom-fields-nextgen-gallery-field-add-on_fcfcfd.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/advanced-custom-fields-nextgen-gallery-field-add-on\/trunk\/screenshot-1.png?rev=1573787","caption":"NextGEN Gallery Field."},{"src":"https:\/\/ps.w.org\/advanced-custom-fields-nextgen-gallery-field-add-on\/trunk\/screenshot-2.png?rev=1573787","caption":"Adding a NextGEN Gallery to a page."}],"raw_content":"<!--section=description-->\n<p>This is an add-on for the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/advanced-custom-fields\/\">Advanced Custom Fields<\/a> WordPress plugin and will not provide any functionality to WordPress unless advanced Custom Fields is installed and activated.<\/p>\n\n<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.\nThe get_value() API returns an array of the selected NextGEN Gallery IDs and the form \u2013 album or gallery.<\/p>\n\n<p>Support ACF5 Pro, ACF4, ACF3, NextCellent Gallery - NextGEN Legacy.<\/p>\n\n<p><strong>!!! Version 1.1 !!! <\/strong>\nThis version changes get_value() API returned value. You must change your template files. !!!<\/p>\n\n<p>The get_value() API returns a following array:\n    Array (\n        [0] =&gt; Array (\n            [ngg_id] =&gt; 8  ( NextGEN Gallery 'gallery' or 'album' ID )\n            [ngg_form] =&gt; gallery  ( 'gallery' or 'album' )\n        )\n    )<\/p>\n\n<h4>Example<\/h4>\n\n<p>These examples should show a NextGEN Gallery gallery or NextGEN Gallery album.<\/p>\n\n<p>For version 1.1 and later\n    <\/p>\n\n<p>For version 1.0.2 and earlier\n    <\/p>\n\n<!--section=installation-->\n<p>The NextGEN Gallery Field plugin can be used as WordPress plugin or included in other plugins or themes.\nThere is no need to call the Advanced Custom Fields <code>register_field()<\/code> method for this field.<\/p>\n\n<ul>\n<li>WordPress plugin\n\n<ol>\n<li>Download the plugin and extract it to <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress.<\/li>\n<\/ol><\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>I've activated the plugin, but nothing happens!<\/dt>\n<dd><p>Make sure you have <a href=\"http:\/\/wordpress.org\/extend\/plugins\/advanced-custom-fields\/\">Advanced Custom Fields<\/a> installed and\nactivated. This is not a standalone plugin for WordPress, it only adds additional functionality to Advanced Custom Fields.<\/p><\/dd>\n<dt>I just see on my post\/page the name of the NextGEN Gallery Add-on only and no more nexts fields?<\/dt>\n<dd><p>Make sure you have <a href=\"http:\/\/wordpress.org\/extend\/plugins\/nextgen-gallery\/\">NextGEN Gallery plugin<\/a> installed and\nactivated. This is not a standalone plugin for WordPress. It only adds additional functionality to Advanced Custom Fields and works together with NextGEN Gallery plugin.<\/p><\/dd>\n<dt>Are my field definitions and post data lost, if I upgrade from ACF 3- to ACF 4+<\/dt>\n<dd><p>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 <a href=\"http:\/\/wordpress.org\/extend\/plugins\/advanced-custom-fields\/\">Advanced Custom Fields<\/a> to it's newest version.<\/p>\n\n<p>Make sure you have <a href=\"http:\/\/wordpress.org\/extend\/plugins\/advanced-custom-fields\/\">Advanced Custom Fields<\/a> installed and\nactivated. This is not a standalone plugin for WordPress, it only adds additional functionality to Advanced Custom Fields.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1<\/h4>\n\n<ul>\n<li>ACF PRO v5 support<\/li>\n<li>NextCellent Gallery - NextGEN Legacy support<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Compatiblity to ACF4 and backward compatibilty to ACF3<\/li>\n<li>Added option to restict selectable galleries (Albums, Galleries or both)<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>[Fixed] Wrong data type error message \u2013 http:\/\/wordpress.org\/support\/topic\/plugin-advanced-custom-fields-nextgen-gallery-field-add-on-wrong-data-type-error-message?replies=3<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Hide \"Multi-Select Size\" field when is used \"Select\" as an \"Input Method\".<\/li>\n<li>Ready for localization<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>[Fixed] Keying mistake at line :179<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>[Fixed] Null array (error message at line :181) when new NextGEN Gallery field is initiate<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Add option to select NextGen Gallery album<\/li>\n<li>Check if the NextGEN Gallery plugin is installed.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>[Fixed] The sample code in the instruction.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>[Fixed] The installer package.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Adds a NextGEN Gallery Field to Advanced Custom Fields. Select one or more NextGEN Galleries and assign them to the post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18487"}],"author":[{"embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aloziak"}],"wp:attachment":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18487"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18487"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18487"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18487"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18487"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}