NextGEN Custom Fields
[resolved] Gallery custom field not displaying in album view (3 posts)

  1. ninjagowoo
    Posted 4 years ago #

    I'm using wp 3.2.1, nextgen1.8.3, and nextgen cf 1.1.2

    I'm try to get the custom fields to display at the album view level (eg: album-extend.php etc). It seems using the code provided in the FAQ will not echo the field within the <?php foreach ($galleries as $gallery) : ?> loop. I'm using <?php echo nggcf_get_gallery_field($gallery->ID, "tag"); ?> to try and display the field within the above loop. I've been able to get the field to display successfully within the gallery view level, but I really need it to be show at album level. I have no clue why it shouldn't be working. Please help!

  2. ninjagowoo
    Posted 4 years ago #

    figured it out myself, apparently on the album view you have to use gid instead of ID. <?php echo nggcf_get_gallery_field($gallery->gid, "services"); ?> wonder why they had to change it. Oh well.

  3. S. Padilha
    Posted 4 years ago #

    Thanks man! That save me some hours of work! =]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic