Nextgen Custom Fields in Template

Use Nextgen Custom Fields data in the template files.

Image data:

echo $image->ngg_custom_fields["Your Field Name Here"];

Gallery data:

echo nggcf_get_gallery_field($gallery->ID, "My Gallery Field
Name Here");

Leave a Comment