Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author shauno

    (@shauno)

    Hi behrouz1987

    You need to add a small ‘tag’ to the gallery.php template to get the custom fields showing. Please read the FAQ, it explain what to do there.

    I hope that helps.

    Thread Starter Behrouz

    (@behrouz1987)

    Hi,

    thanks for the tip. I tried the FAQs and the readme file on the plugin, but I couldn’t make it work. Can you tell me where to put the tag to display the field on a single photo page, not on the gallery page.

    I really appreciate it.

    Plugin Author shauno

    (@shauno)

    If you are using the ‘[singlepic]’ shortcode, NGG uses the ‘/view/singlepic.php’ template, so you need to add the tag (<?php echo $image->ngg_custom_fields["Your Field Name Here"]; ?>) to that file.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can't display the custom fields’ is closed to new replies.