Shortcode accepting some attributes – but not others (?!)
-
Hi,
This is a great plugin, and I used an earlier version of it on a couple of sites that I made a couple of years ago. Right now, I’m trying to get the most recent version of it up and running how I want, and I’m hitting a strange problem.
I’m specifying various attributes in the shortcode, like this:
[portfolio_slideshow autoplay=false loop=true size=thumbnail navpos=bottom pagerpos=disabled showtitles=true]
However, the plugin is apparently only accepting some of these attributes, and not others, and I’m a bit mystified as to why this might be. With the ones above, it is not taking the
autoplay
,loop
, andshowtitles
attributes, but it is accepting thesize
andnavpos
ones.When I view source on the page, I can see that the script does seem to be trying to pass these attribute values to the plugin on the page, but for some reason, they’re not working:
<script>/* <![CDATA[ */ portfolio_slideshow.slideshows[800] = {"timeout":"3000","autoplay":"false","trans":"fade","loop":"true","speed":"400","nowrap":false}; /* ]]> */</script>
I’ve been pulling my hair out for a couple of hours now trying to figure out what might be causing this problem, so if there are any suggestions for how to fix it, I’d be very grateful to hear them! All I want is a nice slideshow that doesn’t autoplay! ??
Thanks.
- The topic ‘Shortcode accepting some attributes – but not others (?!)’ is closed to new replies.