Support » Plugin: NextGEN Custom Fields » Custom Field for Link using gallery-simple

  • Resolved crack_baby

    (@crack_baby)


    Hi Shauno, I added the Custom Field to the img for a gallery, and the field shows up in the image gallery admin fine and dandy. Now to get it to render. Using ngg 2.0.4. I looked over your instructions for finding templates to add your custom field code with the newer versions of ngg. I didn’t see any instructions for gallery-simple. I did find gallery-simple.php in the /modules/ngglegacy/views folder, but nothing I did to that page – including deleting all of its contents – had any effect. I tried selecting no template and tried to find /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/index.php per the page instructions, but alas, this file does not exist. A few levels deeper there is a templates/thumbnails/index.php file but altering this file has no affect either. Do I need to use an older version of ngg to use the Custom Fields plug in? If so how far back? The client wants the images (they are logos) to link to their respective web sites. I’ve searched and searched for answers and tried editing a lot of files. I’m really stuck! Thanks for any help, hope you are feeling better.

    https://wordpress.org/plugins/nextgen-gallery-custom-fields/

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

    (@shauno)

    Hi crack_baby

    The newer versions of NGG have template caching, so you need to make sure you clear the cache once you have added the ‘tag’ to the template.

    You also need to use the tag <?php echo nggcf_get_field($image->pid, "Your Field Name Here"); ?> with NGG 2.x, not the other tag described in the FAQ.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Field for Link using gallery-simple’ is closed to new replies.