Version Description
- Fixed navigation css issue
Download this release
Release Info
Version 1.4
- inc/fontello/css/fontello.css +54 -0
- inc/fontello/font/fontello.eot +0 -0
- inc/fontello/font/fontello.svg +13 -0
- inc/fontello/font/fontello.ttf +0 -0
- inc/fontello/font/fontello.woff +0 -0
- inc/owl-carousel/AjaxLoader.gif +0 -0
- inc/owl-carousel/grabbing.png +0 -0
- inc/owl-carousel/owl.carousel.css +73 -0
- inc/owl-carousel/owl.carousel.min.js +47 -0
- inc/owl-carousel/owl.theme.css +121 -0
- inc/owl-carousel/owl.transitions.css +163 -0
- plugin-main.php +370 -0
- readme.txt +148 -0
inc/fontello/css/fontello.css
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@font-face {
|
2 |
+
font-family: 'fontello';
|
3 |
+
src: url('../font/fontello.eot?74061540');
|
4 |
+
src: url('../font/fontello.eot?74061540#iefix') format('embedded-opentype'),
|
5 |
+
url('../font/fontello.woff?74061540') format('woff'),
|
6 |
+
url('../font/fontello.ttf?74061540') format('truetype'),
|
7 |
+
url('../font/fontello.svg?74061540#fontello') format('svg');
|
8 |
+
font-weight: normal;
|
9 |
+
font-style: normal;
|
10 |
+
}
|
11 |
+
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
12 |
+
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
13 |
+
/*
|
14 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
15 |
+
@font-face {
|
16 |
+
font-family: 'fontello';
|
17 |
+
src: url('../font/fontello.svg?74061540#fontello') format('svg');
|
18 |
+
}
|
19 |
+
}
|
20 |
+
*/
|
21 |
+
|
22 |
+
[class^="icon-"]:before, [class*=" icon-"]:before {
|
23 |
+
font-family: "fontello";
|
24 |
+
font-style: normal;
|
25 |
+
font-weight: normal;
|
26 |
+
speak: none;
|
27 |
+
|
28 |
+
display: inline-block;
|
29 |
+
text-decoration: inherit;
|
30 |
+
width: 1em;
|
31 |
+
margin-right: .2em;
|
32 |
+
text-align: center;
|
33 |
+
/* opacity: .8; */
|
34 |
+
|
35 |
+
/* For safety - reset parent styles, that can break glyph codes*/
|
36 |
+
font-variant: normal;
|
37 |
+
text-transform: none;
|
38 |
+
|
39 |
+
/* fix buttons height, for twitter bootstrap */
|
40 |
+
line-height: 1em;
|
41 |
+
|
42 |
+
/* Animation center compensation - margins should be symmetric */
|
43 |
+
/* remove if not needed */
|
44 |
+
margin-left: .2em;
|
45 |
+
|
46 |
+
/* you can be more comfortable with increased icons size */
|
47 |
+
/* font-size: 120%; */
|
48 |
+
|
49 |
+
/* Uncomment for 3D effect */
|
50 |
+
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
51 |
+
}
|
52 |
+
|
53 |
+
.icon-wcp-left-arrow:before { content: '\e800'; } /* '' */
|
54 |
+
.icon-wcp-right-arrow:before { content: '\e801'; } /* '' */
|
inc/fontello/font/fontello.eot
ADDED
Binary file
|
inc/fontello/font/fontello.svg
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" standalone="no"?>
|
2 |
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
3 |
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
+
<metadata>Copyright (C) 2014 by original authors @ fontello.com</metadata>
|
5 |
+
<defs>
|
6 |
+
<font id="fontello" horiz-adv-x="1000" >
|
7 |
+
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
8 |
+
<missing-glyph horiz-adv-x="1000" />
|
9 |
+
<glyph glyph-name="wcp-left-arrow" unicode="" d="m25 314q0 8 6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13t-6-12l-219-220 219-219q6-6 6-13t-6-13l-28-28q-5-5-12-5t-13 5l-260 260q-6 6-6 13z" horiz-adv-x="357.1" />
|
10 |
+
<glyph glyph-name="wcp-right-arrow" unicode="" d="m7 82q0 7 6 13l219 219-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l260-260q6-5 6-13t-6-13l-260-260q-5-5-12-5t-13 5l-28 28q-6 6-6 13z" horiz-adv-x="357.1" />
|
11 |
+
</font>
|
12 |
+
</defs>
|
13 |
+
</svg>
|
inc/fontello/font/fontello.ttf
ADDED
Binary file
|
inc/fontello/font/fontello.woff
ADDED
Binary file
|
inc/owl-carousel/AjaxLoader.gif
ADDED
Binary file
|
inc/owl-carousel/grabbing.png
ADDED
Binary file
|
inc/owl-carousel/owl.carousel.css
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:-25px}
|
33 |
+
.wordpress-carousel-free-section .owl-controls .owl-buttons div.owl-next {right:-25px}
|
34 |
+
|
35 |
+
|
36 |
+
.wordpress-carousel-free-section .owl-controls .owl-buttons div:before {
|
37 |
+
font-family: "fontello";
|
38 |
+
font-style: normal;
|
39 |
+
font-weight: normal;
|
40 |
+
speak: none;
|
41 |
+
|
42 |
+
display: inline-block;
|
43 |
+
text-decoration: inherit;
|
44 |
+
width: 1em;
|
45 |
+
margin-right: .2em;
|
46 |
+
text-align: center;
|
47 |
+
/* opacity: .8; */
|
48 |
+
|
49 |
+
/* For safety - reset parent styles, that can break glyph codes*/
|
50 |
+
font-variant: normal;
|
51 |
+
text-transform: none;
|
52 |
+
|
53 |
+
/* fix buttons height, for twitter bootstrap */
|
54 |
+
line-height: 1em;
|
55 |
+
|
56 |
+
/* Animation center compensation - margins should be symmetric */
|
57 |
+
/* remove if not needed */
|
58 |
+
margin-left: .2em;
|
59 |
+
|
60 |
+
/* you can be more comfortable with increased icons size */
|
61 |
+
/* font-size: 120%; */
|
62 |
+
|
63 |
+
/* Uncomment for 3D effect */
|
64 |
+
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
65 |
+
}
|
66 |
+
.wordpress-carousel-free-section .owl-controls .owl-buttons div.owl-prev:before {content: '\e800'; }
|
67 |
+
.wordpress-carousel-free-section .owl-controls .owl-buttons div.owl-next:before {content: '\e801';}
|
68 |
+
|
69 |
+
|
70 |
+
/* Clickable class fix problem with hover on touch devices */
|
71 |
+
/* Use it for non-touch hover action */
|
72 |
+
.wordpress-carousel-free-section .owl-controls.clickable .owl-buttons div:hover{
|
73 |
+
filter: Alpha(Opacity=100);/*IE7 fix*/
|
74 |
+
opacity: 1;
|
75 |
+
text-decoration: none;
|
76 |
+
}
|
77 |
+
|
78 |
+
/* Styling Pagination*/
|
79 |
+
|
80 |
+
.wordpress-carousel-free-section .owl-controls .owl-page{
|
81 |
+
display: inline-block;
|
82 |
+
zoom: 1;
|
83 |
+
*display: inline;/*IE7 life-saver */
|
84 |
+
}
|
85 |
+
.wordpress-carousel-free-section .owl-controls .owl-page span{
|
86 |
+
display: block;
|
87 |
+
width: 12px;
|
88 |
+
height: 12px;
|
89 |
+
margin: 5px 7px;
|
90 |
+
filter: Alpha(Opacity=50);/*IE7 fix*/
|
91 |
+
opacity: 0.5;
|
92 |
+
-webkit-border-radius: 20px;
|
93 |
+
-moz-border-radius: 20px;
|
94 |
+
border-radius: 20px;
|
95 |
+
background:#666;
|
96 |
+
}
|
97 |
+
|
98 |
+
.wordpress-carousel-free-section .owl-controls .owl-page.active span,
|
99 |
+
.wordpress-carousel-free-section .owl-controls.clickable .owl-page:hover span{
|
100 |
+
filter: Alpha(Opacity=100);/*IE7 fix*/
|
101 |
+
opacity: 1;
|
102 |
+
}
|
103 |
+
|
104 |
+
/* If PaginationNumbers is true */
|
105 |
+
|
106 |
+
.wordpress-carousel-free-section .owl-controls .owl-page span.owl-numbers{
|
107 |
+
height: auto;
|
108 |
+
width: auto;
|
109 |
+
color: #FFF;
|
110 |
+
padding: 2px 10px;
|
111 |
+
font-size: 12px;
|
112 |
+
-webkit-border-radius: 30px;
|
113 |
+
-moz-border-radius: 30px;
|
114 |
+
border-radius: 30px;
|
115 |
+
}
|
116 |
+
|
117 |
+
/* preloading images */
|
118 |
+
.owl-item.loading{
|
119 |
+
min-height: 150px;
|
120 |
+
background: url(AjaxLoader.gif) no-repeat center center
|
121 |
+
}
|
inc/owl-carousel/owl.transitions.css
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
}
|
plugin-main.php
ADDED
@@ -0,0 +1,370 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: WordPress Carousel Free
|
4 |
+
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 |
+
|
12 |
+
/*Some Set-up*/
|
13 |
+
define('SP_WP_FREE_CAROUSEL', WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/' );
|
14 |
+
|
15 |
+
|
16 |
+
/* Including all files */
|
17 |
+
function sp_wordpress_carousel_free_script() {
|
18 |
+
wp_enqueue_script('owl-carousel-min-js', SP_WP_FREE_CAROUSEL.'inc/owl-carousel/owl.carousel.min.js', array('jquery'), 1.0, true);
|
19 |
+
wp_enqueue_style('owl-carousel-css', SP_WP_FREE_CAROUSEL.'inc/owl-carousel/owl.carousel.css');
|
20 |
+
wp_enqueue_style('owl-transitions-css', SP_WP_FREE_CAROUSEL.'inc/owl-carousel/owl.transitions.css');
|
21 |
+
wp_enqueue_style('owl-theme-css', SP_WP_FREE_CAROUSEL.'inc/owl-carousel/owl.theme.css');
|
22 |
+
wp_enqueue_style('wcf-fontello-css', SP_WP_FREE_CAROUSEL.'inc/fontello/css/fontello.css');
|
23 |
+
}
|
24 |
+
add_action( 'wp_enqueue_scripts', 'sp_wordpress_carousel_free_script' );
|
25 |
+
|
26 |
+
|
27 |
+
// Redirect after active
|
28 |
+
function my_plugin_active_redirect( $plugin ) {
|
29 |
+
if( $plugin == plugin_basename( __FILE__ ) ) {
|
30 |
+
exit( wp_redirect( admin_url( 'options-general.php' ) ) );
|
31 |
+
}
|
32 |
+
}
|
33 |
+
add_action( 'activated_plugin', 'my_plugin_active_redirect' );
|
34 |
+
|
35 |
+
|
36 |
+
// Registering shortcode
|
37 |
+
function wp_carousel_free_shortcode( $attr ) {
|
38 |
+
$post = get_post();
|
39 |
+
|
40 |
+
static $instance = 0;
|
41 |
+
$instance++;
|
42 |
+
|
43 |
+
if ( ! empty( $attr['ids'] ) ) {
|
44 |
+
if ( empty( $attr['orderby'] ) )
|
45 |
+
$attr['orderby'] = 'post__in';
|
46 |
+
$attr['include'] = $attr['ids'];
|
47 |
+
}
|
48 |
+
|
49 |
+
$output = apply_filters( 'post_gallery', '', $attr );
|
50 |
+
if ( $output != '' )
|
51 |
+
return $output;
|
52 |
+
|
53 |
+
if ( isset( $attr['orderby'] ) ) {
|
54 |
+
$attr['orderby'] = sanitize_sql_orderby( $attr['orderby'] );
|
55 |
+
if ( !$attr['orderby'] )
|
56 |
+
unset( $attr['orderby'] );
|
57 |
+
}
|
58 |
+
|
59 |
+
$html5 = current_theme_supports( 'html5', 'gallery' );
|
60 |
+
extract(shortcode_atts(array(
|
61 |
+
'id' => '',
|
62 |
+
'size' => 'thumbnail',
|
63 |
+
'include' => '',
|
64 |
+
'exclude' => '',
|
65 |
+
), $attr, 'gallery'));
|
66 |
+
|
67 |
+
$order = 'DESC';
|
68 |
+
$orderby = 'title';
|
69 |
+
|
70 |
+
$id = intval($id);
|
71 |
+
if ( 'RAND' == $order )
|
72 |
+
$orderby = 'none';
|
73 |
+
|
74 |
+
if ( !empty($include) ) {
|
75 |
+
$_attachments = get_posts( array('include' => $include, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) );
|
76 |
+
|
77 |
+
$attachments = array();
|
78 |
+
foreach ( $_attachments as $key => $val ) {
|
79 |
+
$attachments[$val->ID] = $_attachments[$key];
|
80 |
+
}
|
81 |
+
} elseif ( !empty($exclude) ) {
|
82 |
+
$attachments = get_children( array('post_parent' => $id, 'exclude' => $exclude, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) );
|
83 |
+
} else {
|
84 |
+
|
85 |
+
}
|
86 |
+
|
87 |
+
if ( empty($attachments) )
|
88 |
+
return '';
|
89 |
+
|
90 |
+
if ( is_feed() ) {
|
91 |
+
$output = "\n";
|
92 |
+
foreach ( $attachments as $att_id => $attachment )
|
93 |
+
$output .= wp_get_attachment_link($att_id, $size, true) . "\n";
|
94 |
+
return $output;
|
95 |
+
}
|
96 |
+
|
97 |
+
|
98 |
+
$gallery_style = $gallery_div = '';
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
+
$size_class = sanitize_html_class( $size );
|
103 |
+
$gallery_div = "
|
104 |
+
|
105 |
+
<style type='text/css'>
|
106 |
+
div#wordpress-carousel-free-$id div.single_wcf_item img{box-shadow:0 0 0;border-radius:0;float:left;width:100%;height:auto}
|
107 |
+
</style>
|
108 |
+
|
109 |
+
<script type='text/javascript'>
|
110 |
+
jQuery(document).ready(function() {
|
111 |
+
jQuery('#wordpress-carousel-free-$id').owlCarousel({
|
112 |
+
navigation: true,
|
113 |
+
autoPlay: true,
|
114 |
+
navigationText: ['','']
|
115 |
+
});
|
116 |
+
});
|
117 |
+
</script>
|
118 |
+
|
119 |
+
<div id='wordpress-carousel-free-$id' class='owl-carousel wordpress-carousel-free-section'>";
|
120 |
+
|
121 |
+
$output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );
|
122 |
+
|
123 |
+
$i = 0;
|
124 |
+
foreach ( $attachments as $id => $attachment ) {
|
125 |
+
|
126 |
+
$wcf_image_url = wp_get_attachment_image_src( $id, 'medium', false);
|
127 |
+
|
128 |
+
$wcf_image_title = $attachment->post_title;
|
129 |
+
|
130 |
+
|
131 |
+
$output .= "
|
132 |
+
<div class='single_wcf_item'>
|
133 |
+
<img src='$wcf_image_url[0]' alt='$wcf_image_title' />
|
134 |
+
</div>
|
135 |
+
";
|
136 |
+
|
137 |
+
|
138 |
+
}
|
139 |
+
|
140 |
+
$output .= "
|
141 |
+
</div>\n";
|
142 |
+
|
143 |
+
return $output;
|
144 |
+
}
|
145 |
+
|
146 |
+
|
147 |
+
add_shortcode('wcfgallery', 'wp_carousel_free_shortcode');
|
148 |
+
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
function add_wcffree_options_framwrork()
|
153 |
+
{
|
154 |
+
add_options_page('WP Carousel Free Help', '', 'manage_options', 'wcf-settings','wcf_options_framwrork');
|
155 |
+
}
|
156 |
+
add_action('admin_menu', 'add_wcffree_options_framwrork');
|
157 |
+
|
158 |
+
add_action( 'admin_enqueue_scripts', 'scrollbar_ppm_color_pickr_function' );
|
159 |
+
function scrollbar_ppm_color_pickr_function( $hook_suffix ) {
|
160 |
+
// first check that $hook_suffix is appropriate for your admin page
|
161 |
+
wp_enqueue_style( 'wp-color-picker' );
|
162 |
+
wp_enqueue_script( 'my-script-handle', plugins_url('js/color-pickr.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
163 |
+
}
|
164 |
+
|
165 |
+
// Default options values
|
166 |
+
$wcf_options = array(
|
167 |
+
'cursor_color' => '#666',
|
168 |
+
'cursor_width' => '10px',
|
169 |
+
'border_radius' => '0px',
|
170 |
+
'cursor_border' => '0px solid #000',
|
171 |
+
'scroll_speed' => '60',
|
172 |
+
'auto_hide_mode' => 'true'
|
173 |
+
);
|
174 |
+
|
175 |
+
if ( is_admin() ) : // Load only if we are viewing an admin page
|
176 |
+
|
177 |
+
function wcf_register_settings() {
|
178 |
+
// Register settings and call sanitation functions
|
179 |
+
register_setting( 'wcf_p_options', 'wcf_options', 'wcf_validate_options' );
|
180 |
+
}
|
181 |
+
|
182 |
+
add_action( 'admin_init', 'wcf_register_settings' );
|
183 |
+
|
184 |
+
|
185 |
+
// Store layouts views in array
|
186 |
+
$auto_hide_mode = array(
|
187 |
+
'auto_hide_yes' => array(
|
188 |
+
'value' => 'true',
|
189 |
+
'label' => 'Activate auto hide'
|
190 |
+
),
|
191 |
+
'auto_hide_no' => array(
|
192 |
+
'value' => 'false',
|
193 |
+
'label' => 'Deactivate auto hide'
|
194 |
+
),
|
195 |
+
);
|
196 |
+
|
197 |
+
|
198 |
+
// Function to generate options page
|
199 |
+
function wcf_options_framwrork() {
|
200 |
+
global $wcf_options, $auto_hide_mode;
|
201 |
+
|
202 |
+
if ( ! isset( $_REQUEST['updated'] ) )
|
203 |
+
$_REQUEST['updated'] = false; // This checks whether the form has just been submitted. ?>
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
<div class="wrap">
|
208 |
+
<style type="text/css">
|
209 |
+
.welcome-panel-column p{padding-right:20px}
|
210 |
+
.installing_message h2{background: none repeat scroll 0 0 green;
|
211 |
+
color: #fff;
|
212 |
+
line-height: 30px;
|
213 |
+
padding: 20px;
|
214 |
+
text-align: center;}
|
215 |
+
|
216 |
+
.wcp-purchase-btn-area{
|
217 |
+
clear: both;
|
218 |
+
text-align: center;
|
219 |
+
padding-top: 60px;
|
220 |
+
padding-bottom: 30px;
|
221 |
+
}
|
222 |
+
|
223 |
+
.welcome-panel-column img{
|
224 |
+
width: 90%;
|
225 |
+
}
|
226 |
+
</style>
|
227 |
+
<div class="installing_message">
|
228 |
+
<h2>Thank you for installing our free plugin</h2>
|
229 |
+
</div>
|
230 |
+
|
231 |
+
|
232 |
+
<div class="welcome-panel" id="welcome-panel">
|
233 |
+
|
234 |
+
<div class="welcome-panel-content">
|
235 |
+
<h2>Want some cool features of this plugin?</h2>
|
236 |
+
<p class="about-description">We've added 100+ extra features in our premium version of this plugin. Let see some amazing features.</p>
|
237 |
+
<br>
|
238 |
+
<div class="welcome-panel-column-container">
|
239 |
+
<div class="welcome-panel-column">
|
240 |
+
<h3>Link to carousel items</h3>
|
241 |
+
<p>You can link to each carousel item easily. You can add link to each carousel in media manager. Just add your link there, your carousel items will lined to that URL.</p>
|
242 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#logo-caruosel" target="_blank" class="button button-primary">See Link to Carousel Items Demo</a>
|
243 |
+
</div>
|
244 |
+
|
245 |
+
<div class="welcome-panel-column">
|
246 |
+
<h3>Items customization</h3>
|
247 |
+
<p>You can customize how many carousel item will show in your carousel. You just have to add an attribute in carousel shortcode wherever you want.</p>
|
248 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#items-customization" target="_blank" class="button button-primary">See Item Customization Demo</a>
|
249 |
+
</div>
|
250 |
+
|
251 |
+
<div class="welcome-panel-column welcome-panel-last">
|
252 |
+
<h3>One page Carousel Slider</h3>
|
253 |
+
<p>You are able to build one item carousel slider. Its like image slider. You can add slider title & description too. You can change slider colors with your dream color!</p>
|
254 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#one-pages-arousel-slider" target="_blank" class="button button-primary">See One page Carousel Slider Demo</a>
|
255 |
+
</div>
|
256 |
+
</div>
|
257 |
+
|
258 |
+
|
259 |
+
<div class="welcome-panel-column-container">
|
260 |
+
|
261 |
+
<div class="welcome-panel-column">
|
262 |
+
<h3>Slider with Different Effects</h3>
|
263 |
+
<p>Different types of slider effect can make your slider unique & stunning to look. You are able to set your desired effect easily using attribute in shortcodes.</p>
|
264 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#one-pages-arousel-slider" target="_blank" class="button button-primary">See Slider with Different Effects Demo</a>
|
265 |
+
</div>
|
266 |
+
|
267 |
+
<div class="welcome-panel-column">
|
268 |
+
<h3>Unlimited Colors</h3>
|
269 |
+
<p>Premium version of this plugin supports unlimited colors! You can add any color that match your current theme. You can use color name or color HEX code.</p>
|
270 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#logo-caruosel" target="_blank" class="button button-primary">See Unlimited Colors Demo</a>
|
271 |
+
</div>
|
272 |
+
|
273 |
+
<div class="welcome-panel-column welcome-panel-last">
|
274 |
+
<h3>Post Carousel Slider with Excerpt</h3>
|
275 |
+
<p>You can create post excerpt carousel slider as well. This will show featured image, some amount of post content & a readmore button. This is cool for large type of post! </p>
|
276 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#post-carousel" target="_blank" class="button button-primary">See Post Carousel Slider with Excerpt Demo</a>
|
277 |
+
</div>
|
278 |
+
|
279 |
+
</div>
|
280 |
+
|
281 |
+
<div class="welcome-panel-column-container">
|
282 |
+
|
283 |
+
<div class="welcome-panel-column">
|
284 |
+
<h3>Post slider without Readmore</h3>
|
285 |
+
<p>You can also create post carousel slider without readmore as well. This will show featured image, text of your post without a readmore button. This is cool for small post!</p>
|
286 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#" target="_blank" class="button button-primary">See Post slider without Readmore Demo</a>
|
287 |
+
</div>
|
288 |
+
|
289 |
+
<div class="welcome-panel-column">
|
290 |
+
<h3>Custom Post Excerpt Slider</h3>
|
291 |
+
<p>You can build excerpt slider form different page or custom post too. Just you have to define post type in carousel shortcode. Its super easy to use!</p>
|
292 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#Woocommerce" target="_blank" class="button button-primary">See Custom Post Excerpt Slider Demo</a>
|
293 |
+
</div>
|
294 |
+
|
295 |
+
<div class="welcome-panel-column welcome-panel-last">
|
296 |
+
<h3>Testimonial Slider with different Styles</h3>
|
297 |
+
<p>There are many styles of clients testimonials. You can show your client's testimonials in your site as well. Hence you need define attribute in carousel shortcode.</p>
|
298 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#testimonial" target="_blank" class="button button-primary">See Testimonial Slider Demo</a>
|
299 |
+
</div>
|
300 |
+
|
301 |
+
</div>
|
302 |
+
|
303 |
+
<div class="welcome-panel-column-container">
|
304 |
+
|
305 |
+
<div class="welcome-panel-column">
|
306 |
+
<h3>Carousel from WooCommerce Product</h3>
|
307 |
+
<p>Using this premium version plugin, you can add woocommerce product slider too. This will show product image, product description & read more button.</p>
|
308 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#Woocommerce" target="_blank" class="button button-primary">See Carousel from WooCommerce Product Demo</a>
|
309 |
+
</div>
|
310 |
+
|
311 |
+
<div class="welcome-panel-column">
|
312 |
+
<h3>Carousel from WooCommerce Product Category</h3>
|
313 |
+
<p>This is a fantastic features for premium version, you can show woocommerce product slider from category with product image, t description & read more button.</p>
|
314 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#Woocommerce" target="_blank" class="button button-primary">See Carousel WooCom Product Category Demo</a>
|
315 |
+
</div>
|
316 |
+
|
317 |
+
<div class="welcome-panel-column welcome-panel-last">
|
318 |
+
<h3>Carousel with Lightbox</h3>
|
319 |
+
<p>We've added lightbox features in premium version of this plugin. You only have to turn on lightbox via shortcode. Its fully responsive and super easy to use!</p>
|
320 |
+
<a href="https://shapedplugin.com/demo/wordpress-carousel-pro/#lightbox" target="_blank" class="button button-primary">See Carousel with Lightbox Demo</a>
|
321 |
+
</div>
|
322 |
+
|
323 |
+
</div>
|
324 |
+
<br/><br/><br>
|
325 |
+
|
326 |
+
<div class="wcp-purchase-btn-area">
|
327 |
+
<h3>Cool! you are ready to enable those features in only $29. </h3>
|
328 |
+
<p class="about-description">Watch demo before purchase. I know you must like the demos. Thanks for reading features. Good luck with creating carousels in your WordPress site.</p>
|
329 |
+
|
330 |
+
<a href="https://shapedplugin.com/plugin/wordpress-carousel-pro" class="button button-primary
|
331 |
+
button-hero">Buy Premium Version Now. Only $29</a>
|
332 |
+
</div>
|
333 |
+
|
334 |
+
<br/><br/>
|
335 |
+
|
336 |
+
|
337 |
+
</div>
|
338 |
+
</div>
|
339 |
+
|
340 |
+
|
341 |
+
</div>
|
342 |
+
|
343 |
+
|
344 |
+
|
345 |
+
<?php
|
346 |
+
}
|
347 |
+
|
348 |
+
|
349 |
+
|
350 |
+
endif; // EndIf is_admin()
|
351 |
+
|
352 |
+
|
353 |
+
register_activation_hook(__FILE__, 'my_plugin_activate');
|
354 |
+
add_action('admin_init', 'my_plugin_redirect');
|
355 |
+
|
356 |
+
function my_plugin_activate() {
|
357 |
+
add_option('my_plugin_do_activation_redirect', true);
|
358 |
+
}
|
359 |
+
|
360 |
+
function my_plugin_redirect() {
|
361 |
+
if (get_option('my_plugin_do_activation_redirect', false)) {
|
362 |
+
delete_option('my_plugin_do_activation_redirect');
|
363 |
+
if(!isset($_GET['activate-multi']))
|
364 |
+
{
|
365 |
+
wp_redirect("options-general.php?page=wcf-settings");
|
366 |
+
}
|
367 |
+
}
|
368 |
+
}
|
369 |
+
|
370 |
+
?>
|
readme.txt
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== WordPress Carousel Free ===
|
2 |
+
Contributors: rubel_miah, shapedplugin
|
3 |
+
Donate link: http://shapedplugin.com/donate
|
4 |
+
Tags: carousel, slider, carousel plugin, testimonial, best testimonial, client testimonials plugin, wordpress testimonial, smooth testimonial, woocommerce slider, woocommerce product slider, woocommerce product carousel, lightbox, nice lightbox, carousel slider, logo carousel, carousel shortcode, client carousel, easy carousel, best logo carousel, best carousel, easy logo carousel, best client logo carousel, best logo slider, image carousel, image slider, post carousel, post slider, logo carousel, Nice carousel, responsive carousel, touch carousel, wordpress carousel, top logo slider, shortcode slider, shortcode carousel, free logo slider carousel, animations, autoplay, ecommerce, product, product carousel, product category, product slider, product slider carousel, product slider categories
|
5 |
+
Requires at least: 4.0
|
6 |
+
Tested up to: 4.7.3
|
7 |
+
License: GPLv2 or later
|
8 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
+
|
10 |
+
WordPress Carousel Free is a carousel plugin. By using WordPress gallery shortcode, you can build awesome carousel.
|
11 |
+
|
12 |
+
|
13 |
+
== Description ==
|
14 |
+
[Live Demo](http://shapedplugin.com/demo/wordpress-carousel-pro/) | [Upgrade to PRO](http://shapedplugin.com/plugin/wordpress-carousel-pro/) | [Documentation](https://shapedplugin.com/docs/docs/wordpress-carousel-pro/) | [Support](https://shapedplugin.com/support/)
|
15 |
+
|
16 |
+
[youtube https://www.youtube.com/watch?v=hX84VfMKOBA]
|
17 |
+
|
18 |
+
WordPress Carousel Free is a carousel plugin for your WordPress website. You can easily create carousel using your regular media uploader. This plugin has nice combination in WordPress regular gallery.
|
19 |
+
|
20 |
+
Default WordPress gallery shortcode is <code>[gallery ids="39,38,37,36,35,34,31"]</code>. Just add 'wcf' before the gallery text. So, your shortcode will be <code>[wcfgallery ids="39,38,37,36,35,34,31"]</code>. Easy enough!
|
21 |
+
|
22 |
+
You can add unlimited carousel in page or post or anywhere you want.
|
23 |
+
|
24 |
+
**Plugin Features**:
|
25 |
+
<ul>
|
26 |
+
<li>100% Responsive</li>
|
27 |
+
<li>Lightweight, Easy to install and use</li>
|
28 |
+
<li>Easy to configure and add to your site</li>
|
29 |
+
<li>Shortcodes to be used everywhere</li>
|
30 |
+
<li>Translation Ready</li>
|
31 |
+
<li>Touch and Swipe enabled</li>
|
32 |
+
<li>Compatible with any Theme</li>
|
33 |
+
<li>Developer friendly & easy to customize</li>
|
34 |
+
<li>Best practices of CSS3 and HTML5</li>
|
35 |
+
<li>Support all browsers: Firefox, Chrome, IE, Safari, etc</li>
|
36 |
+
<li>SEO friendly & optimized</li>
|
37 |
+
<li>Free Basic Support</li>
|
38 |
+
</ul>
|
39 |
+
|
40 |
+
== WordPress Carousel PRO ==
|
41 |
+
|
42 |
+
Want more features? This plugin has a <a href="http://shapedplugin.com/plugin/wordpress-carousel-pro/">Premium Version</a> with cool features. Check it out now!
|
43 |
+
|
44 |
+
**Pro Version Features**:
|
45 |
+
<ul>
|
46 |
+
<li>30+ Different Carousel Examples</li>
|
47 |
+
<li>Slide any post type (e.g. post, page, product, portfolio etc.)</li>
|
48 |
+
<li>Carousel with AutoPlay on/off</li>
|
49 |
+
<li>Control carousel sliding speed</li>
|
50 |
+
<li>Smooth bullet control system</li>
|
51 |
+
<li>Bullets with numbers</li>
|
52 |
+
<li>Show/hide the bullets</li>
|
53 |
+
<li>Simple navigation arrows</li>
|
54 |
+
<li>Show/hide the navigation arrows</li>
|
55 |
+
<li>Unlimited custom colors</li>
|
56 |
+
<li>Different types of sliding effects</li>
|
57 |
+
<li>Stop on mouse hover for carousel items</li>
|
58 |
+
<li>Display unlimited number of carousel items</li>
|
59 |
+
<li>Set number of displayed items in devices (mobile, tablet, desktop)</li>
|
60 |
+
<li>Re-order the carousel items</li>
|
61 |
+
<li>Display carousel items from multiple categories</li>
|
62 |
+
<li>Unlimited Carousel anywhere (post, page, template, widget or sidebar)</li>
|
63 |
+
<li>Easy-to-use interface allows you to create and manage carousel with no coding skills!</li>
|
64 |
+
<li>Set the items Dimension: (width or height) to keep an aspect ratio from settings</li>
|
65 |
+
<li>Carousel items auto & fixed height option</li>
|
66 |
+
<li>Link to carousel items with external link</li>
|
67 |
+
<li>External link opening with new tab option</li>
|
68 |
+
<li>Carousel items order by (date, title, modified, author, random)</li>
|
69 |
+
<li>Carousel items order (Descending, Ascending)</li>
|
70 |
+
<li>Logo Carousel</li>
|
71 |
+
<li>Post carousel from post, page, category</li>
|
72 |
+
<li>Custom post carousel with excerpt or read more</li>
|
73 |
+
<li>Show/hide excerpt or read more</li>
|
74 |
+
<li>Read more button text customization option</li>
|
75 |
+
<li>Post carousel with the only image</li>
|
76 |
+
<li>Show/hide post title and description</li>
|
77 |
+
<li>7+ different style Testimonial slider</li>
|
78 |
+
<li>Testimonials from specific categories</li>
|
79 |
+
<li>One page slider (single item) with title & description</li>
|
80 |
+
<li>Show/hide image title & description</li>
|
81 |
+
<li>WooCommerce Product carousel slider</li>
|
82 |
+
<li>Display WooCommerce Product carousel from category</li>
|
83 |
+
<li>WooCommerce product image, description & read more button</li>
|
84 |
+
<li>Image Carousel</li>
|
85 |
+
<li>Lightbox functionality for carousel images</li>
|
86 |
+
<li>Title for Lightbox images</li>
|
87 |
+
<li>Smart lazy-loading option for images</li>
|
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>
|
94 |
+
<li>7 Days money back guarantee </li>
|
95 |
+
<li>And many more options…</li>
|
96 |
+
</ul>
|
97 |
+
|
98 |
+
|
99 |
+
The most advanced WordPress Carousel PRO Plugin with Endless Possibilities!
|
100 |
+
The Perfect way to display Carousel of your Logos, Post, Image, Testimonial, WooCommerce Products or any custom post types and many more.
|
101 |
+
|
102 |
+
|
103 |
+
<h4>Need More?</h4>
|
104 |
+
As far as we are concerned, this is the next feature we want to include, if you have any suggestions, please <a href="https://shapedplugin.com/contact-us/">let us know</a>.
|
105 |
+
|
106 |
+
|
107 |
+
|
108 |
+
== Installation ==
|
109 |
+
|
110 |
+
Installing this plugin as regular WordPress plugin.
|
111 |
+
|
112 |
+
After install, you are ready to use carousel in your post, page, widget or anywhere you like. How to create carousel? lets see.
|
113 |
+
|
114 |
+
Now we are going to add a carousel in a regular page. Go to Page > Add New. Click on "Add Media", then you can see media uploader. Now click on "Create gallery, then upload some photos here."
|
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, in WordPress 3.9.1, 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"]
|
119 |
+
|
120 |
+
Now save your page, then visit the newly created page & see something awesome. :)
|
121 |
+
|
122 |
+
|
123 |
+
== Screenshots ==
|
124 |
+
|
125 |
+
1. Uploading Media > Creating gallery.
|
126 |
+
2. Carousel Demo.
|
127 |
+
3. Premium Version Demo.
|
128 |
+
|
129 |
+
== Changelog ==
|
130 |
+
|
131 |
+
= 1.4 =
|
132 |
+
* Fixed navigation css issue
|
133 |
+
|
134 |
+
= 1.3 =
|
135 |
+
* Fixed navigation issue
|
136 |
+
|
137 |
+
= 1.2 =
|
138 |
+
* Fixed error
|
139 |
+
|
140 |
+
= 1.1 =
|
141 |
+
* Fixed autoPlay
|
142 |
+
|
143 |
+
= 1.0 =
|
144 |
+
* First Release
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
|