Version Description
- Add infinite loop
- Display items limit option
- Bullets on/off
- Navigation on/off
- AutoPlay on/off
- Small desktop, Tablet, Mobile items limit option
Download this release
Release Info
Developer | rubel_miah |
Plugin | Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce |
Version | 1.4.3 |
Comparing to | |
See all releases |
Code changes from version 1.4.2 to 1.4.3
- assets/css/slick.css +117 -0
- assets/css/style.css +66 -0
- assets/js/slick.min.js +18 -0
- inc/owl-carousel/AjaxLoader.gif +0 -0
- inc/owl-carousel/grabbing.png +0 -0
- inc/owl-carousel/owl.carousel.css +0 -73
- inc/owl-carousel/owl.carousel.min.js +0 -47
- inc/owl-carousel/owl.theme.css +0 -86
- inc/owl-carousel/owl.transitions.css +0 -163
- inc/scripts.php +38 -8
- inc/shortcodes.php +68 -16
- readme.txt +24 -1
- wp-carousel-free.php +1 -26
assets/css/slick.css
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Slider */
|
2 |
+
.slick-slider
|
3 |
+
{
|
4 |
+
position: relative;
|
5 |
+
|
6 |
+
display: block;
|
7 |
+
box-sizing: border-box;
|
8 |
+
|
9 |
+
-webkit-user-select: none;
|
10 |
+
-moz-user-select: none;
|
11 |
+
-ms-user-select: none;
|
12 |
+
user-select: none;
|
13 |
+
|
14 |
+
-webkit-touch-callout: none;
|
15 |
+
-khtml-user-select: none;
|
16 |
+
-ms-touch-action: pan-y;
|
17 |
+
touch-action: pan-y;
|
18 |
+
-webkit-tap-highlight-color: transparent;
|
19 |
+
}
|
20 |
+
|
21 |
+
.slick-list
|
22 |
+
{
|
23 |
+
position: relative;
|
24 |
+
|
25 |
+
display: block;
|
26 |
+
overflow: hidden;
|
27 |
+
|
28 |
+
margin: 0;
|
29 |
+
padding: 0;
|
30 |
+
}
|
31 |
+
.slick-list:focus
|
32 |
+
{
|
33 |
+
outline: none;
|
34 |
+
}
|
35 |
+
.slick-list.dragging
|
36 |
+
{
|
37 |
+
cursor: pointer;
|
38 |
+
cursor: hand;
|
39 |
+
}
|
40 |
+
|
41 |
+
.slick-slider .slick-track,
|
42 |
+
.slick-slider .slick-list
|
43 |
+
{
|
44 |
+
-webkit-transform: translate3d(0, 0, 0);
|
45 |
+
-moz-transform: translate3d(0, 0, 0);
|
46 |
+
-ms-transform: translate3d(0, 0, 0);
|
47 |
+
-o-transform: translate3d(0, 0, 0);
|
48 |
+
transform: translate3d(0, 0, 0);
|
49 |
+
}
|
50 |
+
|
51 |
+
.slick-track
|
52 |
+
{
|
53 |
+
position: relative;
|
54 |
+
top: 0;
|
55 |
+
left: 0;
|
56 |
+
|
57 |
+
display: block;
|
58 |
+
}
|
59 |
+
.slick-track:before,
|
60 |
+
.slick-track:after
|
61 |
+
{
|
62 |
+
display: table;
|
63 |
+
|
64 |
+
content: '';
|
65 |
+
}
|
66 |
+
.slick-track:after
|
67 |
+
{
|
68 |
+
clear: both;
|
69 |
+
}
|
70 |
+
.slick-loading .slick-track
|
71 |
+
{
|
72 |
+
visibility: hidden;
|
73 |
+
}
|
74 |
+
|
75 |
+
.slick-slide
|
76 |
+
{
|
77 |
+
display: none;
|
78 |
+
float: left;
|
79 |
+
|
80 |
+
height: 100%;
|
81 |
+
min-height: 1px;
|
82 |
+
}
|
83 |
+
[dir='rtl'] .slick-slide
|
84 |
+
{
|
85 |
+
float: right;
|
86 |
+
}
|
87 |
+
.slick-slide img
|
88 |
+
{
|
89 |
+
display: block;
|
90 |
+
}
|
91 |
+
.slick-slide.slick-loading img
|
92 |
+
{
|
93 |
+
display: none;
|
94 |
+
}
|
95 |
+
.slick-slide.dragging img
|
96 |
+
{
|
97 |
+
pointer-events: none;
|
98 |
+
}
|
99 |
+
.slick-initialized .slick-slide
|
100 |
+
{
|
101 |
+
display: block;
|
102 |
+
}
|
103 |
+
.slick-loading .slick-slide
|
104 |
+
{
|
105 |
+
visibility: hidden;
|
106 |
+
}
|
107 |
+
.slick-vertical .slick-slide
|
108 |
+
{
|
109 |
+
display: block;
|
110 |
+
|
111 |
+
height: auto;
|
112 |
+
|
113 |
+
border: 1px solid transparent;
|
114 |
+
}
|
115 |
+
.slick-arrow.slick-hidden {
|
116 |
+
display: none;
|
117 |
+
}
|
assets/css/style.css
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
div.wordpress-carousel-free-section .single_wcf_item:focus{
|
2 |
+
outline: none;
|
3 |
+
}
|
4 |
+
div.wordpress-carousel-free-section .single_wcf_item{
|
5 |
+
margin: 0 10px;
|
6 |
+
display: inline-block;
|
7 |
+
vertical-align: middle;
|
8 |
+
float: none;
|
9 |
+
}
|
10 |
+
div.wordpress-carousel-free-section .slick-prev{
|
11 |
+
left: 0;
|
12 |
+
text-align: left;
|
13 |
+
}
|
14 |
+
div.wordpress-carousel-free-section .slick-next{
|
15 |
+
right: 0;
|
16 |
+
text-align: right;
|
17 |
+
}
|
18 |
+
div.wordpress-carousel-free-section .slick-prev,
|
19 |
+
div.wordpress-carousel-free-section .slick-next{
|
20 |
+
position: absolute;
|
21 |
+
z-index: 22;
|
22 |
+
top: 50%;
|
23 |
+
width: 14px;
|
24 |
+
height: 30px;
|
25 |
+
font-size: 30px;
|
26 |
+
-webkit-transition: ease all 0.3s;
|
27 |
+
-moz-transition: ease all 0.3s;
|
28 |
+
-ms-transition: ease all 0.3s;
|
29 |
+
-o-transition: ease all 0.3s;
|
30 |
+
transition: ease all 0.3s;
|
31 |
+
line-height: 30px;
|
32 |
+
margin-top: -15px;
|
33 |
+
cursor: pointer;
|
34 |
+
opacity: .5;
|
35 |
+
}
|
36 |
+
div.wordpress-carousel-free-section .slick-prev:hover,
|
37 |
+
div.wordpress-carousel-free-section .slick-next:hover{
|
38 |
+
opacity:1;
|
39 |
+
}
|
40 |
+
/* Dots */
|
41 |
+
div.wordpress-carousel-free-section ul.slick-dots{
|
42 |
+
list-style: none;
|
43 |
+
padding: 0;
|
44 |
+
margin: 0;
|
45 |
+
text-align: center;
|
46 |
+
margin-top: 22px;
|
47 |
+
}
|
48 |
+
div.wordpress-carousel-free-section ul.slick-dots li{
|
49 |
+
display: inline;
|
50 |
+
}
|
51 |
+
div.wordpress-carousel-free-section ul.slick-dots li button{
|
52 |
+
border: 0 solid;
|
53 |
+
overflow: hidden;
|
54 |
+
width: 12px;
|
55 |
+
height: 12px;
|
56 |
+
border-radius: 50%;
|
57 |
+
text-indent: -999px;
|
58 |
+
background-color: #cccccc;
|
59 |
+
margin: 3px;
|
60 |
+
}
|
61 |
+
div.wordpress-carousel-free-section ul.slick-dots li button:focus{
|
62 |
+
outline: none;
|
63 |
+
}
|
64 |
+
div.wordpress-carousel-free-section ul.slick-dots li.slick-active button{
|
65 |
+
background-color: #666;
|
66 |
+
}
|
assets/js/slick.min.js
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
_ _ _ _
|
3 |
+
___| (_) ___| | __ (_)___
|
4 |
+
/ __| | |/ __| |/ / | / __|
|
5 |
+
\__ \ | | (__| < _ | \__ \
|
6 |
+
|___/_|_|\___|_|\_(_)/ |___/
|
7 |
+
|__/
|
8 |
+
|
9 |
+
Version: 1.6.0
|
10 |
+
Author: Ken Wheeler
|
11 |
+
Website: http://kenwheeler.github.io
|
12 |
+
Docs: http://kenwheeler.github.io/slick
|
13 |
+
Repo: http://github.com/kenwheeler/slick
|
14 |
+
Issues: http://github.com/kenwheeler/slick/issues
|
15 |
+
|
16 |
+
*/
|
17 |
+
!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('<button type="button" data-role="none" role="button" tabindex="0" />').text(c+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},e.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},a.extend(e,e.initials),e.activeBreakpoint=null,e.animType=null,e.animProp=null,e.breakpoints=[],e.breakpointSettings=[],e.cssTransitions=!1,e.focussed=!1,e.interrupted=!1,e.hidden="hidden",e.paused=!0,e.positionProp=null,e.respondTo=null,e.rowCount=1,e.shouldClick=!0,e.$slider=a(c),e.$slidesCache=null,e.transformType=null,e.transitionType=null,e.visibilityChange="visibilitychange",e.windowWidth=0,e.windowTimer=null,f=a(c).data("slick")||{},e.options=a.extend({},e.defaults,d,f),e.currentSlide=e.options.initialSlide,e.originalSettings=e.options,"undefined"!=typeof document.mozHidden?(e.hidden="mozHidden",e.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(e.hidden="webkitHidden",e.visibilityChange="webkitvisibilitychange"),e.autoPlay=a.proxy(e.autoPlay,e),e.autoPlayClear=a.proxy(e.autoPlayClear,e),e.autoPlayIterator=a.proxy(e.autoPlayIterator,e),e.changeSlide=a.proxy(e.changeSlide,e),e.clickHandler=a.proxy(e.clickHandler,e),e.selectHandler=a.proxy(e.selectHandler,e),e.setPosition=a.proxy(e.setPosition,e),e.swipeHandler=a.proxy(e.swipeHandler,e),e.dragHandler=a.proxy(e.dragHandler,e),e.keyHandler=a.proxy(e.keyHandler,e),e.instanceUid=b++,e.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,e.registerBreakpoints(),e.init(!0)}var b=0;return c}(),b.prototype.activateADA=function(){var a=this;a.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},b.prototype.addSlide=b.prototype.slickAdd=function(b,c,d){var e=this;if("boolean"==typeof c)d=c,c=null;else if(0>c||c>=e.slideCount)return!1;e.unload(),"number"==typeof c?0===c&&0===e.$slides.length?a(b).appendTo(e.$slideTrack):d?a(b).insertBefore(e.$slides.eq(c)):a(b).insertAfter(e.$slides.eq(c)):d===!0?a(b).prependTo(e.$slideTrack):a(b).appendTo(e.$slideTrack),e.$slides=e.$slideTrack.children(this.options.slide),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.append(e.$slides),e.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),e.$slidesCache=e.$slides,e.reinit()},b.prototype.animateHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateSlide=function(b,c){var d={},e=this;e.animateHeight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsEnabled===!1?e.options.vertical===!1?e.$slideTrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slideTrack.animate({top:b},e.options.speed,e.options.easing,c):e.cssTransitions===!1?(e.options.rtl===!0&&(e.currentLeft=-e.currentLeft),a({animStart:e.currentLeft}).animate({animStart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=Math.ceil(a),e.options.vertical===!1?(d[e.animType]="translate("+a+"px, 0px)",e.$slideTrack.css(d)):(d[e.animType]="translate(0px,"+a+"px)",e.$slideTrack.css(d))},complete:function(){c&&c.call()}})):(e.applyTransition(),b=Math.ceil(b),e.options.vertical===!1?d[e.animType]="translate3d("+b+"px, 0px, 0px)":d[e.animType]="translate3d(0px,"+b+"px, 0px)",e.$slideTrack.css(d),c&&setTimeout(function(){e.disableTransition(),c.call()},e.options.speed))},b.prototype.getNavTarget=function(){var b=this,c=b.options.asNavFor;return c&&null!==c&&(c=a(c).not(b.$slider)),c},b.prototype.asNavFor=function(b){var c=this,d=c.getNavTarget();null!==d&&"object"==typeof d&&d.each(function(){var c=a(this).slick("getSlick");c.unslicked||c.slideHandler(b,!0)})},b.prototype.applyTransition=function(a){var b=this,c={};b.options.fade===!1?c[b.transitionType]=b.transformType+" "+b.options.speed+"ms "+b.options.cssEase:c[b.transitionType]="opacity "+b.options.speed+"ms "+b.options.cssEase,b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.autoPlay=function(){var a=this;a.autoPlayClear(),a.slideCount>a.options.slidesToShow&&(a.autoPlayTimer=setInterval(a.autoPlayIterator,a.options.autoplaySpeed))},b.prototype.autoPlayClear=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer)},b.prototype.autoPlayIterator=function(){var a=this,b=a.currentSlide+a.options.slidesToScroll;a.paused||a.interrupted||a.focussed||(a.options.infinite===!1&&(1===a.direction&&a.currentSlide+1===a.slideCount-1?a.direction=0:0===a.direction&&(b=a.currentSlide-a.options.slidesToScroll,a.currentSlide-1===0&&(a.direction=1))),a.slideHandler(b))},b.prototype.buildArrows=function(){var b=this;b.options.arrows===!0&&(b.$prevArrow=a(b.options.prevArrow).addClass("slick-arrow"),b.$nextArrow=a(b.options.nextArrow).addClass("slick-arrow"),b.slideCount>b.options.slidesToShow?(b.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.prependTo(b.options.appendArrows),b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.appendTo(b.options.appendArrows),b.options.infinite!==!0&&b.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):b.$prevArrow.add(b.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},b.prototype.buildDots=function(){var c,d,b=this;if(b.options.dots===!0&&b.slideCount>b.options.slidesToShow){for(b.$slider.addClass("slick-dotted"),d=a("<ul />").addClass(b.options.dotsClass),c=0;c<=b.getDotCount();c+=1)d.append(a("<li />").append(b.options.customPaging.call(this,b,c)));b.$dots=d.appendTo(b.options.appendDots),b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+":not(.slick-cloned)").addClass("slick-slide"),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr("data-slick-index",b).data("originalStyling",a(c).attr("style")||"")}),b.$slider.addClass("slick-slider"),b.$slideTrack=0===b.slideCount?a('<div class="slick-track"/>').appendTo(b.$slider):b.$slides.wrapAll('<div class="slick-track"/>').parent(),b.$list=b.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),b.$slideTrack.css("opacity",0),(b.options.centerMode===!0||b.options.swipeToSlide===!0)&&(b.options.slidesToScroll=1),a("img[data-lazy]",b.$slider).not("[src]").addClass("slick-loading"),b.setupInfinite(),b.buildArrows(),b.buildDots(),b.updateDots(),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.options.draggable===!0&&b.$list.addClass("draggable")},b.prototype.buildRows=function(){var b,c,d,e,f,g,h,a=this;if(e=document.createDocumentFragment(),g=a.$slider.children(),a.options.rows>1){for(h=a.options.slidesPerRow*a.options.rows,f=Math.ceil(g.length/h),b=0;f>b;b++){var i=document.createElement("div");for(c=0;c<a.options.rows;c++){var j=document.createElement("div");for(d=0;d<a.options.slidesPerRow;d++){var k=b*h+(c*a.options.slidesPerRow+d);g.get(k)&&j.appendChild(g.get(k))}i.appendChild(j)}e.appendChild(i)}a.$slider.empty().append(e),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},b.prototype.checkResponsive=function(b,c){var e,f,g,d=this,h=!1,i=d.$slider.width(),j=window.innerWidth||a(window).width();if("window"===d.respondTo?g=j:"slider"===d.respondTo?g=i:"min"===d.respondTo&&(g=Math.min(j,i)),d.options.responsive&&d.options.responsive.length&&null!==d.options.responsive){f=null;for(e in d.breakpoints)d.breakpoints.hasOwnProperty(e)&&(d.originalSettings.mobileFirst===!1?g<d.breakpoints[e]&&(f=d.breakpoints[e]):g>d.breakpoints[e]&&(f=d.breakpoints[e]));null!==f?null!==d.activeBreakpoint?(f!==d.activeBreakpoint||c)&&(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):null!==d.activeBreakpoint&&(d.activeBreakpoint=null,d.options=d.originalSettings,b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b),h=f),b||h===!1||d.$slider.trigger("breakpoint",[d,h])}},b.prototype.changeSlide=function(b,c){var f,g,h,d=this,e=a(b.currentTarget);switch(e.is("a")&&b.preventDefault(),e.is("li")||(e=e.closest("li")),h=d.slideCount%d.options.slidesToScroll!==0,f=h?0:(d.slideCount-d.currentSlide)%d.options.slidesToScroll,b.data.message){case"previous":g=0===f?d.options.slidesToScroll:d.options.slidesToShow-f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide-g,!1,c);break;case"next":g=0===f?d.options.slidesToScroll:f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide+g,!1,c);break;case"index":var i=0===b.data.index?0:b.data.index||e.index()*d.options.slidesToScroll;d.slideHandler(d.checkNavigable(i),!1,c),e.children().trigger("focus");break;default:return}},b.prototype.checkNavigable=function(a){var c,d,b=this;if(c=b.getNavigableIndexes(),d=0,a>c[c.length-1])a=c[c.length-1];else for(var e in c){if(a<c[e]){a=d;break}d=c[e]}return a},b.prototype.cleanUpEvents=function(){var b=this;b.options.dots&&null!==b.$dots&&a("li",b.$dots).off("click.slick",b.changeSlide).off("mouseenter.slick",a.proxy(b.interrupt,b,!0)).off("mouseleave.slick",a.proxy(b.interrupt,b,!1)),b.$slider.off("focus.slick blur.slick"),b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow&&b.$prevArrow.off("click.slick",b.changeSlide),b.$nextArrow&&b.$nextArrow.off("click.slick",b.changeSlide)),b.$list.off("touchstart.slick mousedown.slick",b.swipeHandler),b.$list.off("touchmove.slick mousemove.slick",b.swipeHandler),b.$list.off("touchend.slick mouseup.slick",b.swipeHandler),b.$list.off("touchcancel.slick mouseleave.slick",b.swipeHandler),b.$list.off("click.slick",b.clickHandler),a(document).off(b.visibilityChange,b.visibility),b.cleanUpSlideEvents(),b.options.accessibility===!0&&b.$list.off("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().off("click.slick",b.selectHandler),a(window).off("orientationchange.slick.slick-"+b.instanceUid,b.orientationChange),a(window).off("resize.slick.slick-"+b.instanceUid,b.resize),a("[draggable!=true]",b.$slideTrack).off("dragstart",b.preventDefault),a(window).off("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).off("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.cleanUpSlideEvents=function(){var b=this;b.$list.off("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.off("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.cleanUpRows=function(){var b,a=this;a.options.rows>1&&(b=a.$slides.children().children(),b.removeAttr("style"),a.$slider.empty().append(b))},b.prototype.clickHandler=function(a){var b=this;b.shouldClick===!1&&(a.stopImmediatePropagation(),a.stopPropagation(),a.preventDefault())},b.prototype.destroy=function(b){var c=this;c.autoPlayClear(),c.touchObject={},c.cleanUpEvents(),a(".slick-cloned",c.$slider).detach(),c.$dots&&c.$dots.remove(),c.$prevArrow&&c.$prevArrow.length&&(c.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.prevArrow)&&c.$prevArrow.remove()),c.$nextArrow&&c.$nextArrow.length&&(c.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.nextArrow)&&c.$nextArrow.remove()),c.$slides&&(c.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){a(this).attr("style",a(this).data("originalStyling"))}),c.$slideTrack.children(this.options.slide).detach(),c.$slideTrack.detach(),c.$list.detach(),c.$slider.append(c.$slides)),c.cleanUpRows(),c.$slider.removeClass("slick-slider"),c.$slider.removeClass("slick-initialized"),c.$slider.removeClass("slick-dotted"),c.unslicked=!0,b||c.$slider.trigger("destroy",[c])},b.prototype.disableTransition=function(a){var b=this,c={};c[b.transitionType]="",b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.fadeSlide=function(a,b){var c=this;c.cssTransitions===!1?(c.$slides.eq(a).css({zIndex:c.options.zIndex}),c.$slides.eq(a).animate({opacity:1},c.options.speed,c.options.easing,b)):(c.applyTransition(a),c.$slides.eq(a).css({opacity:1,zIndex:c.options.zIndex}),b&&setTimeout(function(){c.disableTransition(a),b.call()},c.options.speed))},b.prototype.fadeSlideOut=function(a){var b=this;b.cssTransitions===!1?b.$slides.eq(a).animate({opacity:0,zIndex:b.options.zIndex-2},b.options.speed,b.options.easing):(b.applyTransition(a),b.$slides.eq(a).css({opacity:0,zIndex:b.options.zIndex-2}))},b.prototype.filterSlides=b.prototype.slickFilter=function(a){var b=this;null!==a&&(b.$slidesCache=b.$slides,b.unload(),b.$slideTrack.children(this.options.slide).detach(),b.$slidesCache.filter(a).appendTo(b.$slideTrack),b.reinit())},b.prototype.focusHandler=function(){var b=this;b.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(c){c.stopImmediatePropagation();var d=a(this);setTimeout(function(){b.options.pauseOnFocus&&(b.focussed=d.is(":focus"),b.autoPlay())},0)})},b.prototype.getCurrent=b.prototype.slickCurrentSlide=function(){var a=this;return a.currentSlide},b.prototype.getDotCount=function(){var a=this,b=0,c=0,d=0;if(a.options.infinite===!0)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else if(a.options.centerMode===!0)d=a.slideCount;else if(a.options.asNavFor)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else d=1+Math.ceil((a.slideCount-a.options.slidesToShow)/a.options.slidesToScroll);return d-1},b.prototype.getLeft=function(a){var c,d,f,b=this,e=0;return b.slideOffset=0,d=b.$slides.first().outerHeight(!0),b.options.infinite===!0?(b.slideCount>b.options.slidesToShow&&(b.slideOffset=b.slideWidth*b.options.slidesToShow*-1,e=d*b.options.slidesToShow*-1),b.slideCount%b.options.slidesToScroll!==0&&a+b.options.slidesToScroll>b.slideCount&&b.slideCount>b.options.slidesToShow&&(a>b.slideCount?(b.slideOffset=(b.options.slidesToShow-(a-b.slideCount))*b.slideWidth*-1,e=(b.options.slidesToShow-(a-b.slideCount))*d*-1):(b.slideOffset=b.slideCount%b.options.slidesToScroll*b.slideWidth*-1,e=b.slideCount%b.options.slidesToScroll*d*-1))):a+b.options.slidesToShow>b.slideCount&&(b.slideOffset=(a+b.options.slidesToShow-b.slideCount)*b.slideWidth,e=(a+b.options.slidesToShow-b.slideCount)*d),b.slideCount<=b.options.slidesToShow&&(b.slideOffset=0,e=0),b.options.centerMode===!0&&b.options.infinite===!0?b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)-b.slideWidth:b.options.centerMode===!0&&(b.slideOffset=0,b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)),c=b.options.vertical===!1?a*b.slideWidth*-1+b.slideOffset:a*d*-1+e,b.options.variableWidth===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,b.options.centerMode===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow+1),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,c+=(b.$list.width()-f.outerWidth())/2)),c},b.prototype.getOption=b.prototype.slickGetOption=function(a){var b=this;return b.options[a]},b.prototype.getNavigableIndexes=function(){var e,a=this,b=0,c=0,d=[];for(a.options.infinite===!1?e=a.slideCount:(b=-1*a.options.slidesToScroll,c=-1*a.options.slidesToScroll,e=2*a.slideCount);e>b;)d.push(b),b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d},b.prototype.getSlick=function(){return this},b.prototype.getSlideCount=function(){var c,d,e,b=this;return e=b.options.centerMode===!0?b.slideWidth*Math.floor(b.options.slidesToShow/2):0,b.options.swipeToSlide===!0?(b.$slideTrack.find(".slick-slide").each(function(c,f){return f.offsetLeft-e+a(f).outerWidth()/2>-1*b.swipeLeft?(d=f,!1):void 0}),c=Math.abs(a(d).attr("data-slick-index")-b.currentSlide)||1):b.options.slidesToScroll},b.prototype.goTo=b.prototype.slickGoTo=function(a,b){var c=this;c.changeSlide({data:{message:"index",index:parseInt(a)}},b)},b.prototype.init=function(b){var c=this;a(c.$slider).hasClass("slick-initialized")||(a(c.$slider).addClass("slick-initialized"),c.buildRows(),c.buildOut(),c.setProps(),c.startLoad(),c.loadSlider(),c.initializeEvents(),c.updateArrows(),c.updateDots(),c.checkResponsive(!0),c.focusHandler()),b&&c.$slider.trigger("init",[c]),c.options.accessibility===!0&&c.initADA(),c.options.autoplay&&(c.paused=!1,c.autoPlay())},b.prototype.initADA=function(){var b=this;b.$slides.add(b.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),b.$slideTrack.attr("role","listbox"),b.$slides.not(b.$slideTrack.find(".slick-cloned")).each(function(c){a(this).attr({role:"option","aria-describedby":"slick-slide"+b.instanceUid+c})}),null!==b.$dots&&b.$dots.attr("role","tablist").find("li").each(function(c){a(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+b.instanceUid+c,id:"slick-slide"+b.instanceUid+c})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),b.activateADA()},b.prototype.initArrowEvents=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},a.changeSlide),a.$nextArrow.off("click.slick").on("click.slick",{message:"next"},a.changeSlide))},b.prototype.initDotEvents=function(){var b=this;b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&a("li",b.$dots).on("click.slick",{message:"index"},b.changeSlide),b.options.dots===!0&&b.options.pauseOnDotsHover===!0&&a("li",b.$dots).on("mouseenter.slick",a.proxy(b.interrupt,b,!0)).on("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.initSlideEvents=function(){var b=this;b.options.pauseOnHover&&(b.$list.on("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.on("mouseleave.slick",a.proxy(b.interrupt,b,!1)))},b.prototype.initializeEvents=function(){var b=this;b.initArrowEvents(),b.initDotEvents(),b.initSlideEvents(),b.$list.on("touchstart.slick mousedown.slick",{action:"start"},b.swipeHandler),b.$list.on("touchmove.slick mousemove.slick",{action:"move"},b.swipeHandler),b.$list.on("touchend.slick mouseup.slick",{action:"end"},b.swipeHandler),b.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},b.swipeHandler),b.$list.on("click.slick",b.clickHandler),a(document).on(b.visibilityChange,a.proxy(b.visibility,b)),b.options.accessibility===!0&&b.$list.on("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),a(window).on("orientationchange.slick.slick-"+b.instanceUid,a.proxy(b.orientationChange,b)),a(window).on("resize.slick.slick-"+b.instanceUid,a.proxy(b.resize,b)),a("[draggable!=true]",b.$slideTrack).on("dragstart",b.preventDefault),a(window).on("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).on("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.initUI=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.show(),a.$nextArrow.show()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.show()},b.prototype.keyHandler=function(a){var b=this;a.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===a.keyCode&&b.options.accessibility===!0?b.changeSlide({data:{message:b.options.rtl===!0?"next":"previous"}}):39===a.keyCode&&b.options.accessibility===!0&&b.changeSlide({data:{message:b.options.rtl===!0?"previous":"next"}}))},b.prototype.lazyLoad=function(){function g(c){a("img[data-lazy]",c).each(function(){var c=a(this),d=a(this).attr("data-lazy"),e=document.createElement("img");e.onload=function(){c.animate({opacity:0},100,function(){c.attr("src",d).animate({opacity:1},200,function(){c.removeAttr("data-lazy").removeClass("slick-loading")}),b.$slider.trigger("lazyLoaded",[b,c,d])})},e.onerror=function(){c.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),b.$slider.trigger("lazyLoadError",[b,c,d])},e.src=d})}var c,d,e,f,b=this;b.options.centerMode===!0?b.options.infinite===!0?(e=b.currentSlide+(b.options.slidesToShow/2+1),f=e+b.options.slidesToShow+2):(e=Math.max(0,b.currentSlide-(b.options.slidesToShow/2+1)),f=2+(b.options.slidesToShow/2+1)+b.currentSlide):(e=b.options.infinite?b.options.slidesToShow+b.currentSlide:b.currentSlide,f=Math.ceil(e+b.options.slidesToShow),b.options.fade===!0&&(e>0&&e--,f<=b.slideCount&&f++)),c=b.$slider.find(".slick-slide").slice(e,f),g(c),b.slideCount<=b.options.slidesToShow?(d=b.$slider.find(".slick-slide"),g(d)):b.currentSlide>=b.slideCount-b.options.slidesToShow?(d=b.$slider.find(".slick-cloned").slice(0,b.options.slidesToShow),g(d)):0===b.currentSlide&&(d=b.$slider.find(".slick-cloned").slice(-1*b.options.slidesToShow),g(d))},b.prototype.loadSlider=function(){var a=this;a.setPosition(),a.$slideTrack.css({opacity:1}),a.$slider.removeClass("slick-loading"),a.initUI(),"progressive"===a.options.lazyLoad&&a.progressiveLazyLoad()},b.prototype.next=b.prototype.slickNext=function(){var a=this;a.changeSlide({data:{message:"next"}})},b.prototype.orientationChange=function(){var a=this;a.checkResponsive(),a.setPosition()},b.prototype.pause=b.prototype.slickPause=function(){var a=this;a.autoPlayClear(),a.paused=!0},b.prototype.play=b.prototype.slickPlay=function(){var a=this;a.autoPlay(),a.options.autoplay=!0,a.paused=!1,a.focussed=!1,a.interrupted=!1},b.prototype.postSlide=function(a){var b=this;b.unslicked||(b.$slider.trigger("afterChange",[b,a]),b.animating=!1,b.setPosition(),b.swipeLeft=null,b.options.autoplay&&b.autoPlay(),b.options.accessibility===!0&&b.initADA())},b.prototype.prev=b.prototype.slickPrev=function(){var a=this;a.changeSlide({data:{message:"previous"}})},b.prototype.preventDefault=function(a){a.preventDefault()},b.prototype.progressiveLazyLoad=function(b){b=b||1;var e,f,g,c=this,d=a("img[data-lazy]",c.$slider);d.length?(e=d.first(),f=e.attr("data-lazy"),g=document.createElement("img"),g.onload=function(){e.attr("src",f).removeAttr("data-lazy").removeClass("slick-loading"),c.options.adaptiveHeight===!0&&c.setPosition(),c.$slider.trigger("lazyLoaded",[c,e,f]),c.progressiveLazyLoad()},g.onerror=function(){3>b?setTimeout(function(){c.progressiveLazyLoad(b+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),c.$slider.trigger("lazyLoadError",[c,e,f]),c.progressiveLazyLoad())},g.src=f):c.$slider.trigger("allImagesLoaded",[c])},b.prototype.refresh=function(b){var d,e,c=this;e=c.slideCount-c.options.slidesToShow,!c.options.infinite&&c.currentSlide>e&&(c.currentSlide=e),c.slideCount<=c.options.slidesToShow&&(c.currentSlide=0),d=c.currentSlide,c.destroy(!0),a.extend(c,c.initials,{currentSlide:d}),c.init(),b||c.changeSlide({data:{message:"index",index:d}},!1)},b.prototype.registerBreakpoints=function(){var c,d,e,b=this,f=b.options.responsive||null;if("array"===a.type(f)&&f.length){b.respondTo=b.options.respondTo||"window";for(c in f)if(e=b.breakpoints.length-1,d=f[c].breakpoint,f.hasOwnProperty(c)){for(;e>=0;)b.breakpoints[e]&&b.breakpoints[e]===d&&b.breakpoints.splice(e,1),e--;b.breakpoints.push(d),b.breakpointSettings[d]=f[c].settings}b.breakpoints.sort(function(a,c){return b.options.mobileFirst?a-c:c-a})}},b.prototype.reinit=function(){var b=this;b.$slides=b.$slideTrack.children(b.options.slide).addClass("slick-slide"),b.slideCount=b.$slides.length,b.currentSlide>=b.slideCount&&0!==b.currentSlide&&(b.currentSlide=b.currentSlide-b.options.slidesToScroll),b.slideCount<=b.options.slidesToShow&&(b.currentSlide=0),b.registerBreakpoints(),b.setProps(),b.setupInfinite(),b.buildArrows(),b.updateArrows(),b.initArrowEvents(),b.buildDots(),b.updateDots(),b.initDotEvents(),b.cleanUpSlideEvents(),b.initSlideEvents(),b.checkResponsive(!1,!0),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.setPosition(),b.focusHandler(),b.paused=!b.options.autoplay,b.autoPlay(),b.$slider.trigger("reInit",[b])},b.prototype.resize=function(){var b=this;a(window).width()!==b.windowWidth&&(clearTimeout(b.windowDelay),b.windowDelay=window.setTimeout(function(){b.windowWidth=a(window).width(),b.checkResponsive(),b.unslicked||b.setPosition()},50))},b.prototype.removeSlide=b.prototype.slickRemove=function(a,b,c){var d=this;return"boolean"==typeof a?(b=a,a=b===!0?0:d.slideCount-1):a=b===!0?--a:a,d.slideCount<1||0>a||a>d.slideCount-1?!1:(d.unload(),c===!0?d.$slideTrack.children().remove():d.$slideTrack.children(this.options.slide).eq(a).remove(),d.$slides=d.$slideTrack.children(this.options.slide),d.$slideTrack.children(this.options.slide).detach(),d.$slideTrack.append(d.$slides),d.$slidesCache=d.$slides,void d.reinit())},b.prototype.setCSS=function(a){var d,e,b=this,c={};b.options.rtl===!0&&(a=-a),d="left"==b.positionProp?Math.ceil(a)+"px":"0px",e="top"==b.positionProp?Math.ceil(a)+"px":"0px",c[b.positionProp]=a,b.transformsEnabled===!1?b.$slideTrack.css(c):(c={},b.cssTransitions===!1?(c[b.animType]="translate("+d+", "+e+")",b.$slideTrack.css(c)):(c[b.animType]="translate3d("+d+", "+e+", 0px)",b.$slideTrack.css(c)))},b.prototype.setDimensions=function(){var a=this;a.options.vertical===!1?a.options.centerMode===!0&&a.$list.css({padding:"0px "+a.options.centerPadding}):(a.$list.height(a.$slides.first().outerHeight(!0)*a.options.slidesToShow),a.options.centerMode===!0&&a.$list.css({padding:a.options.centerPadding+" 0px"})),a.listWidth=a.$list.width(),a.listHeight=a.$list.height(),a.options.vertical===!1&&a.options.variableWidth===!1?(a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.width(Math.ceil(a.slideWidth*a.$slideTrack.children(".slick-slide").length))):a.options.variableWidth===!0?a.$slideTrack.width(5e3*a.slideCount):(a.slideWidth=Math.ceil(a.listWidth),a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0)*a.$slideTrack.children(".slick-slide").length)));var b=a.$slides.first().outerWidth(!0)-a.$slides.first().width();a.options.variableWidth===!1&&a.$slideTrack.children(".slick-slide").width(a.slideWidth-b)},b.prototype.setFade=function(){var c,b=this;b.$slides.each(function(d,e){c=b.slideWidth*d*-1,b.options.rtl===!0?a(e).css({position:"relative",right:c,top:0,zIndex:b.options.zIndex-2,opacity:0}):a(e).css({position:"relative",left:c,top:0,zIndex:b.options.zIndex-2,opacity:0})}),b.$slides.eq(b.currentSlide).css({zIndex:b.options.zIndex-1,opacity:1})},b.prototype.setHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.css("height",b)}},b.prototype.setOption=b.prototype.slickSetOption=function(){var c,d,e,f,h,b=this,g=!1;if("object"===a.type(arguments[0])?(e=arguments[0],g=arguments[1],h="multiple"):"string"===a.type(arguments[0])&&(e=arguments[0],f=arguments[1],g=arguments[2],"responsive"===arguments[0]&&"array"===a.type(arguments[1])?h="responsive":"undefined"!=typeof arguments[1]&&(h="single")),"single"===h)b.options[e]=f;else if("multiple"===h)a.each(e,function(a,c){b.options[a]=c});else if("responsive"===h)for(d in f)if("array"!==a.type(b.options.responsive))b.options.responsive=[f[d]];else{for(c=b.options.responsive.length-1;c>=0;)b.options.responsive[c].breakpoint===f[d].breakpoint&&b.options.responsive.splice(c,1),c--;b.options.responsive.push(f[d])}g&&(b.unload(),b.reinit())},b.prototype.setPosition=function(){var a=this;a.setDimensions(),a.setHeight(),a.options.fade===!1?a.setCSS(a.getLeft(a.currentSlide)):a.setFade(),a.$slider.trigger("setPosition",[a])},b.prototype.setProps=function(){var a=this,b=document.body.style;a.positionProp=a.options.vertical===!0?"top":"left","top"===a.positionProp?a.$slider.addClass("slick-vertical"):a.$slider.removeClass("slick-vertical"),(void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.msTransition)&&a.options.useCSS===!0&&(a.cssTransitions=!0),a.options.fade&&("number"==typeof a.options.zIndex?a.options.zIndex<3&&(a.options.zIndex=3):a.options.zIndex=a.defaults.zIndex),void 0!==b.OTransform&&(a.animType="OTransform",a.transformType="-o-transform",a.transitionType="OTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.MozTransform&&(a.animType="MozTransform",a.transformType="-moz-transform",a.transitionType="MozTransition",void 0===b.perspectiveProperty&&void 0===b.MozPerspective&&(a.animType=!1)),void 0!==b.webkitTransform&&(a.animType="webkitTransform",a.transformType="-webkit-transform",a.transitionType="webkitTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.msTransform&&(a.animType="msTransform",a.transformType="-ms-transform",a.transitionType="msTransition",void 0===b.msTransform&&(a.animType=!1)),void 0!==b.transform&&a.animType!==!1&&(a.animType="transform",a.transformType="transform",a.transitionType="transition"),a.transformsEnabled=a.options.useTransform&&null!==a.animType&&a.animType!==!1},b.prototype.setSlideClasses=function(a){var c,d,e,f,b=this;d=b.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),b.$slides.eq(a).addClass("slick-current"),b.options.centerMode===!0?(c=Math.floor(b.options.slidesToShow/2),b.options.infinite===!0&&(a>=c&&a<=b.slideCount-1-c?b.$slides.slice(a-c,a+c+1).addClass("slick-active").attr("aria-hidden","false"):(e=b.options.slidesToShow+a,
|
18 |
+
d.slice(e-c+1,e+c+2).addClass("slick-active").attr("aria-hidden","false")),0===a?d.eq(d.length-1-b.options.slidesToShow).addClass("slick-center"):a===b.slideCount-1&&d.eq(b.options.slidesToShow).addClass("slick-center")),b.$slides.eq(a).addClass("slick-center")):a>=0&&a<=b.slideCount-b.options.slidesToShow?b.$slides.slice(a,a+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):d.length<=b.options.slidesToShow?d.addClass("slick-active").attr("aria-hidden","false"):(f=b.slideCount%b.options.slidesToShow,e=b.options.infinite===!0?b.options.slidesToShow+a:a,b.options.slidesToShow==b.options.slidesToScroll&&b.slideCount-a<b.options.slidesToShow?d.slice(e-(b.options.slidesToShow-f),e+f).addClass("slick-active").attr("aria-hidden","false"):d.slice(e,e+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===b.options.lazyLoad&&b.lazyLoad()},b.prototype.setupInfinite=function(){var c,d,e,b=this;if(b.options.fade===!0&&(b.options.centerMode=!1),b.options.infinite===!0&&b.options.fade===!1&&(d=null,b.slideCount>b.options.slidesToShow)){for(e=b.options.centerMode===!0?b.options.slidesToShow+1:b.options.slidesToShow,c=b.slideCount;c>b.slideCount-e;c-=1)d=c-1,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d-b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned");for(c=0;e>c;c+=1)d=c,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d+b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned");b.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},b.prototype.interrupt=function(a){var b=this;a||b.autoPlay(),b.interrupted=a},b.prototype.selectHandler=function(b){var c=this,d=a(b.target).is(".slick-slide")?a(b.target):a(b.target).parents(".slick-slide"),e=parseInt(d.attr("data-slick-index"));return e||(e=0),c.slideCount<=c.options.slidesToShow?(c.setSlideClasses(e),void c.asNavFor(e)):void c.slideHandler(e)},b.prototype.slideHandler=function(a,b,c){var d,e,f,g,j,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitForAnimate===!0||i.options.fade===!0&&i.currentSlide===a||i.slideCount<=i.options.slidesToShow?void 0:(b===!1&&i.asNavFor(a),d=a,h=i.getLeft(d),g=i.getLeft(i.currentSlide),i.currentLeft=null===i.swipeLeft?g:i.swipeLeft,i.options.infinite===!1&&i.options.centerMode===!1&&(0>a||a>i.getDotCount()*i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):i.options.infinite===!1&&i.options.centerMode===!0&&(0>a||a>i.slideCount-i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):(i.options.autoplay&&clearInterval(i.autoPlayTimer),e=0>d?i.slideCount%i.options.slidesToScroll!==0?i.slideCount-i.slideCount%i.options.slidesToScroll:i.slideCount+d:d>=i.slideCount?i.slideCount%i.options.slidesToScroll!==0?0:d-i.slideCount:d,i.animating=!0,i.$slider.trigger("beforeChange",[i,i.currentSlide,e]),f=i.currentSlide,i.currentSlide=e,i.setSlideClasses(i.currentSlide),i.options.asNavFor&&(j=i.getNavTarget(),j=j.slick("getSlick"),j.slideCount<=j.options.slidesToShow&&j.setSlideClasses(i.currentSlide)),i.updateDots(),i.updateArrows(),i.options.fade===!0?(c!==!0?(i.fadeSlideOut(f),i.fadeSlide(e,function(){i.postSlide(e)})):i.postSlide(e),void i.animateHeight()):void(c!==!0?i.animateSlide(h,function(){i.postSlide(e)}):i.postSlide(e))))},b.prototype.startLoad=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.hide(),a.$nextArrow.hide()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.hide(),a.$slider.addClass("slick-loading")},b.prototype.swipeDirection=function(){var a,b,c,d,e=this;return a=e.touchObject.startX-e.touchObject.curX,b=e.touchObject.startY-e.touchObject.curY,c=Math.atan2(b,a),d=Math.round(180*c/Math.PI),0>d&&(d=360-Math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?"left":"right":360>=d&&d>=315?e.options.rtl===!1?"left":"right":d>=135&&225>=d?e.options.rtl===!1?"right":"left":e.options.verticalSwiping===!0?d>=35&&135>=d?"down":"up":"vertical"},b.prototype.swipeEnd=function(a){var c,d,b=this;if(b.dragging=!1,b.interrupted=!1,b.shouldClick=b.touchObject.swipeLength>10?!1:!0,void 0===b.touchObject.curX)return!1;if(b.touchObject.edgeHit===!0&&b.$slider.trigger("edge",[b,b.swipeDirection()]),b.touchObject.swipeLength>=b.touchObject.minSwipe){switch(d=b.swipeDirection()){case"left":case"down":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide+b.getSlideCount()):b.currentSlide+b.getSlideCount(),b.currentDirection=0;break;case"right":case"up":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide-b.getSlideCount()):b.currentSlide-b.getSlideCount(),b.currentDirection=1}"vertical"!=d&&(b.slideHandler(c),b.touchObject={},b.$slider.trigger("swipe",[b,d]))}else b.touchObject.startX!==b.touchObject.curX&&(b.slideHandler(b.currentSlide),b.touchObject={})},b.prototype.swipeHandler=function(a){var b=this;if(!(b.options.swipe===!1||"ontouchend"in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexOf("mouse")))switch(b.touchObject.fingerCount=a.originalEvent&&void 0!==a.originalEvent.touches?a.originalEvent.touches.length:1,b.touchObject.minSwipe=b.listWidth/b.options.touchThreshold,b.options.verticalSwiping===!0&&(b.touchObject.minSwipe=b.listHeight/b.options.touchThreshold),a.data.action){case"start":b.swipeStart(a);break;case"move":b.swipeMove(a);break;case"end":b.swipeEnd(a)}},b.prototype.swipeMove=function(a){var d,e,f,g,h,b=this;return h=void 0!==a.originalEvent?a.originalEvent.touches:null,!b.dragging||h&&1!==h.length?!1:(d=b.getLeft(b.currentSlide),b.touchObject.curX=void 0!==h?h[0].pageX:a.clientX,b.touchObject.curY=void 0!==h?h[0].pageY:a.clientY,b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curX-b.touchObject.startX,2))),b.options.verticalSwiping===!0&&(b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curY-b.touchObject.startY,2)))),e=b.swipeDirection(),"vertical"!==e?(void 0!==a.originalEvent&&b.touchObject.swipeLength>4&&a.preventDefault(),g=(b.options.rtl===!1?1:-1)*(b.touchObject.curX>b.touchObject.startX?1:-1),b.options.verticalSwiping===!0&&(g=b.touchObject.curY>b.touchObject.startY?1:-1),f=b.touchObject.swipeLength,b.touchObject.edgeHit=!1,b.options.infinite===!1&&(0===b.currentSlide&&"right"===e||b.currentSlide>=b.getDotCount()&&"left"===e)&&(f=b.touchObject.swipeLength*b.options.edgeFriction,b.touchObject.edgeHit=!0),b.options.vertical===!1?b.swipeLeft=d+f*g:b.swipeLeft=d+f*(b.$list.height()/b.listWidth)*g,b.options.verticalSwiping===!0&&(b.swipeLeft=d+f*g),b.options.fade===!0||b.options.touchMove===!1?!1:b.animating===!0?(b.swipeLeft=null,!1):void b.setCSS(b.swipeLeft)):void 0)},b.prototype.swipeStart=function(a){var c,b=this;return b.interrupted=!0,1!==b.touchObject.fingerCount||b.slideCount<=b.options.slidesToShow?(b.touchObject={},!1):(void 0!==a.originalEvent&&void 0!==a.originalEvent.touches&&(c=a.originalEvent.touches[0]),b.touchObject.startX=b.touchObject.curX=void 0!==c?c.pageX:a.clientX,b.touchObject.startY=b.touchObject.curY=void 0!==c?c.pageY:a.clientY,void(b.dragging=!0))},b.prototype.unfilterSlides=b.prototype.slickUnfilter=function(){var a=this;null!==a.$slidesCache&&(a.unload(),a.$slideTrack.children(this.options.slide).detach(),a.$slidesCache.appendTo(a.$slideTrack),a.reinit())},b.prototype.unload=function(){var b=this;a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.remove(),b.$nextArrow&&b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.remove(),b.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},b.prototype.unslick=function(a){var b=this;b.$slider.trigger("unslick",[b,a]),b.destroy()},b.prototype.updateArrows=function(){var b,a=this;b=Math.floor(a.options.slidesToShow/2),a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&!a.options.infinite&&(a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===a.currentSlide?(a.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-a.options.slidesToShow&&a.options.centerMode===!1?(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-1&&a.options.centerMode===!0&&(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},b.prototype.updateDots=function(){var a=this;null!==a.$dots&&(a.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),a.$dots.find("li").eq(Math.floor(a.currentSlide/a.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},b.prototype.visibility=function(){var a=this;a.options.autoplay&&(document[a.hidden]?a.interrupted=!0:a.interrupted=!1)},a.fn.slick=function(){var f,g,a=this,c=arguments[0],d=Array.prototype.slice.call(arguments,1),e=a.length;for(f=0;e>f;f++)if("object"==typeof c||"undefined"==typeof c?a[f].slick=new b(a[f],c):g=a[f].slick[c].apply(a[f].slick,d),"undefined"!=typeof g)return g;return a}});
|
inc/owl-carousel/AjaxLoader.gif
DELETED
Binary file
|
inc/owl-carousel/grabbing.png
DELETED
Binary file
|
inc/owl-carousel/owl.carousel.css
DELETED
@@ -1,73 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Core Owl Carousel CSS File
|
3 |
-
* v1.3.3
|
4 |
-
*/
|
5 |
-
|
6 |
-
/* clearfix */
|
7 |
-
.owl-carousel .owl-wrapper:after {
|
8 |
-
content: ".";
|
9 |
-
display: block;
|
10 |
-
clear: both;
|
11 |
-
visibility: hidden;
|
12 |
-
line-height: 0;
|
13 |
-
height: 0;
|
14 |
-
}
|
15 |
-
/* display none until init */
|
16 |
-
.owl-carousel{
|
17 |
-
display: none;
|
18 |
-
position: relative;
|
19 |
-
width: 100%;
|
20 |
-
-ms-touch-action: pan-y;
|
21 |
-
}
|
22 |
-
.owl-carousel .owl-wrapper{
|
23 |
-
display: none;
|
24 |
-
position: relative;
|
25 |
-
-webkit-transform: translate3d(0px, 0px, 0px);
|
26 |
-
}
|
27 |
-
.owl-carousel .owl-wrapper-outer{
|
28 |
-
overflow: hidden;
|
29 |
-
position: relative;
|
30 |
-
width: 100%;
|
31 |
-
}
|
32 |
-
.owl-carousel .owl-wrapper-outer.autoHeight{
|
33 |
-
-webkit-transition: height 500ms ease-in-out;
|
34 |
-
-moz-transition: height 500ms ease-in-out;
|
35 |
-
-ms-transition: height 500ms ease-in-out;
|
36 |
-
-o-transition: height 500ms ease-in-out;
|
37 |
-
transition: height 500ms ease-in-out;
|
38 |
-
}
|
39 |
-
|
40 |
-
.owl-carousel .owl-item{
|
41 |
-
float: left;
|
42 |
-
}
|
43 |
-
.owl-controls .owl-page,
|
44 |
-
.owl-controls .owl-buttons div{
|
45 |
-
cursor: pointer;
|
46 |
-
}
|
47 |
-
.owl-controls {
|
48 |
-
-webkit-user-select: none;
|
49 |
-
-khtml-user-select: none;
|
50 |
-
-moz-user-select: none;
|
51 |
-
-ms-user-select: none;
|
52 |
-
user-select: none;
|
53 |
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
54 |
-
}
|
55 |
-
|
56 |
-
/* mouse grab icon */
|
57 |
-
.grabbing {
|
58 |
-
cursor:url(grabbing.png) 8 8, move;
|
59 |
-
}
|
60 |
-
|
61 |
-
/* fix */
|
62 |
-
.owl-carousel .owl-wrapper,
|
63 |
-
.owl-carousel .owl-item{
|
64 |
-
-webkit-backface-visibility: hidden;
|
65 |
-
-moz-backface-visibility: hidden;
|
66 |
-
-ms-backface-visibility: hidden;
|
67 |
-
-webkit-transform: translate3d(0,0,0);
|
68 |
-
-moz-transform: translate3d(0,0,0);
|
69 |
-
-ms-transform: translate3d(0,0,0);
|
70 |
-
}
|
71 |
-
|
72 |
-
|
73 |
-
.single_wcf_item {margin:10px;overflow:hidden}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/owl-carousel/owl.carousel.min.js
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
"function"!==typeof Object.create&&(Object.create=function(f){function g(){}g.prototype=f;return new g});
|
2 |
-
(function(f,g,k){var l={init:function(a,b){this.$elem=f(b);this.options=f.extend({},f.fn.owlCarousel.options,this.$elem.data(),a);this.userOptions=a;this.loadContent()},loadContent:function(){function a(a){var d,e="";if("function"===typeof b.options.jsonSuccess)b.options.jsonSuccess.apply(this,[a]);else{for(d in a.owl)a.owl.hasOwnProperty(d)&&(e+=a.owl[d].item);b.$elem.html(e)}b.logIn()}var b=this,e;"function"===typeof b.options.beforeInit&&b.options.beforeInit.apply(this,[b.$elem]);"string"===typeof b.options.jsonPath?
|
3 |
-
(e=b.options.jsonPath,f.getJSON(e,a)):b.logIn()},logIn:function(){this.$elem.data("owl-originalStyles",this.$elem.attr("style"));this.$elem.data("owl-originalClasses",this.$elem.attr("class"));this.$elem.css({opacity:0});this.orignalItems=this.options.items;this.checkBrowser();this.wrapperWidth=0;this.checkVisible=null;this.setVars()},setVars:function(){if(0===this.$elem.children().length)return!1;this.baseClass();this.eventTypes();this.$userItems=this.$elem.children();this.itemsAmount=this.$userItems.length;
|
4 |
-
this.wrapItems();this.$owlItems=this.$elem.find(".owl-item");this.$owlWrapper=this.$elem.find(".owl-wrapper");this.playDirection="next";this.prevItem=0;this.prevArr=[0];this.currentItem=0;this.customEvents();this.onStartup()},onStartup:function(){this.updateItems();this.calculateAll();this.buildControls();this.updateControls();this.response();this.moveEvents();this.stopOnHover();this.owlStatus();!1!==this.options.transitionStyle&&this.transitionTypes(this.options.transitionStyle);!0===this.options.autoPlay&&
|
5 |
-
(this.options.autoPlay=5E3);this.play();this.$elem.find(".owl-wrapper").css("display","block");this.$elem.is(":visible")?this.$elem.css("opacity",1):this.watchVisibility();this.onstartup=!1;this.eachMoveUpdate();"function"===typeof this.options.afterInit&&this.options.afterInit.apply(this,[this.$elem])},eachMoveUpdate:function(){!0===this.options.lazyLoad&&this.lazyLoad();!0===this.options.autoHeight&&this.autoHeight();this.onVisibleItems();"function"===typeof this.options.afterAction&&this.options.afterAction.apply(this,
|
6 |
-
[this.$elem])},updateVars:function(){"function"===typeof this.options.beforeUpdate&&this.options.beforeUpdate.apply(this,[this.$elem]);this.watchVisibility();this.updateItems();this.calculateAll();this.updatePosition();this.updateControls();this.eachMoveUpdate();"function"===typeof this.options.afterUpdate&&this.options.afterUpdate.apply(this,[this.$elem])},reload:function(){var a=this;g.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;if(!1===a.$elem.is(":visible"))a.$elem.css({opacity:0}),
|
7 |
-
g.clearInterval(a.autoPlayInterval),g.clearInterval(a.checkVisible);else return!1;a.checkVisible=g.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),g.clearInterval(a.checkVisible))},500)},wrapItems:function(){this.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>');this.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');this.wrapperOuter=this.$elem.find(".owl-wrapper-outer");this.$elem.css("display","block")},
|
8 |
-
baseClass:function(){var a=this.$elem.hasClass(this.options.baseClass),b=this.$elem.hasClass(this.options.theme);a||this.$elem.addClass(this.options.baseClass);b||this.$elem.addClass(this.options.theme)},updateItems:function(){var a,b;if(!1===this.options.responsive)return!1;if(!0===this.options.singleItem)return this.options.items=this.orignalItems=1,this.options.itemsCustom=!1,this.options.itemsDesktop=!1,this.options.itemsDesktopSmall=!1,this.options.itemsTablet=!1,this.options.itemsTabletSmall=
|
9 |
-
!1,this.options.itemsMobile=!1;a=f(this.options.responsiveBaseWidth).width();a>(this.options.itemsDesktop[0]||this.orignalItems)&&(this.options.items=this.orignalItems);if(!1!==this.options.itemsCustom)for(this.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),b=0;b<this.options.itemsCustom.length;b+=1)this.options.itemsCustom[b][0]<=a&&(this.options.items=this.options.itemsCustom[b][1]);else a<=this.options.itemsDesktop[0]&&!1!==this.options.itemsDesktop&&(this.options.items=this.options.itemsDesktop[1]),
|
10 |
-
a<=this.options.itemsDesktopSmall[0]&&!1!==this.options.itemsDesktopSmall&&(this.options.items=this.options.itemsDesktopSmall[1]),a<=this.options.itemsTablet[0]&&!1!==this.options.itemsTablet&&(this.options.items=this.options.itemsTablet[1]),a<=this.options.itemsTabletSmall[0]&&!1!==this.options.itemsTabletSmall&&(this.options.items=this.options.itemsTabletSmall[1]),a<=this.options.itemsMobile[0]&&!1!==this.options.itemsMobile&&(this.options.items=this.options.itemsMobile[1]);this.options.items>this.itemsAmount&&
|
11 |
-
!0===this.options.itemsScaleUp&&(this.options.items=this.itemsAmount)},response:function(){var a=this,b,e;if(!0!==a.options.responsive)return!1;e=f(g).width();a.resizer=function(){f(g).width()!==e&&(!1!==a.options.autoPlay&&g.clearInterval(a.autoPlayInterval),g.clearTimeout(b),b=g.setTimeout(function(){e=f(g).width();a.updateVars()},a.options.responsiveRefreshRate))};f(g).resize(a.resizer)},updatePosition:function(){this.jumpTo(this.currentItem);!1!==this.options.autoPlay&&this.checkAp()},appendItemsSizes:function(){var a=
|
12 |
-
this,b=0,e=a.itemsAmount-a.options.items;a.$owlItems.each(function(c){var d=f(this);d.css({width:a.itemWidth}).data("owl-item",Number(c));if(0===c%a.options.items||c===e)c>e||(b+=1);d.data("owl-roundPages",b)})},appendWrapperSizes:function(){this.$owlWrapper.css({width:this.$owlItems.length*this.itemWidth*2,left:0});this.appendItemsSizes()},calculateAll:function(){this.calculateWidth();this.appendWrapperSizes();this.loops();this.max()},calculateWidth:function(){this.itemWidth=Math.round(this.$elem.width()/
|
13 |
-
this.options.items)},max:function(){var a=-1*(this.itemsAmount*this.itemWidth-this.options.items*this.itemWidth);this.options.items>this.itemsAmount?this.maximumPixels=a=this.maximumItem=0:(this.maximumItem=this.itemsAmount-this.options.items,this.maximumPixels=a);return a},min:function(){return 0},loops:function(){var a=0,b=0,e,c;this.positionsInArray=[0];this.pagesInArray=[];for(e=0;e<this.itemsAmount;e+=1)b+=this.itemWidth,this.positionsInArray.push(-b),!0===this.options.scrollPerPage&&(c=f(this.$owlItems[e]),
|
14 |
-
c=c.data("owl-roundPages"),c!==a&&(this.pagesInArray[a]=this.positionsInArray[e],a=c))},buildControls:function(){if(!0===this.options.navigation||!0===this.options.pagination)this.owlControls=f('<div class="owl-controls"/>').toggleClass("clickable",!this.browser.isTouch).appendTo(this.$elem);!0===this.options.pagination&&this.buildPagination();!0===this.options.navigation&&this.buildButtons()},buildButtons:function(){var a=this,b=f('<div class="owl-buttons"/>');a.owlControls.append(b);a.buttonPrev=
|
15 |
-
f("<div/>",{"class":"owl-prev",html:a.options.navigationText[0]||""});a.buttonNext=f("<div/>",{"class":"owl-next",html:a.options.navigationText[1]||""});b.append(a.buttonPrev).append(a.buttonNext);b.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()});b.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(b){b.preventDefault();f(this).hasClass("owl-next")?a.next():a.prev()})},buildPagination:function(){var a=this;a.paginationWrapper=
|
16 |
-
f('<div class="owl-pagination"/>');a.owlControls.append(a.paginationWrapper);a.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(b){b.preventDefault();Number(f(this).data("owl-page"))!==a.currentItem&&a.goTo(Number(f(this).data("owl-page")),!0)})},updatePagination:function(){var a,b,e,c,d,g;if(!1===this.options.pagination)return!1;this.paginationWrapper.html("");a=0;b=this.itemsAmount-this.itemsAmount%this.options.items;for(c=0;c<this.itemsAmount;c+=1)0===c%this.options.items&&
|
17 |
-
(a+=1,b===c&&(e=this.itemsAmount-this.options.items),d=f("<div/>",{"class":"owl-page"}),g=f("<span></span>",{text:!0===this.options.paginationNumbers?a:"","class":!0===this.options.paginationNumbers?"owl-numbers":""}),d.append(g),d.data("owl-page",b===c?e:c),d.data("owl-roundPages",a),this.paginationWrapper.append(d));this.checkPagination()},checkPagination:function(){var a=this;if(!1===a.options.pagination)return!1;a.paginationWrapper.find(".owl-page").each(function(){f(this).data("owl-roundPages")===
|
18 |
-
f(a.$owlItems[a.currentItem]).data("owl-roundPages")&&(a.paginationWrapper.find(".owl-page").removeClass("active"),f(this).addClass("active"))})},checkNavigation:function(){if(!1===this.options.navigation)return!1;!1===this.options.rewindNav&&(0===this.currentItem&&0===this.maximumItem?(this.buttonPrev.addClass("disabled"),this.buttonNext.addClass("disabled")):0===this.currentItem&&0!==this.maximumItem?(this.buttonPrev.addClass("disabled"),this.buttonNext.removeClass("disabled")):this.currentItem===
|
19 |
-
this.maximumItem?(this.buttonPrev.removeClass("disabled"),this.buttonNext.addClass("disabled")):0!==this.currentItem&&this.currentItem!==this.maximumItem&&(this.buttonPrev.removeClass("disabled"),this.buttonNext.removeClass("disabled")))},updateControls:function(){this.updatePagination();this.checkNavigation();this.owlControls&&(this.options.items>=this.itemsAmount?this.owlControls.hide():this.owlControls.show())},destroyControls:function(){this.owlControls&&this.owlControls.remove()},next:function(a){if(this.isTransition)return!1;
|
20 |
-
this.currentItem+=!0===this.options.scrollPerPage?this.options.items:1;if(this.currentItem>this.maximumItem+(!0===this.options.scrollPerPage?this.options.items-1:0))if(!0===this.options.rewindNav)this.currentItem=0,a="rewind";else return this.currentItem=this.maximumItem,!1;this.goTo(this.currentItem,a)},prev:function(a){if(this.isTransition)return!1;this.currentItem=!0===this.options.scrollPerPage&&0<this.currentItem&&this.currentItem<this.options.items?0:this.currentItem-(!0===this.options.scrollPerPage?
|
21 |
-
this.options.items:1);if(0>this.currentItem)if(!0===this.options.rewindNav)this.currentItem=this.maximumItem,a="rewind";else return this.currentItem=0,!1;this.goTo(this.currentItem,a)},goTo:function(a,b,e){var c=this;if(c.isTransition)return!1;"function"===typeof c.options.beforeMove&&c.options.beforeMove.apply(this,[c.$elem]);a>=c.maximumItem?a=c.maximumItem:0>=a&&(a=0);c.currentItem=c.owl.currentItem=a;if(!1!==c.options.transitionStyle&&"drag"!==e&&1===c.options.items&&!0===c.browser.support3d)return c.swapSpeed(0),
|
22 |
-
!0===c.browser.support3d?c.transition3d(c.positionsInArray[a]):c.css2slide(c.positionsInArray[a],1),c.afterGo(),c.singleItemTransition(),!1;a=c.positionsInArray[a];!0===c.browser.support3d?(c.isCss3Finish=!1,!0===b?(c.swapSpeed("paginationSpeed"),g.setTimeout(function(){c.isCss3Finish=!0},c.options.paginationSpeed)):"rewind"===b?(c.swapSpeed(c.options.rewindSpeed),g.setTimeout(function(){c.isCss3Finish=!0},c.options.rewindSpeed)):(c.swapSpeed("slideSpeed"),g.setTimeout(function(){c.isCss3Finish=!0},
|
23 |
-
c.options.slideSpeed)),c.transition3d(a)):!0===b?c.css2slide(a,c.options.paginationSpeed):"rewind"===b?c.css2slide(a,c.options.rewindSpeed):c.css2slide(a,c.options.slideSpeed);c.afterGo()},jumpTo:function(a){"function"===typeof this.options.beforeMove&&this.options.beforeMove.apply(this,[this.$elem]);a>=this.maximumItem||-1===a?a=this.maximumItem:0>=a&&(a=0);this.swapSpeed(0);!0===this.browser.support3d?this.transition3d(this.positionsInArray[a]):this.css2slide(this.positionsInArray[a],1);this.currentItem=
|
24 |
-
this.owl.currentItem=a;this.afterGo()},afterGo:function(){this.prevArr.push(this.currentItem);this.prevItem=this.owl.prevItem=this.prevArr[this.prevArr.length-2];this.prevArr.shift(0);this.prevItem!==this.currentItem&&(this.checkPagination(),this.checkNavigation(),this.eachMoveUpdate(),!1!==this.options.autoPlay&&this.checkAp());"function"===typeof this.options.afterMove&&this.prevItem!==this.currentItem&&this.options.afterMove.apply(this,[this.$elem])},stop:function(){this.apStatus="stop";g.clearInterval(this.autoPlayInterval)},
|
25 |
-
checkAp:function(){"stop"!==this.apStatus&&this.play()},play:function(){var a=this;a.apStatus="play";if(!1===a.options.autoPlay)return!1;g.clearInterval(a.autoPlayInterval);a.autoPlayInterval=g.setInterval(function(){a.next(!0)},a.options.autoPlay)},swapSpeed:function(a){"slideSpeed"===a?this.$owlWrapper.css(this.addCssSpeed(this.options.slideSpeed)):"paginationSpeed"===a?this.$owlWrapper.css(this.addCssSpeed(this.options.paginationSpeed)):"string"!==typeof a&&this.$owlWrapper.css(this.addCssSpeed(a))},
|
26 |
-
addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+
|
27 |
-
a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){this.$owlWrapper.css(this.doTranslate(a))},css2move:function(a){this.$owlWrapper.css({left:a})},css2slide:function(a,b){var e=this;e.isCssFinish=!1;e.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||e.options.slideSpeed,complete:function(){e.isCssFinish=!0}})},checkBrowser:function(){var a=k.createElement("div");a.style.cssText=" -moz-transform:translate3d(0px, 0px, 0px); -ms-transform:translate3d(0px, 0px, 0px); -o-transform:translate3d(0px, 0px, 0px); -webkit-transform:translate3d(0px, 0px, 0px); transform:translate3d(0px, 0px, 0px)";
|
28 |
-
a=a.style.cssText.match(/translate3d\(0px, 0px, 0px\)/g);this.browser={support3d:null!==a&&1===a.length,isTouch:"ontouchstart"in g||g.navigator.msMaxTouchPoints}},moveEvents:function(){if(!1!==this.options.mouseDrag||!1!==this.options.touchDrag)this.gestures(),this.disabledEvents()},eventTypes:function(){var a=["s","e","x"];this.ev_types={};!0===this.options.mouseDrag&&!0===this.options.touchDrag?a=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:
|
29 |
-
!1===this.options.mouseDrag&&!0===this.options.touchDrag?a=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:!0===this.options.mouseDrag&&!1===this.options.touchDrag&&(a=["mousedown.owl","mousemove.owl","mouseup.owl"]);this.ev_types.start=a[0];this.ev_types.move=a[1];this.ev_types.end=a[2]},disabledEvents:function(){this.$elem.on("dragstart.owl",function(a){a.preventDefault()});this.$elem.on("mousedown.disableTextSelect",function(a){return f(a.target).is("input, textarea, select, option")})},
|
30 |
-
gestures:function(){function a(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function b(a){"on"===a?(f(k).on(d.ev_types.move,e),f(k).on(d.ev_types.end,c)):"off"===a&&(f(k).off(d.ev_types.move),f(k).off(d.ev_types.end))}function e(b){b=b.originalEvent||b||g.event;d.newPosX=a(b).x-h.offsetX;d.newPosY=a(b).y-h.offsetY;d.newRelativeX=d.newPosX-h.relativePos;
|
31 |
-
"function"===typeof d.options.startDragging&&!0!==h.dragging&&0!==d.newRelativeX&&(h.dragging=!0,d.options.startDragging.apply(d,[d.$elem]));(8<d.newRelativeX||-8>d.newRelativeX)&&!0===d.browser.isTouch&&(void 0!==b.preventDefault?b.preventDefault():b.returnValue=!1,h.sliding=!0);(10<d.newPosY||-10>d.newPosY)&&!1===h.sliding&&f(k).off("touchmove.owl");d.newPosX=Math.max(Math.min(d.newPosX,d.newRelativeX/5),d.maximumPixels+d.newRelativeX/5);!0===d.browser.support3d?d.transition3d(d.newPosX):d.css2move(d.newPosX)}
|
32 |
-
function c(a){a=a.originalEvent||a||g.event;var c;a.target=a.target||a.srcElement;h.dragging=!1;!0!==d.browser.isTouch&&d.$owlWrapper.removeClass("grabbing");d.dragDirection=0>d.newRelativeX?d.owl.dragDirection="left":d.owl.dragDirection="right";0!==d.newRelativeX&&(c=d.getNewPosition(),d.goTo(c,!1,"drag"),h.targetElement===a.target&&!0!==d.browser.isTouch&&(f(a.target).on("click.disable",function(a){a.stopImmediatePropagation();a.stopPropagation();a.preventDefault();f(a.target).off("click.disable")}),
|
33 |
-
a=f._data(a.target,"events").click,c=a.pop(),a.splice(0,0,c)));b("off")}var d=this,h={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};d.isCssFinish=!0;d.$elem.on(d.ev_types.start,".owl-wrapper",function(c){c=c.originalEvent||c||g.event;var e;if(3===c.which)return!1;if(!(d.itemsAmount<=d.options.items)){if(!1===d.isCssFinish&&!d.options.dragBeforeAnimFinish||!1===d.isCss3Finish&&!d.options.dragBeforeAnimFinish)return!1;
|
34 |
-
!1!==d.options.autoPlay&&g.clearInterval(d.autoPlayInterval);!0===d.browser.isTouch||d.$owlWrapper.hasClass("grabbing")||d.$owlWrapper.addClass("grabbing");d.newPosX=0;d.newRelativeX=0;f(this).css(d.removeTransition());e=f(this).position();h.relativePos=e.left;h.offsetX=a(c).x-e.left;h.offsetY=a(c).y-e.top;b("on");h.sliding=!1;h.targetElement=c.target||c.srcElement}})},getNewPosition:function(){var a=this.closestItem();a>this.maximumItem?a=this.currentItem=this.maximumItem:0<=this.newPosX&&(this.currentItem=
|
35 |
-
a=0);return a},closestItem:function(){var a=this,b=!0===a.options.scrollPerPage?a.pagesInArray:a.positionsInArray,e=a.newPosX,c=null;f.each(b,function(d,g){e-a.itemWidth/20>b[d+1]&&e-a.itemWidth/20<g&&"left"===a.moveDirection()?(c=g,a.currentItem=!0===a.options.scrollPerPage?f.inArray(c,a.positionsInArray):d):e+a.itemWidth/20<g&&e+a.itemWidth/20>(b[d+1]||b[d]-a.itemWidth)&&"right"===a.moveDirection()&&(!0===a.options.scrollPerPage?(c=b[d+1]||b[b.length-1],a.currentItem=f.inArray(c,a.positionsInArray)):
|
36 |
-
(c=b[d+1],a.currentItem=d+1))});return a.currentItem},moveDirection:function(){var a;0>this.newRelativeX?(a="right",this.playDirection="next"):(a="left",this.playDirection="prev");return a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()});a.$elem.on("owl.prev",function(){a.prev()});a.$elem.on("owl.play",function(b,e){a.options.autoPlay=e;a.play();a.hoverStatus="play"});a.$elem.on("owl.stop",function(){a.stop();a.hoverStatus="stop"});a.$elem.on("owl.goTo",function(b,e){a.goTo(e)});
|
37 |
-
a.$elem.on("owl.jumpTo",function(b,e){a.jumpTo(e)})},stopOnHover:function(){var a=this;!0===a.options.stopOnHover&&!0!==a.browser.isTouch&&!1!==a.options.autoPlay&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var a,b,e,c,d;if(!1===this.options.lazyLoad)return!1;for(a=0;a<this.itemsAmount;a+=1)b=f(this.$owlItems[a]),"loaded"!==b.data("owl-loaded")&&(e=b.data("owl-item"),c=b.find(".lazyOwl"),"string"!==typeof c.data("src")?
|
38 |
-
b.data("owl-loaded","loaded"):(void 0===b.data("owl-loaded")&&(c.hide(),b.addClass("loading").data("owl-loaded","checked")),(d=!0===this.options.lazyFollow?e>=this.currentItem:!0)&&e<this.currentItem+this.options.items&&c.length&&this.lazyPreload(b,c)))},lazyPreload:function(a,b){function e(){a.data("owl-loaded","loaded").removeClass("loading");b.removeAttr("data-src");"fade"===d.options.lazyEffect?b.fadeIn(400):b.show();"function"===typeof d.options.afterLazyLoad&&d.options.afterLazyLoad.apply(this,
|
39 |
-
[d.$elem])}function c(){f+=1;d.completeImg(b.get(0))||!0===k?e():100>=f?g.setTimeout(c,100):e()}var d=this,f=0,k;"DIV"===b.prop("tagName")?(b.css("background-image","url("+b.data("src")+")"),k=!0):b[0].src=b.data("src");c()},autoHeight:function(){function a(){var a=f(e.$owlItems[e.currentItem]).height();e.wrapperOuter.css("height",a+"px");e.wrapperOuter.hasClass("autoHeight")||g.setTimeout(function(){e.wrapperOuter.addClass("autoHeight")},0)}function b(){d+=1;e.completeImg(c.get(0))?a():100>=d?g.setTimeout(b,
|
40 |
-
100):e.wrapperOuter.css("height","")}var e=this,c=f(e.$owlItems[e.currentItem]).find("img"),d;void 0!==c.get(0)?(d=0,b()):a()},completeImg:function(a){return!a.complete||"undefined"!==typeof a.naturalWidth&&0===a.naturalWidth?!1:!0},onVisibleItems:function(){var a;!0===this.options.addClassActive&&this.$owlItems.removeClass("active");this.visibleItems=[];for(a=this.currentItem;a<this.currentItem+this.options.items;a+=1)this.visibleItems.push(a),!0===this.options.addClassActive&&f(this.$owlItems[a]).addClass("active");
|
41 |
-
this.owl.visibleItems=this.visibleItems},transitionTypes:function(a){this.outClass="owl-"+a+"-out";this.inClass="owl-"+a+"-in"},singleItemTransition:function(){var a=this,b=a.outClass,e=a.inClass,c=a.$owlItems.eq(a.currentItem),d=a.$owlItems.eq(a.prevItem),f=Math.abs(a.positionsInArray[a.currentItem])+a.positionsInArray[a.prevItem],g=Math.abs(a.positionsInArray[a.currentItem])+a.itemWidth/2;a.isTransition=!0;a.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":g+"px","-moz-perspective-origin":g+
|
42 |
-
"px","perspective-origin":g+"px"});d.css({position:"relative",left:f+"px"}).addClass(b).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend",function(){a.endPrev=!0;d.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend");a.clearTransStyle(d,b)});c.addClass(e).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend",function(){a.endCurrent=!0;c.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend");a.clearTransStyle(c,e)})},clearTransStyle:function(a,
|
43 |
-
b){a.css({position:"",left:""}).removeClass(b);this.endPrev&&this.endCurrent&&(this.$owlWrapper.removeClass("owl-origin"),this.isTransition=this.endCurrent=this.endPrev=!1)},owlStatus:function(){this.owl={userOptions:this.userOptions,baseElement:this.$elem,userItems:this.$userItems,owlItems:this.$owlItems,currentItem:this.currentItem,prevItem:this.prevItem,visibleItems:this.visibleItems,isTouch:this.browser.isTouch,browser:this.browser,dragDirection:this.dragDirection}},clearEvents:function(){this.$elem.off(".owl owl mousedown.disableTextSelect");
|
44 |
-
f(k).off(".owl owl");f(g).off("resize",this.resizer)},unWrap:function(){0!==this.$elem.children().length&&(this.$owlWrapper.unwrap(),this.$userItems.unwrap().unwrap(),this.owlControls&&this.owlControls.remove());this.clearEvents();this.$elem.attr("style",this.$elem.data("owl-originalStyles")||"").attr("class",this.$elem.data("owl-originalClasses"))},destroy:function(){this.stop();g.clearInterval(this.checkVisible);this.unWrap();this.$elem.removeData()},reinit:function(a){a=f.extend({},this.userOptions,
|
45 |
-
a);this.unWrap();this.init(a,this.$elem)},addItem:function(a,b){var e;if(!a)return!1;if(0===this.$elem.children().length)return this.$elem.append(a),this.setVars(),!1;this.unWrap();e=void 0===b||-1===b?-1:b;e>=this.$userItems.length||-1===e?this.$userItems.eq(-1).after(a):this.$userItems.eq(e).before(a);this.setVars()},removeItem:function(a){if(0===this.$elem.children().length)return!1;a=void 0===a||-1===a?-1:a;this.unWrap();this.$userItems.eq(a).remove();this.setVars()}};f.fn.owlCarousel=function(a){return this.each(function(){if(!0===
|
46 |
-
f(this).data("owl-init"))return!1;f(this).data("owl-init",!0);var b=Object.create(l);b.init(a,this);f.data(this,"owlCarousel",b)})};f.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1E3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,
|
47 |
-
responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:g,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}})(jQuery,window,document);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/owl-carousel/owl.theme.css
DELETED
@@ -1,86 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Owl Carousel Owl Demo Theme
|
3 |
-
* v1.3.3
|
4 |
-
*/
|
5 |
-
.wordpress-carousel-free-section {width:95%;margin:0 2.5%}
|
6 |
-
.wordpress-carousel-free-section .owl-controls{
|
7 |
-
text-align: center;
|
8 |
-
}
|
9 |
-
|
10 |
-
|
11 |
-
.wordpress-carousel-free-section .owl-controls .owl-buttons {
|
12 |
-
font-size: 25px;
|
13 |
-
left: 0;
|
14 |
-
position: absolute;
|
15 |
-
top: 50%;
|
16 |
-
width: 100%;
|
17 |
-
margin-top:-35px;
|
18 |
-
}
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
/* Styling Next and Prev buttons */
|
23 |
-
|
24 |
-
.wordpress-carousel-free-section .owl-controls .owl-buttons div{
|
25 |
-
display: inline-block;
|
26 |
-
zoom: 1;
|
27 |
-
color:#666;
|
28 |
-
*display: inline;/*IE7 life-saver */
|
29 |
-
position:absolute;top:0;opacity:.6;
|
30 |
-
}
|
31 |
-
|
32 |
-
.wordpress-carousel-free-section .owl-controls .owl-buttons div.owl-prev {left:-15px}
|
33 |
-
.wordpress-carousel-free-section .owl-controls .owl-buttons div.owl-next {right:-15px}
|
34 |
-
|
35 |
-
/* Clickable class fix problem with hover on touch devices */
|
36 |
-
/* Use it for non-touch hover action */
|
37 |
-
.wordpress-carousel-free-section .owl-controls.clickable .owl-buttons div:hover{
|
38 |
-
filter: Alpha(Opacity=100);/*IE7 fix*/
|
39 |
-
opacity: 1;
|
40 |
-
text-decoration: none;
|
41 |
-
}
|
42 |
-
|
43 |
-
/* Styling Pagination*/
|
44 |
-
|
45 |
-
.wordpress-carousel-free-section .owl-controls .owl-page{
|
46 |
-
display: inline-block;
|
47 |
-
zoom: 1;
|
48 |
-
*display: inline;/*IE7 life-saver */
|
49 |
-
}
|
50 |
-
.wordpress-carousel-free-section .owl-controls .owl-page span{
|
51 |
-
display: block;
|
52 |
-
width: 12px;
|
53 |
-
height: 12px;
|
54 |
-
margin: 5px 7px;
|
55 |
-
filter: Alpha(Opacity=50);/*IE7 fix*/
|
56 |
-
opacity: 0.5;
|
57 |
-
-webkit-border-radius: 20px;
|
58 |
-
-moz-border-radius: 20px;
|
59 |
-
border-radius: 20px;
|
60 |
-
background:#666;
|
61 |
-
}
|
62 |
-
|
63 |
-
.wordpress-carousel-free-section .owl-controls .owl-page.active span,
|
64 |
-
.wordpress-carousel-free-section .owl-controls.clickable .owl-page:hover span{
|
65 |
-
filter: Alpha(Opacity=100);/*IE7 fix*/
|
66 |
-
opacity: 1;
|
67 |
-
}
|
68 |
-
|
69 |
-
/* If PaginationNumbers is true */
|
70 |
-
|
71 |
-
.wordpress-carousel-free-section .owl-controls .owl-page span.owl-numbers{
|
72 |
-
height: auto;
|
73 |
-
width: auto;
|
74 |
-
color: #FFF;
|
75 |
-
padding: 2px 10px;
|
76 |
-
font-size: 12px;
|
77 |
-
-webkit-border-radius: 30px;
|
78 |
-
-moz-border-radius: 30px;
|
79 |
-
border-radius: 30px;
|
80 |
-
}
|
81 |
-
|
82 |
-
/* preloading images */
|
83 |
-
.owl-item.loading{
|
84 |
-
min-height: 150px;
|
85 |
-
background: url(AjaxLoader.gif) no-repeat center center
|
86 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/owl-carousel/owl.transitions.css
DELETED
@@ -1,163 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Owl Carousel CSS3 Transitions
|
3 |
-
* v1.3.2
|
4 |
-
*/
|
5 |
-
|
6 |
-
.owl-origin {
|
7 |
-
-webkit-perspective: 1200px;
|
8 |
-
-webkit-perspective-origin-x : 50%;
|
9 |
-
-webkit-perspective-origin-y : 50%;
|
10 |
-
-moz-perspective : 1200px;
|
11 |
-
-moz-perspective-origin-x : 50%;
|
12 |
-
-moz-perspective-origin-y : 50%;
|
13 |
-
perspective : 1200px;
|
14 |
-
}
|
15 |
-
/* fade */
|
16 |
-
.owl-fade-out {
|
17 |
-
z-index: 10;
|
18 |
-
-webkit-animation: fadeOut .7s both ease;
|
19 |
-
-moz-animation: fadeOut .7s both ease;
|
20 |
-
animation: fadeOut .7s both ease;
|
21 |
-
}
|
22 |
-
.owl-fade-in {
|
23 |
-
-webkit-animation: fadeIn .7s both ease;
|
24 |
-
-moz-animation: fadeIn .7s both ease;
|
25 |
-
animation: fadeIn .7s both ease;
|
26 |
-
}
|
27 |
-
/* backSlide */
|
28 |
-
.owl-backSlide-out {
|
29 |
-
-webkit-animation: backSlideOut 1s both ease;
|
30 |
-
-moz-animation: backSlideOut 1s both ease;
|
31 |
-
animation: backSlideOut 1s both ease;
|
32 |
-
}
|
33 |
-
.owl-backSlide-in {
|
34 |
-
-webkit-animation: backSlideIn 1s both ease;
|
35 |
-
-moz-animation: backSlideIn 1s both ease;
|
36 |
-
animation: backSlideIn 1s both ease;
|
37 |
-
}
|
38 |
-
/* goDown */
|
39 |
-
.owl-goDown-out {
|
40 |
-
-webkit-animation: scaleToFade .7s ease both;
|
41 |
-
-moz-animation: scaleToFade .7s ease both;
|
42 |
-
animation: scaleToFade .7s ease both;
|
43 |
-
}
|
44 |
-
.owl-goDown-in {
|
45 |
-
-webkit-animation: goDown .6s ease both;
|
46 |
-
-moz-animation: goDown .6s ease both;
|
47 |
-
animation: goDown .6s ease both;
|
48 |
-
}
|
49 |
-
/* scaleUp */
|
50 |
-
.owl-fadeUp-in {
|
51 |
-
-webkit-animation: scaleUpFrom .5s ease both;
|
52 |
-
-moz-animation: scaleUpFrom .5s ease both;
|
53 |
-
animation: scaleUpFrom .5s ease both;
|
54 |
-
}
|
55 |
-
|
56 |
-
.owl-fadeUp-out {
|
57 |
-
-webkit-animation: scaleUpTo .5s ease both;
|
58 |
-
-moz-animation: scaleUpTo .5s ease both;
|
59 |
-
animation: scaleUpTo .5s ease both;
|
60 |
-
}
|
61 |
-
/* Keyframes */
|
62 |
-
/*empty*/
|
63 |
-
@-webkit-keyframes empty {
|
64 |
-
0% {opacity: 1}
|
65 |
-
}
|
66 |
-
@-moz-keyframes empty {
|
67 |
-
0% {opacity: 1}
|
68 |
-
}
|
69 |
-
@keyframes empty {
|
70 |
-
0% {opacity: 1}
|
71 |
-
}
|
72 |
-
@-webkit-keyframes fadeIn {
|
73 |
-
0% { opacity:0; }
|
74 |
-
100% { opacity:1; }
|
75 |
-
}
|
76 |
-
@-moz-keyframes fadeIn {
|
77 |
-
0% { opacity:0; }
|
78 |
-
100% { opacity:1; }
|
79 |
-
}
|
80 |
-
@keyframes fadeIn {
|
81 |
-
0% { opacity:0; }
|
82 |
-
100% { opacity:1; }
|
83 |
-
}
|
84 |
-
@-webkit-keyframes fadeOut {
|
85 |
-
0% { opacity:1; }
|
86 |
-
100% { opacity:0; }
|
87 |
-
}
|
88 |
-
@-moz-keyframes fadeOut {
|
89 |
-
0% { opacity:1; }
|
90 |
-
100% { opacity:0; }
|
91 |
-
}
|
92 |
-
@keyframes fadeOut {
|
93 |
-
0% { opacity:1; }
|
94 |
-
100% { opacity:0; }
|
95 |
-
}
|
96 |
-
@-webkit-keyframes backSlideOut {
|
97 |
-
25% { opacity: .5; -webkit-transform: translateZ(-500px); }
|
98 |
-
75% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
|
99 |
-
100% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
|
100 |
-
}
|
101 |
-
@-moz-keyframes backSlideOut {
|
102 |
-
25% { opacity: .5; -moz-transform: translateZ(-500px); }
|
103 |
-
75% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
|
104 |
-
100% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
|
105 |
-
}
|
106 |
-
@keyframes backSlideOut {
|
107 |
-
25% { opacity: .5; transform: translateZ(-500px); }
|
108 |
-
75% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
|
109 |
-
100% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
|
110 |
-
}
|
111 |
-
@-webkit-keyframes backSlideIn {
|
112 |
-
0%, 25% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(200%); }
|
113 |
-
75% { opacity: .5; -webkit-transform: translateZ(-500px); }
|
114 |
-
100% { opacity: 1; -webkit-transform: translateZ(0) translateX(0); }
|
115 |
-
}
|
116 |
-
@-moz-keyframes backSlideIn {
|
117 |
-
0%, 25% { opacity: .5; -moz-transform: translateZ(-500px) translateX(200%); }
|
118 |
-
75% { opacity: .5; -moz-transform: translateZ(-500px); }
|
119 |
-
100% { opacity: 1; -moz-transform: translateZ(0) translateX(0); }
|
120 |
-
}
|
121 |
-
@keyframes backSlideIn {
|
122 |
-
0%, 25% { opacity: .5; transform: translateZ(-500px) translateX(200%); }
|
123 |
-
75% { opacity: .5; transform: translateZ(-500px); }
|
124 |
-
100% { opacity: 1; transform: translateZ(0) translateX(0); }
|
125 |
-
}
|
126 |
-
@-webkit-keyframes scaleToFade {
|
127 |
-
to { opacity: 0; -webkit-transform: scale(.8); }
|
128 |
-
}
|
129 |
-
@-moz-keyframes scaleToFade {
|
130 |
-
to { opacity: 0; -moz-transform: scale(.8); }
|
131 |
-
}
|
132 |
-
@keyframes scaleToFade {
|
133 |
-
to { opacity: 0; transform: scale(.8); }
|
134 |
-
}
|
135 |
-
@-webkit-keyframes goDown {
|
136 |
-
from { -webkit-transform: translateY(-100%); }
|
137 |
-
}
|
138 |
-
@-moz-keyframes goDown {
|
139 |
-
from { -moz-transform: translateY(-100%); }
|
140 |
-
}
|
141 |
-
@keyframes goDown {
|
142 |
-
from { transform: translateY(-100%); }
|
143 |
-
}
|
144 |
-
|
145 |
-
@-webkit-keyframes scaleUpFrom {
|
146 |
-
from { opacity: 0; -webkit-transform: scale(1.5); }
|
147 |
-
}
|
148 |
-
@-moz-keyframes scaleUpFrom {
|
149 |
-
from { opacity: 0; -moz-transform: scale(1.5); }
|
150 |
-
}
|
151 |
-
@keyframes scaleUpFrom {
|
152 |
-
from { opacity: 0; transform: scale(1.5); }
|
153 |
-
}
|
154 |
-
|
155 |
-
@-webkit-keyframes scaleUpTo {
|
156 |
-
to { opacity: 0; -webkit-transform: scale(1.5); }
|
157 |
-
}
|
158 |
-
@-moz-keyframes scaleUpTo {
|
159 |
-
to { opacity: 0; -moz-transform: scale(1.5); }
|
160 |
-
}
|
161 |
-
@keyframes scaleUpTo {
|
162 |
-
to { opacity: 0; transform: scale(1.5); }
|
163 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/scripts.php
CHANGED
@@ -1,10 +1,40 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
-
|
1 |
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
} // if direct access
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Scripts and styles
|
8 |
+
*/
|
9 |
+
class SP_WCF_Scripts_AND_Style{
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Script version number
|
13 |
+
*/
|
14 |
+
protected $version;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Initialize the class
|
18 |
+
*/
|
19 |
+
public function __construct() {
|
20 |
+
$this->version = '20170501';
|
21 |
+
|
22 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'sp_wp_carousel_free_script' ) );
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Front Scripts
|
27 |
+
*/
|
28 |
+
public function sp_wp_carousel_free_script() {
|
29 |
+
// CSS Files
|
30 |
+
wp_enqueue_style( 'slick', SP_WP_CAROUSEL_FREE_URL . 'assets/css/slick.css', false, $this->version );
|
31 |
+
wp_enqueue_style( 'font-awesome', SP_WP_CAROUSEL_FREE_URL . 'assets/css/font-awesome.min.css', false, $this->version );
|
32 |
+
wp_enqueue_style( 'wp-carousel-free-style', SP_WP_CAROUSEL_FREE_URL . 'assets/css/style.css', false, $this->version );
|
33 |
+
|
34 |
+
//JS Files
|
35 |
+
wp_enqueue_script( 'slick-main', SP_WP_CAROUSEL_FREE_URL . 'assets/js/slick.min.js', array( 'jquery' ), $this->version, true );
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
}
|
40 |
+
new SP_WCF_Scripts_AND_Style();
|
inc/shortcodes.php
CHANGED
@@ -26,11 +26,19 @@ function wp_carousel_free_shortcode( $attr ) {
|
|
26 |
}
|
27 |
|
28 |
extract( shortcode_atts( array(
|
29 |
-
'id'
|
30 |
-
'ids'
|
31 |
-
'
|
32 |
-
'
|
33 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
), $attr, 'gallery' ) );
|
35 |
|
36 |
|
@@ -101,28 +109,72 @@ function wp_carousel_free_shortcode( $attr ) {
|
|
101 |
return $output;
|
102 |
}
|
103 |
|
104 |
-
|
105 |
$gallery_style = $gallery_div = '';
|
106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
-
|
109 |
-
$
|
|
|
|
|
|
|
|
|
110 |
|
|
|
111 |
<style type='text/css'>
|
112 |
-
div#wordpress-carousel-free-$id
|
|
|
|
|
|
|
113 |
</style>
|
114 |
-
|
115 |
<script type='text/javascript'>
|
116 |
jQuery(document).ready(function() {
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
});
|
123 |
</script>
|
124 |
|
125 |
-
<div id='wordpress-carousel-free-$id' class='
|
126 |
|
127 |
$output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );
|
128 |
|
26 |
}
|
27 |
|
28 |
extract( shortcode_atts( array(
|
29 |
+
'id' => '1',
|
30 |
+
'ids' => '',
|
31 |
+
'items' => '5',
|
32 |
+
'items_desktop' => '4',
|
33 |
+
'items_desktop_small' => '3',
|
34 |
+
'items_tablet' => '2',
|
35 |
+
'items_mobile' => '1',
|
36 |
+
'bullets' => 'false',
|
37 |
+
'nav' => 'true',
|
38 |
+
'auto_play' => 'true',
|
39 |
+
'size' => 'thumbnail',
|
40 |
+
'include' => '',
|
41 |
+
'exclude' => '',
|
42 |
), $attr, 'gallery' ) );
|
43 |
|
44 |
|
109 |
return $output;
|
110 |
}
|
111 |
|
|
|
112 |
$gallery_style = $gallery_div = '';
|
113 |
|
114 |
+
// Carousel Area Padding
|
115 |
+
if ( $nav == 'true' ) {
|
116 |
+
$carousel_area_padding = '0 15px';
|
117 |
+
} else {
|
118 |
+
$carousel_area_padding = '0';
|
119 |
+
}
|
120 |
|
121 |
+
// Bullet CSS
|
122 |
+
if ( $bullets == 'true' ) {
|
123 |
+
$the_nav_margin = '-40px';
|
124 |
+
} else {
|
125 |
+
$the_nav_margin = '-15px';
|
126 |
+
}
|
127 |
|
128 |
+
$gallery_div = "
|
129 |
<style type='text/css'>
|
130 |
+
div#wordpress-carousel-free-$id.wordpress-carousel-free-section .slick-prev,
|
131 |
+
div#wordpress-carousel-free-$id.wordpress-carousel-free-section .slick-next{
|
132 |
+
margin-top: $the_nav_margin;
|
133 |
+
}
|
134 |
</style>
|
135 |
+
|
136 |
<script type='text/javascript'>
|
137 |
jQuery(document).ready(function() {
|
138 |
+
jQuery('#wordpress-carousel-free-$id').slick({
|
139 |
+
infinite: true,
|
140 |
+
slidesToShow: " . $items . ",
|
141 |
+
slidesToScroll: 1,
|
142 |
+
prevArrow: \"<div class='slick-prev'><i class='fa fa-angle-left'></i></div>\",
|
143 |
+
nextArrow: \"<div class='slick-next'><i class='fa fa-angle-right'></i></div>\",
|
144 |
+
dots: " . $bullets . ",
|
145 |
+
arrows: " . $nav . ",
|
146 |
+
autoplay: " . $auto_play . ",
|
147 |
+
responsive: [
|
148 |
+
{
|
149 |
+
breakpoint: 1199,
|
150 |
+
settings: {
|
151 |
+
slidesToShow: " . $items_desktop . "
|
152 |
+
}
|
153 |
+
},
|
154 |
+
{
|
155 |
+
breakpoint: 979,
|
156 |
+
settings: {
|
157 |
+
slidesToShow: " . $items_desktop_small . "
|
158 |
+
}
|
159 |
+
},
|
160 |
+
{
|
161 |
+
breakpoint: 767,
|
162 |
+
settings: {
|
163 |
+
slidesToShow: " . $items_tablet . "
|
164 |
+
}
|
165 |
+
},
|
166 |
+
{
|
167 |
+
breakpoint: 479,
|
168 |
+
settings: {
|
169 |
+
slidesToShow: " . $items_mobile . "
|
170 |
+
}
|
171 |
+
}
|
172 |
+
]
|
173 |
+
});
|
174 |
});
|
175 |
</script>
|
176 |
|
177 |
+
<div id='wordpress-carousel-free-$id' class='wordpress-carousel-free-section' style='padding:$carousel_area_padding;'>";
|
178 |
|
179 |
$output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );
|
180 |
|
readme.txt
CHANGED
@@ -88,6 +88,7 @@ Want more features? This plugin has a <a href="http://shapedplugin.com/plugin/wo
|
|
88 |
<li>Widget Ready</li>
|
89 |
<li>Tons of easy and useful shortcodes attributes</li>
|
90 |
<li>Show/hide most of the carousel elements</li>
|
|
|
91 |
<li>Extensive online docs & Tutorials</li>
|
92 |
<li>24/7 Free & quick support</li>
|
93 |
<li>Lifetime free update</li>
|
@@ -115,10 +116,24 @@ Now we are going to add a carousel in a regular page. Go to Page > Add New. Clic
|
|
115 |
|
116 |
After adding all necessary information, Click the blue button saying "Create a new gallery". You can re-organize carousel items here. Ignore the gallery settings, just click the blue button saying "Create Gallery"
|
117 |
|
118 |
-
Then you will get WordPress default gallery shortcode in your editor,
|
119 |
|
120 |
Now save your page, then visit the newly created page & see something awesome. :)
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
== Screenshots ==
|
124 |
|
@@ -128,6 +143,14 @@ Now save your page, then visit the newly created page & see something awesome. :
|
|
128 |
|
129 |
== Changelog ==
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
= 1.4.2 =
|
132 |
* Fixed conflict issue for some themes
|
133 |
|
88 |
<li>Widget Ready</li>
|
89 |
<li>Tons of easy and useful shortcodes attributes</li>
|
90 |
<li>Show/hide most of the carousel elements</li>
|
91 |
+
<li>RTL Support</li>
|
92 |
<li>Extensive online docs & Tutorials</li>
|
93 |
<li>24/7 Free & quick support</li>
|
94 |
<li>Lifetime free update</li>
|
116 |
|
117 |
After adding all necessary information, Click the blue button saying "Create a new gallery". You can re-organize carousel items here. Ignore the gallery settings, just click the blue button saying "Create Gallery"
|
118 |
|
119 |
+
Then you will get WordPress default gallery shortcode in your editor, you can't see gallery shortcode, just click on text editor form right. just add wcf before the gallery shortcode. If your gallery shortcode is [gallery ids="39,38,37,36,35,34,31"], just add wcf before the gallery text. So your shortcode will look like [wcfgallery ids="39,38,37,36,35,34,31"]
|
120 |
|
121 |
Now save your page, then visit the newly created page & see something awesome. :)
|
122 |
|
123 |
+
Shortcode attributes
|
124 |
+
`
|
125 |
+
id => use unique id. default:1
|
126 |
+
ids => use image ids
|
127 |
+
items => items limit. default:5
|
128 |
+
items_desktop => desktop items limit. default:4
|
129 |
+
items_desktop_small => small desktop items limit. default:3
|
130 |
+
items_tablet => tablet items limit. default:2
|
131 |
+
items_mobile => mobile items limit. default:1
|
132 |
+
bullets => true / false. default: false
|
133 |
+
nav => true / false. default: true
|
134 |
+
auto_play => true / false. default: true
|
135 |
+
`
|
136 |
+
|
137 |
|
138 |
== Screenshots ==
|
139 |
|
143 |
|
144 |
== Changelog ==
|
145 |
|
146 |
+
= 1.4.3 =
|
147 |
+
* Add infinite loop
|
148 |
+
* Display items limit option
|
149 |
+
* Bullets on/off
|
150 |
+
* Navigation on/off
|
151 |
+
* AutoPlay on/off
|
152 |
+
* Small desktop, Tablet, Mobile items limit option
|
153 |
+
|
154 |
= 1.4.2 =
|
155 |
* Fixed conflict issue for some themes
|
156 |
|
wp-carousel-free.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://shapedplugin.com/plugin/wordpress-carousel-pro
|
|
5 |
Description: This plugin will enable carousel features in your WordPress site.
|
6 |
Author: ShapedPlugin
|
7 |
Author URI: http://shapedplugin.com
|
8 |
-
Version: 1.4.
|
9 |
*/
|
10 |
|
11 |
|
@@ -126,24 +126,18 @@ if ( is_admin() ) : // Load only if we are viewing an admin page
|
|
126 |
<h3>Link to carousel items</h3>
|
127 |
<p>You can link to each carousel item easily. You can add link to each carousel in media
|
128 |
manager. Just add your link there, your carousel items will lined to that URL.</p>
|
129 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#logo-caruosel"
|
130 |
-
target="_blank" class="button button-primary">See Link to Carousel Items Demo</a>
|
131 |
</div>
|
132 |
|
133 |
<div class="welcome-panel-column">
|
134 |
<h3>Items customization</h3>
|
135 |
<p>You can customize how many carousel item will show in your carousel. You just have to add
|
136 |
an attribute in carousel shortcode wherever you want.</p>
|
137 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#items-customization"
|
138 |
-
target="_blank" class="button button-primary">See Item Customization Demo</a>
|
139 |
</div>
|
140 |
|
141 |
<div class="welcome-panel-column welcome-panel-last">
|
142 |
<h3>One page Carousel Slider</h3>
|
143 |
<p>You are able to build one item carousel slider. Its like image slider. You can add slider
|
144 |
title & description too. You can change slider colors with your dream color!</p>
|
145 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#one-pages-arousel-slider"
|
146 |
-
target="_blank" class="button button-primary">See One page Carousel Slider Demo</a>
|
147 |
</div>
|
148 |
</div>
|
149 |
|
@@ -154,25 +148,18 @@ if ( is_admin() ) : // Load only if we are viewing an admin page
|
|
154 |
<h3>Slider with Different Effects</h3>
|
155 |
<p>Different types of slider effect can make your slider unique & stunning to look. You are
|
156 |
able to set your desired effect easily using attribute in shortcodes.</p>
|
157 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#one-pages-arousel-slider"
|
158 |
-
target="_blank" class="button button-primary">See Slider with Different Effects Demo</a>
|
159 |
</div>
|
160 |
|
161 |
<div class="welcome-panel-column">
|
162 |
<h3>Unlimited Colors</h3>
|
163 |
<p>Premium version of this plugin supports unlimited colors! You can add any color that
|
164 |
match your current theme. You can use color name or color HEX code.</p>
|
165 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#logo-caruosel"
|
166 |
-
target="_blank" class="button button-primary">See Unlimited Colors Demo</a>
|
167 |
</div>
|
168 |
|
169 |
<div class="welcome-panel-column welcome-panel-last">
|
170 |
<h3>Post Carousel Slider with Excerpt</h3>
|
171 |
<p>You can create post excerpt carousel slider as well. This will show featured image, some
|
172 |
amount of post content & a readmore button. This is cool for large type of post! </p>
|
173 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#post-carousel"
|
174 |
-
target="_blank" class="button button-primary">See Post Carousel Slider with Excerpt
|
175 |
-
Demo</a>
|
176 |
</div>
|
177 |
|
178 |
</div>
|
@@ -184,24 +171,18 @@ if ( is_admin() ) : // Load only if we are viewing an admin page
|
|
184 |
<p>You can also create post carousel slider without readmore as well. This will show
|
185 |
featured image, text of your post without a readmore button. This is cool for small
|
186 |
post!</p>
|
187 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#" target="_blank"
|
188 |
-
class="button button-primary">See Post slider without Readmore Demo</a>
|
189 |
</div>
|
190 |
|
191 |
<div class="welcome-panel-column">
|
192 |
<h3>Custom Post Excerpt Slider</h3>
|
193 |
<p>You can build excerpt slider form different page or custom post too. Just you have to
|
194 |
define post type in carousel shortcode. Its super easy to use!</p>
|
195 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#Woocommerce" target="_blank"
|
196 |
-
class="button button-primary">See Custom Post Excerpt Slider Demo</a>
|
197 |
</div>
|
198 |
|
199 |
<div class="welcome-panel-column welcome-panel-last">
|
200 |
<h3>Testimonial Slider with different Styles</h3>
|
201 |
<p>There are many styles of clients testimonials. You can show your client's testimonials in
|
202 |
your site as well. Hence you need define attribute in carousel shortcode.</p>
|
203 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#testimonial" target="_blank"
|
204 |
-
class="button button-primary">See Testimonial Slider Demo</a>
|
205 |
</div>
|
206 |
|
207 |
</div>
|
@@ -212,24 +193,18 @@ if ( is_admin() ) : // Load only if we are viewing an admin page
|
|
212 |
<h3>Carousel from WooCommerce Product</h3>
|
213 |
<p>Using this premium version plugin, you can add woocommerce product slider too. This will
|
214 |
show product image, product description & read more button.</p>
|
215 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#Woocommerce" target="_blank"
|
216 |
-
class="button button-primary">See Carousel from WooCommerce Product Demo</a>
|
217 |
</div>
|
218 |
|
219 |
<div class="welcome-panel-column">
|
220 |
<h3>Carousel from WooCommerce Product Category</h3>
|
221 |
<p>This is a fantastic features for premium version, you can show woocommerce product slider
|
222 |
from category with product image, t description & read more button.</p>
|
223 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#Woocommerce" target="_blank"
|
224 |
-
class="button button-primary">See Carousel WooCom Product Category Demo</a>
|
225 |
</div>
|
226 |
|
227 |
<div class="welcome-panel-column welcome-panel-last">
|
228 |
<h3>Carousel with Lightbox</h3>
|
229 |
<p>We've added lightbox features in premium version of this plugin. You only have to turn on
|
230 |
lightbox via shortcode. Its fully responsive and super easy to use!</p>
|
231 |
-
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#lightbox" target="_blank"
|
232 |
-
class="button button-primary">See Carousel with Lightbox Demo</a>
|
233 |
</div>
|
234 |
|
235 |
</div>
|
5 |
Description: This plugin will enable carousel features in your WordPress site.
|
6 |
Author: ShapedPlugin
|
7 |
Author URI: http://shapedplugin.com
|
8 |
+
Version: 1.4.3
|
9 |
*/
|
10 |
|
11 |
|
126 |
<h3>Link to carousel items</h3>
|
127 |
<p>You can link to each carousel item easily. You can add link to each carousel in media
|
128 |
manager. Just add your link there, your carousel items will lined to that URL.</p>
|
|
|
|
|
129 |
</div>
|
130 |
|
131 |
<div class="welcome-panel-column">
|
132 |
<h3>Items customization</h3>
|
133 |
<p>You can customize how many carousel item will show in your carousel. You just have to add
|
134 |
an attribute in carousel shortcode wherever you want.</p>
|
|
|
|
|
135 |
</div>
|
136 |
|
137 |
<div class="welcome-panel-column welcome-panel-last">
|
138 |
<h3>One page Carousel Slider</h3>
|
139 |
<p>You are able to build one item carousel slider. Its like image slider. You can add slider
|
140 |
title & description too. You can change slider colors with your dream color!</p>
|
|
|
|
|
141 |
</div>
|
142 |
</div>
|
143 |
|
148 |
<h3>Slider with Different Effects</h3>
|
149 |
<p>Different types of slider effect can make your slider unique & stunning to look. You are
|
150 |
able to set your desired effect easily using attribute in shortcodes.</p>
|
|
|
|
|
151 |
</div>
|
152 |
|
153 |
<div class="welcome-panel-column">
|
154 |
<h3>Unlimited Colors</h3>
|
155 |
<p>Premium version of this plugin supports unlimited colors! You can add any color that
|
156 |
match your current theme. You can use color name or color HEX code.</p>
|
|
|
|
|
157 |
</div>
|
158 |
|
159 |
<div class="welcome-panel-column welcome-panel-last">
|
160 |
<h3>Post Carousel Slider with Excerpt</h3>
|
161 |
<p>You can create post excerpt carousel slider as well. This will show featured image, some
|
162 |
amount of post content & a readmore button. This is cool for large type of post! </p>
|
|
|
|
|
|
|
163 |
</div>
|
164 |
|
165 |
</div>
|
171 |
<p>You can also create post carousel slider without readmore as well. This will show
|
172 |
featured image, text of your post without a readmore button. This is cool for small
|
173 |
post!</p>
|
|
|
|
|
174 |
</div>
|
175 |
|
176 |
<div class="welcome-panel-column">
|
177 |
<h3>Custom Post Excerpt Slider</h3>
|
178 |
<p>You can build excerpt slider form different page or custom post too. Just you have to
|
179 |
define post type in carousel shortcode. Its super easy to use!</p>
|
|
|
|
|
180 |
</div>
|
181 |
|
182 |
<div class="welcome-panel-column welcome-panel-last">
|
183 |
<h3>Testimonial Slider with different Styles</h3>
|
184 |
<p>There are many styles of clients testimonials. You can show your client's testimonials in
|
185 |
your site as well. Hence you need define attribute in carousel shortcode.</p>
|
|
|
|
|
186 |
</div>
|
187 |
|
188 |
</div>
|
193 |
<h3>Carousel from WooCommerce Product</h3>
|
194 |
<p>Using this premium version plugin, you can add woocommerce product slider too. This will
|
195 |
show product image, product description & read more button.</p>
|
|
|
|
|
196 |
</div>
|
197 |
|
198 |
<div class="welcome-panel-column">
|
199 |
<h3>Carousel from WooCommerce Product Category</h3>
|
200 |
<p>This is a fantastic features for premium version, you can show woocommerce product slider
|
201 |
from category with product image, t description & read more button.</p>
|
|
|
|
|
202 |
</div>
|
203 |
|
204 |
<div class="welcome-panel-column welcome-panel-last">
|
205 |
<h3>Carousel with Lightbox</h3>
|
206 |
<p>We've added lightbox features in premium version of this plugin. You only have to turn on
|
207 |
lightbox via shortcode. Its fully responsive and super easy to use!</p>
|
|
|
|
|
208 |
</div>
|
209 |
|
210 |
</div>
|