[Plugin: Portfolio Slideshow] Displaying image titles
-
I’d just like to point out (the obvious) that while there’s a setting for displaying image titles, they don’t work since you’re missing the following line in the code:
$caption = $attachment->post_title;
So basically everything else is there except the part where the plugin retrieves the actual title for the image. In other words, change this
if ($ps_titles=="true") { if (isset($title)) { $slideshow .= '<p class="slideshow-title">'.$title.'</p>'; } }
to this
if ($ps_titles=="true") { $caption = $attachment->post_title; if (isset($title)) { $slideshow .= '<p class="slideshow-title">'.$title.'</p>'; } }
Also the slideshow option is missing in the options panel, although the logic is there. But maybe it’s just slated for the next release, the functionality itself does work via the shortcode timeout setting.
Thanks for the plugin!
https://www.ads-software.com/extend/plugins/portfolio-slideshow/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Portfolio Slideshow] Displaying image titles’ is closed to new replies.