WordPress.org

Forums

Advanced Custom Fields: NextGen Gallery Custom Field
[resolved] problem to display filed on theme (2 posts)

  1. yukiko-kawa
    Member
    Posted 1 year ago #

    i have past the code on my fuction.php

    add_action('acf/register_fields', 'my_register_fields');
    function my_register_fields(){
    include_once('plugin/acf-nggallery/nggallery-v4.php');
    }

    and I put on the theme folder the file nggallery-v4.php.
    but I have this error:

    Fatal error: Cannot redeclare class acf_field_nggallery in /var/www/interlink/c/centrobenesseretorino.net/web/wp-content/themes/tema-personalizzato/plugin/acf-nggallery/nggallery-v4.php on line 364

    WHat understand?????

    http://wordpress.org/plugins/advanced-custom-fields-nextgen-gallery-custom-field/

  2. yukiko-kawa
    Member
    Posted 1 year ago #

    ok, I have install plugin, and request file in the theme.
    there were 2 request for the same file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields: NextGen Gallery Custom Field
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.