• JenHD

    (@jenhd)


    Hi! I am using NextGen Gallery for a client (photographer) and I’d like to show the Title each picture in her gallery. I have the shortcode [nggallery id=2 template=caption] but because the name of photo is on the title (ie mjp100_2) this is not showing.

    There are over 250 pics in the albums so to manually add the photo title to each caption would be very time consuming!

    I have googled but the solutions to change something within the gallery-caption.php doesn’t seem to apply as that file no longer exists!??

    Is there a way to show the title please?!

    Thanks!

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @jenhd – It appears you are looking for a “Custom Template” … this is a “proof-of-concept” or working version that will likely need to be modified to address your specific needs: https://gist.github.com/Cais/7337271

    I simply added the “Alt & Title” field as an additional output line.

    You will need to add your custom template to one of the following two locations:

    /wp-content/themes/[yourtheme]/nggallery/ or
    /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/view/

    – Cais.

    PS: The original/default template files should all be found in the second location.

Viewing 1 replies (of 1 total)
  • The topic ‘Force photos in albums to show title not caption’ is closed to new replies.