Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Advanced Custom Fields: NextGen Gallery Custom Field

Опис

Welcome to the Advanced Custom Fields NextGEN Gallery Custom Field plugin page. As the name suggests, this script is an extension for the Advanced Custom Fields WordPress plugin.
This script works only in ACF version 4.0.0. and up. Version 3 is currently not supported.

Besides that this script can be either used as a WP plugin or as a theme include.

This plugin provides an extra field for the Advanced Custom Fields plugin to support the NextGEN Gallery plugin. This makes users able to link galleries to posts, pages and custom post types.

Compatibility

This add-on will work with version 4 and up of the ACF plugin.

Issues?

If you discover any bugs or have any feature requests, I would like to refer you to the Github Repository of this script.

Скріншоти

  • This is the field in de ACF admin panel.
  • NGGallery object returned in template.
  • Images array returned in template.

Встановлення

This add-on can be treated as both a WP plugin and a theme include.

Plugin

  1. Copy the ‘acf-nggallery’ folder into your plugins folder
  2. Activate the plugin via the Plugins admin page

Include

  1. Copy the ‘acf-nggallery’ folder into your theme folder (can use sub folders). You can place the folder anywhere inside the ‘wp-content’ directory
  2. Edit your functions.php file and add the code below (Make sure the path is correct to include the nggallery-v4.php file)

    add_action(‘acf/register_fields’, ‘my_register_fields’);

    function my_register_fields()
    {
    include_once(‘acf-nggallery/nggallery-v4.php’);
    }

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Advanced Custom Fields: NextGen Gallery Custom Field” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Advanced Custom Fields: NextGen Gallery Custom Field” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.1.4

  • Changed output to null instead of string “null” when no gallery is selected (https://github.com/JeroenReumkens/acf-nggallery/issues/1)

1.1.3

  • Added compatibility for WordPress 3.7.1

1.1.2

  • Added screenshots

1.1.1

  • Readme.txt fix.

1.1.0

  • Added return type ‘NGGallery id’ to return only the id of the gallery.

1.0.1

  • Changed answers for multiple or single gallery from ‘Yes’ and ‘No’ to ‘Multiple galleries’ and ‘Only one’.
  • Fixed WordPress readme.txt short description to match WordPress requirements.

1.0.0

  • Initial Release.