Support » Plugin: Advanced Custom Fields: NextGen Gallery Custom Field » problem to display filed on theme

  • Resolved yukiko-kawa

    (@yukiko-kawa)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘problem to display filed on theme’ is closed to new replies.