Title: [Plugin: nextgen-gallery] Slideshow captions
Last modified: August 20, 2016

---

# [Plugin: nextgen-gallery] Slideshow captions

 *  [benz1](https://wordpress.org/support/users/benz1/)
 * (@benz1)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-slideshow-captions/)
 * There seem to be a lot of posts about slideshow captions but no solutions. Did
   anyone every solve the mystery of how to get cations to appear under the slideshow?
   I can get them to appear in the navigation bar but if you hover the mouse over
   the slideshow they disappear for all subsequent images.
 * This has been an issue in all versions of the plugin for the past couple of years
   and if the one frustration in an otherwise excellent plugin.
 * Thanks,
    benz1
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

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

 *  [nwphoto](https://wordpress.org/support/users/nwphoto/)
 * (@nwphoto)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-slideshow-captions/#post-2291018)
 * Adding [ nggallery id=1 template=caption ] makes the title/description show up
   in the slideshow for me, but not the thumbnails. Does anyone no how to make the
   caption show up under the thumbnails?
 * Thanks
 *  Thread Starter [benz1](https://wordpress.org/support/users/benz1/)
 * (@benz1)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-slideshow-captions/#post-2291044)
 * That works for the gallery thumbnails for me but not if you use [ slideshow id
   =1 template=caption ] if just using the slideshow.
 *  [joelleburch](https://wordpress.org/support/users/joelleburch/)
 * (@joelleburch)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-slideshow-captions/#post-2291234)
 * I have found the solution!
 * Put the caption that you want in the description box (not the title line) next
   to the image in the Manage Gallery section.
 * Then insert this:
 * [nggallery id=1 slideshow=caption].
 * To show captions for the thumbnail and slideshow:
 * [nggallery id=1 template=caption] and still put the title in the description 
   box.
 *  Thread Starter [benz1](https://wordpress.org/support/users/benz1/)
 * (@benz1)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-slideshow-captions/#post-2291235)
 * Thanks for the tip but unfortunately it didn’t work for me 🙁
 *  [raspberryh](https://wordpress.org/support/users/raspberryh/)
 * (@raspberryh)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-slideshow-captions/#post-2291255)
 * Doesn’t work for me either 🙁
    [http://www.heathercash.com/photos/](http://www.heathercash.com/photos/)
 *  [anielsen](https://wordpress.org/support/users/anielsen/)
 * (@anielsen)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-slideshow-captions/#post-2291260)
 * This issue has been bothering me for a while so I started digging into the code
   for this plugin. In the ‘shortcodes.php’ file all the shortcodes that accept 
   the template attribute have code similar to this:
 *     ```
       function show_imagebrowser( $atts ) {
   
               global $wpdb;
   
               extract(shortcode_atts(array(
                   'id'        => 0,
                   'template'  => ''
               ), $atts ));
   
               $out = nggShowImageBrowser($id, $template);
   
               return $out;
           }
       ```
   
 * The slideshow shortcode doesn’t have that attribute:
 *     ```
       function show_slideshow( $atts ) {
   
               global $wpdb;
   
               extract(shortcode_atts(array(
                   'id'        => 0,
                   'w'         => '',
                   'h'         => ''
               ), $atts ));
   
               if( !is_numeric($id) )
                   $id = $wpdb->get_var( $wpdb->prepare ("SELECT gid FROM $wpdb->nggallery WHERE name = '%s' ", $id) );
   
               if( !empty( $id ) )
                   $out = nggShowSlideshow($id, $w, $h);
               else
                   $out = __('[Gallery not found]','nggallery');
   
               return $out;
           }
       ```
   
 * I don’t have a test environment to try adding the code in myself, can someone
   else try adding the code and see if that returns the template functionality to
   the slideshow? Or am I way off track here? (PHP is not my strong point)

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

The topic ‘[Plugin: nextgen-gallery] Slideshow captions’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [anielsen](https://wordpress.org/support/users/anielsen/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-slideshow-captions/#post-2291260)
 * Status: not resolved