forked from roots/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-home.php
32 lines (29 loc) · 1.24 KB
/
page-home.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div id="owl-example" class="owl-carousel owl-theme js-owl-full-width">
<div> <img src="http://lorempixel.com/400/200/fashion/1"> </div>
<div> <img src="http://lorempixel.com/400/200/fashion/2"> </div>
<div> <img src="http://lorempixel.com/400/200/fashion/3"> </div>
<div> <img src="http://lorempixel.com/400/200/fashion/4"> </div>
<div> <img src="http://lorempixel.com/400/200/fashion/5"> </div>
<div> <img src="http://lorempixel.com/400/200/fashion/6"> </div>
<div> <img src="http://lorempixel.com/400/200/fashion/7"> </div>
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
$("#owl-example").owlCarousel({
navigation : false, // Show next and prev buttons
slideSpeed : 300,
paginationSpeed : 400,
singleItem:true
// "singleItem:true" is a shortcut for:
// items : 1,
// itemsDesktop : false,
// itemsDesktopSmall : false,
// itemsTablet: false,
// itemsMobile : false
});
});
</script>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/page', 'header'); ?>
<?php get_template_part('templates/content', 'page'); ?>
<?php endwhile; ?>