I’ve been using Toolset a lot lately because it has lot’s of great features that don’t require you to know PHP. I’m still looking for the best way to add sliders and rotating galleries with Toolset, but this article gave me one solution.
1. Basically, you create a custom field that allows repeating entries. Here is what mine looked like:
2. Then in your Content Template, you use this in your shortcode:
So, for my gallery, here is the code I used:
<div class="gallery" style="margin: 15px auto;">[wpv-for-each field='wpcf-other-photos']<br /> <a href="[types field='other-photos' size='full' url='true' separator=', '][/types]">[types field='other-photos' alt='%%ALT%%' title='%%TITLE%%' width='220' height='220' align='left' resize='crop' separator=', '][/types]</a><br /> [/wpv-for-each]</div>
You can see that I wanted my images to be 220px square.
3. Here’s what it looks like displayed: