Title: [Plugin: NextGEN Custom Fields] Exactly where to put the code.
Last modified: August 19, 2016

---

# [Plugin: NextGEN Custom Fields] Exactly where to put the code.

 *  [walkside](https://wordpress.org/support/users/walkside/)
 * (@walkside)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-custom-fields-exactly-where-to-put-the-code/)
 * The only thing missing is exactly where to put the code. I imagine is in a file
   but exactly which one.
 * [http://wordpress.org/extend/plugins/nextgen-gallery-custom-fields/](http://wordpress.org/extend/plugins/nextgen-gallery-custom-fields/)

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

 *  [millo_2k](https://wordpress.org/support/users/millo_2k/)
 * (@millo_2k)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-custom-fields-exactly-where-to-put-the-code/#post-1689090)
 * I too dont know where to put the code for the image.
 * Someone please explain, thanks
 *  [whatword](https://wordpress.org/support/users/whatword/)
 * (@whatword)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-custom-fields-exactly-where-to-put-the-code/#post-1689168)
 * yeah, the instructions are half baked IMHO
 *  [vjpo](https://wordpress.org/support/users/vjpo/)
 * (@vjpo)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-custom-fields-exactly-where-to-put-the-code/#post-1689169)
 * As I guess, you have to create new custom NextGen [template](http://nextgen-gallery.com/templates/)
 * The simplest way to create template is to copy the code from next-gallery/view/
   gallery.php to the new template file gallery-yourtemplatename.php and put `<?
   php echo $image->ngg_custom_fields["Your Field Name Here"]; ?>` where you need
   it.
 * Create directory and upload file to wp-content/themes/your-theme/nggallery/gallery-
   yourtemplatename.php
 *  Plugin Author [shauno](https://wordpress.org/support/users/shauno/)
 * (@shauno)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-custom-fields-exactly-where-to-put-the-code/#post-1689170)
 * [@walkside](https://wordpress.org/support/users/walkside/) / [@millo_2k](https://wordpress.org/support/users/millo_2k/)–
   Sorry I didn’t spot this thread until now. Did you get it working or do you need
   help still (I realise this is ages ago, and you’ve probably moved on, just thought
   I’d check)
 * [@vjpo](https://wordpress.org/support/users/vjpo/) – You do not *need* to create
   a new template. But I guess that would mean it won’t get overwritten when you
   upgrade NGG, so it’s not a bad idea.
 * [@whatword](https://wordpress.org/support/users/whatword/): Half baked? Get over
   yourself. Can you do better? Because if you can, I will change the FAQ to what
   you come up with. Seriously.
 * All plugins in the wordpress repository are GPL (or GPL compatible). You know
   what that means hey? You’re not completely ignorant about the software you so
   freely and download and use?
    So, quit bitching, and contribute. Give something
   back other than a bad attitude and long face.

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

The topic ‘[Plugin: NextGEN Custom Fields] Exactly where to put the code.’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextgen-gallery-custom-fields.svg)
 * [NextGEN Custom Fields](https://wordpress.org/plugins/nextgen-gallery-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery-custom-fields/reviews/)

 * 4 replies
 * 5 participants
 * Last reply from: [shauno](https://wordpress.org/support/users/shauno/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-custom-fields-exactly-where-to-put-the-code/#post-1689170)
 * Status: not resolved