[Plugin: Gallery to Slideshow] Missing tags in output when link=""
-
Thanks again for making this plugin- it’s been very useful already.
I found another bug and a possible fix for it. Right now if I set give the attr
link=""
in the shortcode, then flexslider doesn’t recognize theul
anymore. Looks like that is because it’s looking for the pattern.pager li a img
, and since the plugin is usingwp_get_attachment_image
whenlink=""
there’s no longer<a>
tags in the output output.In
gallery-to-slideshow-class.php
I replaced:
$output .= wp_get_attachment_image( $attachment_id, $attr['size'] );
with:
$output .= '<a href="#">'; $output .= wp_get_attachment_image( $attachment_id, $attr['size'] ); $output .= '</a>';
Which worked, but maybe there is a better way?
https://www.ads-software.com/extend/plugins/gallery-to-slideshow/
- The topic ‘[Plugin: Gallery to Slideshow] Missing tags in output when link=""’ is closed to new replies.