• I did some major searching on how to put the description on a slide show. There was lots of questions and some answers that didn’t work. The ray of hope was a posting from 2 years ago that went “Hey, no idea why you didn’t get a response, here is the one line to change”. Sadly they posted the code and the forum monster ate it. (MUST use Pastebin)

    So I spent time last night and got it to work. The instructions are here

    https://pastebin.com/KQ3YMDsR

    It really is simple. Not sure why the great people at NextGenGallery have not made this a feature.

    Good luck!

    about Line 140 you should see:

    <img data-image-id='<?php echo esc_attr($image->pid); ?>’

    In front of it put:

    <p><?php echo ($image->description)?> </p> <!- Your name here ->

    that will allow tags to be in the description.

    Or if you work with bozo’s

    <p><?php echo echo esc_attr($image->description)?> </p> <!- Your name here ->

    to rip out the tags.

    I put my name in the comments to note that I’ve changed something. My code is shown below. Note that I want ALL the
    captions to be in italics, so I’ve wrapped the text with that. It’s saves me from doing it in each caption.

    <p><i><?php echo ($image->description)?></i> </p> <!- Astro 18 May 2014->
    <img data-image-id='<?php echo esc_attr($image->pid); ?>’

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

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

    (@photocrati)

    @qvmarine – Thanks for sharing your work-around. For those using this, please remember to keep track of your modifications as they will be over-written with every update to the plugin.

    Also to note, this would make for a nice Feature Request as a new option for the NextGEN Basic Slideshow display. Feel free to share your thoughts and ideas on it here: https://www.nextgen-gallery.com/feature-voting/

    Thanks!

    – Cais.

Viewing 1 replies (of 1 total)
  • The topic ‘How to get descriptions to appear in a slide show’ is closed to new replies.