Last active
November 10, 2015 05:49
-
-
Save scottgruber/96bd813fb5ee6214cae3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <perch:repeater id="carousel_images" label="Carousel Images" scope-parent="true"> | |
| <perch:before> | |
| <div class="owl-custom-carousel owl-carousel owl-theme"> | |
| </perch:before> | |
| <div class="item"> | |
| <img src="<perch:content id="carousel_image" type="image" label="Image" order="1" required="true" bucket="images" />" alt="<perch:content id="alt" type="text" label="Image description" order="2" />" /> | |
| <perch:if exists="carousel_image_caption"><div class="owl-caption"> | |
| <perch:content id="carousel_image_caption" title="true" type="smarttext" label="Image Caption" help="This is the caption for your image." required="false" order="3" /></div></perch:if> | |
| </div> | |
| <perch:after> | |
| </div> | |
| </perch:after> | |
| </perch:repeater> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A simple perch template to help make an Owl Carousel in a Perch page block. The Owl Carousel is a touch enabled jQuery plugin that lets you create responsive carousel sliders.