Does anyone know how I can skip the first or last slide in my NivoSlider 3.1 installation?
Background: I add my images to the slideshow dynamically using WordPress custom fields and due to a strange quirk, it won’t display the slideshow unless I have at least 1 image already in there.
Is it possible to tell NivoSlider to ignore the FIRST or LAST slide?
So, my markup could be:
<div id="slider" class="slider nivoSlider">
<img src="1.jpg" /> <!-- Ignore this ALWAYS -->
<img src="wp-img-1.jpg" />
<img src="another-wp-img-2.jpg" />
<img src="yet-another-wp-img-3.jpg" />
</div>
So, for instance here, it would skip Wall-E or Finding Nemo altogether, not even displaying it.
Many thanks for any help with this – totally racking my brains for a few days now 🙂
Should help you out a bit.
EDIT