WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. yukiko-kawa
    Member
    Posted 7 months 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 7 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.