Support » Plugin: NextGEN Custom Fields » Please NGG Custom field code not working

  • Resolved ajobiah


    Please am using the NextGEN Gallery and i have added custom fields to the IMAGES inside the galleries i have created. Currently i have to galleries namely; Architect Drawing and land sales but i have added the custom fields to only “land sales”.

    Please i want to know where i can add the code:
    “<?php echo $image->ngg_custom_fields[“Your Field Name Here”]; ?>”

    to the “gallery.php” file. i tried adding it to this portion:
    <?php foreach ( $images as $image ) :?>

    <?php echo $image->ngg_custom_fields[“Price”]; ?>
    <?php echo $image->ngg_custom_fields[“Location”]; ?>
    <?php echo $image->ngg_custom_fields[“size”]; ?>

    with the field names but all the fields names floated on the thumbnails on my site.

    Please what mistake did i make. thank you

Viewing 1 replies (of 1 total)
  • Plugin Author shauno


    Hi ajobiah
    You haven’t made a mistake. It sounds like the plugin is doing exactly what it is meant to. You need to understand the HTML that is being used to output the images, and the custom fields you are adding. If you don’t understand HTML and CSS, it’s best you get some help from a friend that does.
    I can’t tell you exactly where to put the code and what tags to wrap it in, as everyone’s requirements are different.

    Good luck, and I hope you enjoy the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Please NGG Custom field code not working’ is closed to new replies.