Version Description
- New feature added, PhotoMorph
- Glider, hash navigation disabled due to unwanted URL endings (#null)
- Teleporter, fixed dysfunctional "Effect Duration" option
Download this release
Release Info
Developer | ooohboi |
Plugin | OoohBoi Steroids for Elementor |
Version | 1.5.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.9 to 1.5.0
- assets/css/admin.css +8 -0
- assets/css/editor.css +4 -2
- assets/img/RemPro.png +0 -0
- assets/js/ooohboi-steroids-min.js +1 -1
- assets/js/ooohboi-steroids.js +45 -7
- controls/ooohboi-photomorph.php +237 -0
- controls/ooohboi-teleporter.php +1 -1
- inc/common-functions.php +8 -1
- lang/ooohboi-steroids.pot +81 -25
- ooohboi-steroids.php +5 -2
- readme.txt +15 -5
assets/css/admin.css
CHANGED
@@ -6,6 +6,14 @@
|
|
6 |
letter-spacing: -1px;
|
7 |
}
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
.ob-settings-page form h2 + p {
|
10 |
font-size: 20px;
|
11 |
line-height: 32px;
|
6 |
letter-spacing: -1px;
|
7 |
}
|
8 |
|
9 |
+
.ob-settings-page form h2 {
|
10 |
+
margin: 0;
|
11 |
+
}
|
12 |
+
|
13 |
+
.ob-settings-page form img[alt="RemPro.nl"] {
|
14 |
+
max-width: 150px;
|
15 |
+
}
|
16 |
+
|
17 |
.ob-settings-page form h2 + p {
|
18 |
font-size: 20px;
|
19 |
line-height: 32px;
|
assets/css/editor.css
CHANGED
@@ -13,7 +13,8 @@
|
|
13 |
.elementor-control-_ob_videomasq_plugin_title:after,
|
14 |
.elementor-control-_ob_butterbutton:after,
|
15 |
.elementor-control-_ob_perspektive:after,
|
16 |
-
.elementor-control-_ob_shadough:after
|
|
|
17 |
content: "";
|
18 |
position: absolute;
|
19 |
height: 20px;
|
@@ -38,7 +39,8 @@
|
|
38 |
.rtl .elementor-control-_ob_videomasq_plugin_title:after,
|
39 |
.rtl .elementor-control-_ob_butterbutton:after,
|
40 |
.rtl .elementor-control-_ob_perspektive:after,
|
41 |
-
.rtl .elementor-control-_ob_shadough:after
|
|
|
42 |
left: 20px;
|
43 |
right: unset;
|
44 |
}
|
13 |
.elementor-control-_ob_videomasq_plugin_title:after,
|
14 |
.elementor-control-_ob_butterbutton:after,
|
15 |
.elementor-control-_ob_perspektive:after,
|
16 |
+
.elementor-control-_ob_shadough:after,
|
17 |
+
.elementor-control-_ob_photomorph:after {
|
18 |
content: "";
|
19 |
position: absolute;
|
20 |
height: 20px;
|
39 |
.rtl .elementor-control-_ob_videomasq_plugin_title:after,
|
40 |
.rtl .elementor-control-_ob_butterbutton:after,
|
41 |
.rtl .elementor-control-_ob_perspektive:after,
|
42 |
+
.rtl .elementor-control-_ob_shadough:after,
|
43 |
+
.rtl .elementor-control-_ob_photomorph:after {
|
44 |
left: 20px;
|
45 |
right: unset;
|
46 |
}
|
assets/img/RemPro.png
ADDED
Binary file
|
assets/js/ooohboi-steroids-min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
"use strict";!function(e,t){var o=e(t);o.on("elementor/frontend/init",(function(){var t=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPoopArtPerspektive()},initPoopArtPerspektive:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"))},onElementChange:function(e){"_ob_perspektive_use"===e&&("yes"===this.getElementSettings("_ob_perspektive_use")?this.$element.addClass("ob-use-perspektive"):this.$element.removeClass("ob-use-perspektive"))},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")}}),r=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initHarakiri()},initHarakiri:function(){this.isEdit&&"inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")&&this.$element.addClass("ob-harakiri")},onElementChange:function(e){"_ob_harakiri_writing_mode"===e&&("inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")?this.$element.addClass("ob-harakiri"):this.$element.removeClass("ob-harakiri"))}}),s={widget:t,"heading.default":r,"text-editor.default":r,section:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSectionExtends()},isBreakingBad:function(){return this.$element.hasClass("ob-is-breaking-bad")},isGlider:function(){return this.$element.hasClass("ob-is-glider")},onElementChange:function(e){"_ob_bbad_use_it"===e&&("yes"===this.getElementSettings("_ob_bbad_use_it")?this.$element.addClass("ob-is-breaking-bad"):this.$element.removeClass("ob-is-breaking-bad")),"_ob_glider_is_slider"===e&&("yes"===this.getElementSettings("_ob_glider_is_slider")?(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()):"yes"!=this.getElementSettings("_ob_glider_is_slider")&&(this.$element.removeClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"removeClass")))},addClassesRouteGlider:function(t,o){var n=e(t).children(".elementor-container").first();n.length&&n.addClass("swiper-container");var r=e(n).children(".elementor-row").first();r.length&&"addClass"==o?(r.addClass("swiper-wrapper"),e(r).children("div.elementor-column").addClass("swiper-slide")):(e(n).children("div.elementor-column").wrapAll('<div class="swiper-wrapper" />'),e(n).children(".swiper-wrapper").first().children("div.elementor-column").addClass("swiper-slide")),r.length&&"removeClass"==o?(r.removeClass("swiper-wrapper"),e(r).children("div.elementor-column").removeClass("swiper-slide")):(e(n).children("div.elementor-column").unwrap(),e(n).children("div.elementor-column").removeClass("swiper-slide"))},initSectionExtends:function(){this.isEdit?("yes"!==this.getElementSettings("_ob_bbad_use_it")||this.isBreakingBad()||this.$element.addClass("ob-is-breaking-bad"),"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements())):"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements())},initSwiperElements:function(){this.$element.children(".elementor-container .swiper-button-next").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-next"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z"></path></svg></div>'),this.$element.children(".elementor-container .swiper-button-prev").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z"></path></svg></div>'),this.$element.children(".elementor-container .swiper-pagination").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-pagination"></div>');var e={};e.pagination_type=this.getElementSettings("_ob_glider_pagination_type"),e.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),e.autoheight=this.getElementSettings("_ob_glider_auto_h"),e.effect=this.getElementSettings("_ob_glider_effect"),e.loop=this.getElementSettings("_ob_glider_loop"),e.direction=this.getElementSettings("_ob_glider_direction"),e.parallax=this.getElementSettings("_ob_glider_parallax"),e.speed=this.getElementSettings("_ob_glider_speed");var t=this.getElementSettings("_ob_glider_autoplay");e.autoplay=!!t&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},n(this.$element.attr("data-id"),e)}}),column:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.$element.find(".elementor-column-wrap").first().length||this.$element.addClass("ob-is-e3");var e=navigator.userAgent.toLowerCase();e.indexOf("chrome")>-1&&this.teleporterChromeResize(),this.initColumnExtends()},teleporterChromeResize:function(){if(this.isTeleporter()){var e=this,t=this.$element.attr("data-id");o.on("resize",(function(){e.$element.closest(".ob-is-teleporter").addClass("ob-chrome-resize"),clearTimeout(t),t=setTimeout((function(){var t=parseInt(e.$element.closest(".ob-is-teleporter").css("height")),o=e.$element.find(".elementor-column-wrap").first();o.length?o.css({height:t}):e.$element.find(".elementor-widget-wrap").first().css({height:t}),e.$element.closest(".ob-is-teleporter").removeClass("ob-chrome-resize")}),500)})),o.trigger("resize")}},isTeleporter:function(){return this.$element.hasClass("ob-is-teleporter")},initColumnExtends:function(){this.isEdit&&"use-teleporter"===this.getElementSettings("_ob_teleporter_use")&&(this.$element.addClass("ob-is-teleporter"),this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporterEditor()),!this.isEdit&&this.isTeleporter()&&(this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporter())},onElementChange:function(e){"_ob_teleporter_overlay_color"===e?this.$element.find('div[class*="ob-teleporter-"] > .ob-tele-overlay').css("background-color",this.getElementSettings("_ob_teleporter_overlay_color")):"_ob_teleporter_no_pass_tablet"===e?"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")?this.$element.addClass("ob-tele-no-tablet"):this.$element.removeClass("ob-tele-no-tablet"):"_ob_teleporter_no_pass_mobile"===e&&("no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")?this.$element.addClass("ob-tele-no-mobile"):this.$element.removeClass("ob-tele-no-mobile"))},doTeleporterEditor:function(){if("use-teleporter"===this.getElementSettings("_ob_teleporter_use")){var t=this.$element.find(".elementor-widget-wrap").first();if(t.length&&(t.wrapInner('<div class="widget-wrap-children" />'),t.find(".elementor-background-overlay").first().length&&t.find(".elementor-background-overlay").first().insertBefore(t.find(".elementor-background-overlay").first().parent())),"do-pass"===this.getElementSettings("_ob_teleporter_pass")){var o=this,n=this.$element,r=this.$element.attr("data-id");"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")&&this.$element.addClass("ob-tele-no-mobile");var s="section"===this.getElementSettings("_ob_teleporter_pass_element")?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(s.length){s.css("overflow","hidden");var i=this.getElementSettings("_ob_teleporter_pass_effect"),l='<div class="ob-teleporter-'+r+" ob-tele-eff-"+i+'" data-id-teleporter="'+r+'"><div class="ob-tele-overlay" style="background-color: '+this.getElementSettings("_ob_teleporter_overlay_color")+';"></div></div>';e(".ob-teleporter-"+r).length||this.$element.prepend(l),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter mouseleave",(function(t){if("mouseenter"===t.type){if("no-tablet"===o.getElementSettings("_ob_teleporter_no_pass_tablet")&&"tablet"===elementorFrontend.getCurrentDeviceMode())return;if("no-mobile"===o.getElementSettings("_ob_teleporter_no_pass_mobile")&&"mobile"===elementorFrontend.getCurrentDeviceMode())return;if("do-pass"!==o.getElementSettings("_ob_teleporter_pass"))return;var i={"background-color":e(".ob-teleporter-"+r).css("background-color"),"background-image":e(".ob-teleporter-"+r).css("background-image"),"background-position":e(".ob-teleporter-"+r).css("background-position"),"background-size":e(".ob-teleporter-"+r).css("background-size"),"background-repeat":e(".ob-teleporter-"+r).css("background-repeat")};if("section"===o.getElementSettings("_ob_teleporter_pass_element")){var l=s.children().not(".elementor-container").detach();s.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+r)),s.prepend(l)}else s.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+r));e(".ob-teleporter-"+r).css(i).hide(),e(".ob-teleporter-"+r).addClass("ob-teleporter-hover").show()}else s.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+r).removeAttr("style").removeClass("ob-teleporter-hover"),n.prepend(e(".ob-teleporter-"+r))}),100)}))}}}},doTeleporter:function(){var t=e.parseJSON(this.$element.attr("data-settings"));if("use-teleporter"===t._ob_teleporter_use){var o=this.$element.find(".elementor-widget-wrap").first();if(o.length&&(o.wrapInner('<div class="widget-wrap-children" />'),o.find(".elementor-background-overlay").first().length&&o.find(".elementor-background-overlay").first().insertBefore(o.find(".elementor-background-overlay").first().parent())),"do-pass"===t._ob_teleporter_pass){var n=this.$element,r=this.$element.attr("data-id");"no-tablet"===t._ob_teleporter_no_pass_tablet&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===t._ob_teleporter_no_pass_mobile&&this.$element.addClass("ob-tele-no-mobile");var s="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(s.length){s.css("overflow","hidden");var i=t._ob_teleporter_pass_effect,l='<div class="ob-teleporter-'+r+" ob-tele-eff-"+i+'" data-id-teleporter="'+r+'"><div class="ob-tele-overlay" style="background-color: '+t._ob_teleporter_overlay_color+';"></div>';if(e(".ob-teleporter-"+r).length||this.$element.prepend(l),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter",(function(){if(!("no-tablet"===t._ob_teleporter_no_pass_tablet&&"tablet"===elementorFrontend.getCurrentDeviceMode()||"no-mobile"===t._ob_teleporter_no_pass_mobile&&"mobile"===elementorFrontend.getCurrentDeviceMode())){var o={"background-color":e(".ob-teleporter-"+r).css("background-color"),"background-image":e(".ob-teleporter-"+r).css("background-image"),"background-position":e(".ob-teleporter-"+r).css("background-position"),"background-size":e(".ob-teleporter-"+r).css("background-size"),"background-repeat":e(".ob-teleporter-"+r).css("background-repeat")};if("section"===t._ob_teleporter_pass_element){var n=s.children().not(".elementor-container").detach();s.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+r)),s.prepend(n)}else s.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+r));e(".ob-teleporter-"+r).css(o).hide(),e(".ob-teleporter-"+r).show().addClass("ob-teleporter-hover")}})),this.$element.on("mouseleave",(function(){s.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+r).removeAttr("style").removeClass("ob-teleporter-hover"),n.prepend(e(".ob-teleporter-"+r))}),100)})),void 0!==t._ob_teleporter_link){var a=t._ob_teleporter_link;if(""===a.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){a.is_external?window.open(a.url):location.href=a.url}))}}}}}}),"search-form.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSearchCop()},onElementChange:function(e){"_ob_searchcop_srch_options"===e&&this.routeSearchCop()},initSearchCop:function(){this.routeSearchCop()},routeSearchCop:function(){var e=this.getElementSettings("_ob_searchcop_srch_options");if("post"===e||"page"===e){var t=this.$element.find(".elementor-search-form__container");if(!t.length)return;var o='<input type="hidden" name="post_type" value="'+e+'" />';t.prepend(o)}}}),"button.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initButterButton()},isButterButton:function(){return this.$element.hasClass("ob-is-butterbutton")},onElementChange:function(e){"_ob_butterbutton_use_it"===e&&this.routeButterButton()},initButterButton:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_butterbutton_use_it")&&this.$element.addClass("ob-is-butterbutton")},routeButterButton:function(){this.isButterButton()||"yes"!==this.getElementSettings("_ob_butterbutton_use_it")?this.$element.removeClass("ob-is-butterbutton"):this.$element.addClass("ob-is-butterbutton")}})};e.each(s,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}));var n=function(t,o){var n=e(".elementor-element-"+t+" .swiper-container").first(),r=new Swiper(n,{allowTouchMove:"yes"===o.allowTouchMove,autoHeight:"yes"===o.autoheight,effect:o.effect,loop:o.loop,direction:"fade"===o.effect?"horizontal":o.direction,parallax:"yes"===o.parallax,speed:o.speed,navigation:{nextEl:".elementor-element-"+t+" .swiper-button-next",prevEl:".elementor-element-"+t+" .swiper-button-prev"},pagination:{el:".elementor-element-"+t+" .swiper-pagination",type:o.pagination_type,clickable:!0},autoplay:o.autoplay,watchOverflow:!0,hashNavigation:{watchState:!0,replaceState:!0}});n.find(".glider-control").on("click",(function(t){t.preventDefault(),void 0!==e(this).data("gotoslide")&&r.slideTo(parseInt(e(this).data("gotoslide"))-1)}))}}(jQuery,window);
|
1 |
+
"use strict";!function(e,t){var o=e(t);o.on("elementor/frontend/init",(function(){var t=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPoopArtPerspektive()},initPoopArtPerspektive:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"))},onElementChange:function(e){"_ob_perspektive_use"===e&&("yes"===this.getElementSettings("_ob_perspektive_use")?this.$element.addClass("ob-use-perspektive"):this.$element.removeClass("ob-use-perspektive"))},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")}}),s=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initHarakiri()},initHarakiri:function(){this.isEdit&&"inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")&&this.$element.addClass("ob-harakiri")},onElementChange:function(e){"_ob_harakiri_writing_mode"===e&&("inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")?this.$element.addClass("ob-harakiri"):this.$element.removeClass("ob-harakiri"))}}),r={widget:t,"heading.default":s,"text-editor.default":s,section:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSectionExtends()},isBreakingBad:function(){return this.$element.hasClass("ob-is-breaking-bad")},isGlider:function(){return this.$element.hasClass("ob-is-glider")},onElementChange:function(e){"_ob_bbad_use_it"===e&&("yes"===this.getElementSettings("_ob_bbad_use_it")?this.$element.addClass("ob-is-breaking-bad"):this.$element.removeClass("ob-is-breaking-bad")),"_ob_glider_is_slider"===e&&("yes"===this.getElementSettings("_ob_glider_is_slider")?(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()):"yes"!=this.getElementSettings("_ob_glider_is_slider")&&(this.$element.removeClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"removeClass")))},addClassesRouteGlider:function(t,o){var n=e(t).children(".elementor-container").first();n.length&&n.addClass("swiper-container");var s=e(n).children(".elementor-row").first();s.length&&"addClass"==o?(s.addClass("swiper-wrapper"),e(s).children("div.elementor-column").addClass("swiper-slide")):(e(n).children("div.elementor-column").wrapAll('<div class="swiper-wrapper" />'),e(n).children(".swiper-wrapper").first().children("div.elementor-column").addClass("swiper-slide")),s.length&&"removeClass"==o?(s.removeClass("swiper-wrapper"),e(s).children("div.elementor-column").removeClass("swiper-slide")):(e(n).children("div.elementor-column").unwrap(),e(n).children("div.elementor-column").removeClass("swiper-slide"))},initSectionExtends:function(){this.isEdit?("yes"!==this.getElementSettings("_ob_bbad_use_it")||this.isBreakingBad()||this.$element.addClass("ob-is-breaking-bad"),"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements())):"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements())},initSwiperElements:function(){this.$element.children(".elementor-container .swiper-button-next").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-next"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z"></path></svg></div>'),this.$element.children(".elementor-container .swiper-button-prev").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z"></path></svg></div>'),this.$element.children(".elementor-container .swiper-pagination").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-pagination"></div>');var e={};e.pagination_type=this.getElementSettings("_ob_glider_pagination_type"),e.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),e.autoheight=this.getElementSettings("_ob_glider_auto_h"),e.effect=this.getElementSettings("_ob_glider_effect"),e.loop=this.getElementSettings("_ob_glider_loop"),e.direction=this.getElementSettings("_ob_glider_direction"),e.parallax=this.getElementSettings("_ob_glider_parallax"),e.speed=this.getElementSettings("_ob_glider_speed");var t=this.getElementSettings("_ob_glider_autoplay");e.autoplay=!!t&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},n(this.$element.attr("data-id"),e)}}),column:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.$element.find(".elementor-column-wrap").first().length||this.$element.addClass("ob-is-e3");var e=navigator.userAgent.toLowerCase();e.indexOf("chrome")>-1&&this.teleporterChromeResize(),this.initColumnExtends()},teleporterChromeResize:function(){if(this.isTeleporter()){var e=this,t=this.$element.attr("data-id");o.on("resize",(function(){e.$element.closest(".ob-is-teleporter").addClass("ob-chrome-resize"),clearTimeout(t),t=setTimeout((function(){var t=parseInt(e.$element.closest(".ob-is-teleporter").css("height")),o=e.$element.find(".elementor-column-wrap").first();o.length?o.css({height:t}):e.$element.find(".elementor-widget-wrap").first().css({height:t}),e.$element.closest(".ob-is-teleporter").removeClass("ob-chrome-resize")}),500)})),o.trigger("resize")}},isTeleporter:function(){return this.$element.hasClass("ob-is-teleporter")},initColumnExtends:function(){this.isEdit&&"use-teleporter"===this.getElementSettings("_ob_teleporter_use")&&(this.$element.addClass("ob-is-teleporter"),this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporterEditor()),!this.isEdit&&this.isTeleporter()&&(this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporter())},onElementChange:function(e){"_ob_teleporter_overlay_color"===e?this.$element.find('div[class*="ob-teleporter-"] > .ob-tele-overlay').css("background-color",this.getElementSettings("_ob_teleporter_overlay_color")):"_ob_teleporter_no_pass_tablet"===e?"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")?this.$element.addClass("ob-tele-no-tablet"):this.$element.removeClass("ob-tele-no-tablet"):"_ob_teleporter_no_pass_mobile"===e&&("no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")?this.$element.addClass("ob-tele-no-mobile"):this.$element.removeClass("ob-tele-no-mobile"))},doTeleporterEditor:function(){if("use-teleporter"===this.getElementSettings("_ob_teleporter_use")){var t=this.$element.find(".elementor-widget-wrap").first();if(t.length&&(t.wrapInner('<div class="widget-wrap-children" />'),t.find(".elementor-background-overlay").first().length&&t.find(".elementor-background-overlay").first().insertBefore(t.find(".elementor-background-overlay").first().parent())),"do-pass"===this.getElementSettings("_ob_teleporter_pass")){var o=this,n=this.$element,s=this.$element.attr("data-id");"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")&&this.$element.addClass("ob-tele-no-mobile");var r="section"===this.getElementSettings("_ob_teleporter_pass_element")?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(r.length){r.css("overflow","hidden");var i=this.getElementSettings("_ob_teleporter_pass_effect"),l='<div class="ob-teleporter-'+s+" ob-tele-eff-"+i+'" data-id-teleporter="'+s+'"><div class="ob-tele-overlay" style="background-color: '+this.getElementSettings("_ob_teleporter_overlay_color")+';"></div></div>';e(".ob-teleporter-"+s).length||this.$element.prepend(l),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter mouseleave",(function(t){if("mouseenter"===t.type){if("no-tablet"===o.getElementSettings("_ob_teleporter_no_pass_tablet")&&"tablet"===elementorFrontend.getCurrentDeviceMode())return;if("no-mobile"===o.getElementSettings("_ob_teleporter_no_pass_mobile")&&"mobile"===elementorFrontend.getCurrentDeviceMode())return;if("do-pass"!==o.getElementSettings("_ob_teleporter_pass"))return;var i={"background-color":e(".ob-teleporter-"+s).css("background-color"),"background-image":e(".ob-teleporter-"+s).css("background-image"),"background-position":e(".ob-teleporter-"+s).css("background-position"),"background-size":e(".ob-teleporter-"+s).css("background-size"),"background-repeat":e(".ob-teleporter-"+s).css("background-repeat")};if("section"===o.getElementSettings("_ob_teleporter_pass_element")){var l=r.children().not(".elementor-container").detach();r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),r.prepend(l)}else r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s));e(".ob-teleporter-"+s).css(i).hide(),e(".ob-teleporter-"+s).addClass("ob-teleporter-hover").show()}else r.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+s).removeAttr("style").removeClass("ob-teleporter-hover"),n.prepend(e(".ob-teleporter-"+s))}),100)}))}}}},doTeleporter:function(){var t=e.parseJSON(this.$element.attr("data-settings"));if("use-teleporter"===t._ob_teleporter_use){var o=this.$element.find(".elementor-widget-wrap").first();if(o.length&&(o.wrapInner('<div class="widget-wrap-children" />'),o.find(".elementor-background-overlay").first().length&&o.find(".elementor-background-overlay").first().insertBefore(o.find(".elementor-background-overlay").first().parent())),"do-pass"===t._ob_teleporter_pass){var n=this.$element,s=this.$element.attr("data-id");"no-tablet"===t._ob_teleporter_no_pass_tablet&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===t._ob_teleporter_no_pass_mobile&&this.$element.addClass("ob-tele-no-mobile");var r="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(r.length){r.css("overflow","hidden");var i=t._ob_teleporter_pass_effect,l='<div class="ob-teleporter-'+s+" ob-tele-eff-"+i+'" data-id-teleporter="'+s+'"><div class="ob-tele-overlay" style="background-color: '+t._ob_teleporter_overlay_color+';"></div>';if(e(".ob-teleporter-"+s).length||this.$element.prepend(l),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter",(function(){if(!("no-tablet"===t._ob_teleporter_no_pass_tablet&&"tablet"===elementorFrontend.getCurrentDeviceMode()||"no-mobile"===t._ob_teleporter_no_pass_mobile&&"mobile"===elementorFrontend.getCurrentDeviceMode())){var o={"background-color":e(".ob-teleporter-"+s).css("background-color"),"background-image":e(".ob-teleporter-"+s).css("background-image"),"background-position":e(".ob-teleporter-"+s).css("background-position"),"background-size":e(".ob-teleporter-"+s).css("background-size"),"background-repeat":e(".ob-teleporter-"+s).css("background-repeat")};if("section"===t._ob_teleporter_pass_element){var n=r.children().not(".elementor-container").detach();r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),r.prepend(n)}else r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s));e(".ob-teleporter-"+s).css(o).hide(),e(".ob-teleporter-"+s).show().addClass("ob-teleporter-hover")}})),this.$element.on("mouseleave",(function(){r.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+s).removeAttr("style").removeClass("ob-teleporter-hover"),n.prepend(e(".ob-teleporter-"+s))}),100)})),void 0!==t._ob_teleporter_link){var a=t._ob_teleporter_link;if(""===a.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){a.is_external?window.open(a.url):location.href=a.url}))}}}}}}),"search-form.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSearchCop()},onElementChange:function(e){"_ob_searchcop_srch_options"===e&&this.routeSearchCop()},initSearchCop:function(){this.routeSearchCop()},routeSearchCop:function(){var e=this.getElementSettings("_ob_searchcop_srch_options");if("post"===e||"page"===e){var t=this.$element.find(".elementor-search-form__container");if(!t.length)return;var o='<input type="hidden" name="post_type" value="'+e+'" />';t.prepend(o)}}}),"button.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initButterButton()},isButterButton:function(){return this.$element.hasClass("ob-is-butterbutton")},onElementChange:function(e){"_ob_butterbutton_use_it"===e&&this.routeButterButton()},initButterButton:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_butterbutton_use_it")&&this.$element.addClass("ob-is-butterbutton")},routeButterButton:function(){this.isButterButton()||"yes"!==this.getElementSettings("_ob_butterbutton_use_it")?this.$element.removeClass("ob-is-butterbutton"):this.$element.addClass("ob-is-butterbutton")}}),"image.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPhotoMorph()},isPhotoMorph:function(){return this.$element.hasClass("ob-photomorph")},onElementChange:function(e){"_ob_photomorph_use"===e&&this.routePhotoMorph()},initPhotoMorph:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_photomorph_use")&&this.$element.addClass("ob-photomorph")},routePhotoMorph:function(){this.isPhotoMorph()||"yes"!==this.getElementSettings("_ob_photomorph_use")?this.$element.removeClass("ob-photomorph"):this.$element.addClass("ob-photomorph")}})};e.each(r,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}));var n=function(t,o){var n=e(".elementor-element-"+t+" .swiper-container").first(),s=new Swiper(n,{allowTouchMove:"yes"===o.allowTouchMove,autoHeight:"yes"===o.autoheight,effect:o.effect,loop:o.loop,direction:"fade"===o.effect?"horizontal":o.direction,parallax:"yes"===o.parallax,speed:o.speed,navigation:{nextEl:".elementor-element-"+t+" .swiper-button-next",prevEl:".elementor-element-"+t+" .swiper-button-prev"},pagination:{el:".elementor-element-"+t+" .swiper-pagination",type:o.pagination_type,clickable:!0},autoplay:o.autoplay,watchOverflow:!0});n.find(".glider-control").on("click",(function(t){void 0!==e(this).data("gotoslide")&&s.slideTo(parseInt(e(this).data("gotoslide"))-1),t.preventDefault()}))}}(jQuery,window);
|
assets/js/ooohboi-steroids.js
CHANGED
@@ -521,6 +521,47 @@
|
|
521 |
},
|
522 |
|
523 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
524 |
} );
|
525 |
|
526 |
var handlersList = {
|
@@ -531,7 +572,8 @@
|
|
531 |
'section': SectionExtends,
|
532 |
'column': ColumnExtends,
|
533 |
'search-form.default': SearchCop,
|
534 |
-
'button.default' : ButterButton
|
|
|
535 |
|
536 |
};
|
537 |
|
@@ -570,17 +612,13 @@
|
|
570 |
},
|
571 |
autoplay: settings.autoplay,
|
572 |
watchOverflow : true, /* gotta force it down */
|
573 |
-
hashNavigation: {
|
574 |
-
watchState: true,
|
575 |
-
replaceState: true,
|
576 |
-
},
|
577 |
} );
|
578 |
-
|
579 |
the_s.find( '.glider-control' ).on( 'click', function( e ) {
|
580 |
-
e.preventDefault();
|
581 |
if( typeof $( this ).data( 'gotoslide' ) !== 'undefined' ) {
|
582 |
me_the_swiper.slideTo( parseInt( $( this ).data( 'gotoslide' ) ) - 1 );
|
583 |
}
|
|
|
584 |
} );
|
585 |
|
586 |
}
|
521 |
},
|
522 |
|
523 |
|
524 |
+
} );
|
525 |
+
|
526 |
+
var PhotoMorph = elementorModules.frontend.handlers.Base.extend( {
|
527 |
+
|
528 |
+
onInit: function() {
|
529 |
+
|
530 |
+
elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
|
531 |
+
this.initPhotoMorph();
|
532 |
+
|
533 |
+
},
|
534 |
+
|
535 |
+
isPhotoMorph: function() {
|
536 |
+
|
537 |
+
return this.$element.hasClass( 'ob-photomorph' );
|
538 |
+
|
539 |
+
},
|
540 |
+
|
541 |
+
onElementChange: function( changedProp ) {
|
542 |
+
|
543 |
+
if( changedProp === '_ob_photomorph_use' ) {
|
544 |
+
this.routePhotoMorph();
|
545 |
+
}
|
546 |
+
|
547 |
+
},
|
548 |
+
|
549 |
+
initPhotoMorph: function() {
|
550 |
+
|
551 |
+
if( this.isEdit && 'yes' === this.getElementSettings( '_ob_photomorph_use' ) ) {
|
552 |
+
this.$element.addClass( 'ob-photomorph' );
|
553 |
+
}
|
554 |
+
|
555 |
+
},
|
556 |
+
|
557 |
+
routePhotoMorph: function() {
|
558 |
+
|
559 |
+
if( ! this.isPhotoMorph() && 'yes' === this.getElementSettings( '_ob_photomorph_use' ) ) this.$element.addClass( 'ob-photomorph' );
|
560 |
+
else this.$element.removeClass( 'ob-photomorph' );
|
561 |
+
|
562 |
+
},
|
563 |
+
|
564 |
+
|
565 |
} );
|
566 |
|
567 |
var handlersList = {
|
572 |
'section': SectionExtends,
|
573 |
'column': ColumnExtends,
|
574 |
'search-form.default': SearchCop,
|
575 |
+
'button.default' : ButterButton,
|
576 |
+
'image.default' : PhotoMorph
|
577 |
|
578 |
};
|
579 |
|
612 |
},
|
613 |
autoplay: settings.autoplay,
|
614 |
watchOverflow : true, /* gotta force it down */
|
|
|
|
|
|
|
|
|
615 |
} );
|
616 |
+
|
617 |
the_s.find( '.glider-control' ).on( 'click', function( e ) {
|
|
|
618 |
if( typeof $( this ).data( 'gotoslide' ) !== 'undefined' ) {
|
619 |
me_the_swiper.slideTo( parseInt( $( this ).data( 'gotoslide' ) ) - 1 );
|
620 |
}
|
621 |
+
e.preventDefault();
|
622 |
} );
|
623 |
|
624 |
}
|
controls/ooohboi-photomorph.php
ADDED
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
use Elementor\Controls_Manager;
|
3 |
+
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
5 |
+
exit; // Exit if accessed directly.
|
6 |
+
}
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Main OoohBoi OoohBoi_PhotoMorph
|
10 |
+
*
|
11 |
+
* The main class that initiates and runs the plugin.
|
12 |
+
*
|
13 |
+
* @since 1.5.0
|
14 |
+
*/
|
15 |
+
final class OoohBoi_PhotoMorph {
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Initialize
|
19 |
+
*
|
20 |
+
* @since 1.5.0
|
21 |
+
*
|
22 |
+
* @access public
|
23 |
+
*/
|
24 |
+
public static function init() {
|
25 |
+
|
26 |
+
add_action( 'elementor/element/image/section_style_image/before_section_end', [ __CLASS__, 'ooohboi_photomorph_get_controls' ], 10, 2 );
|
27 |
+
add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
|
28 |
+
|
29 |
+
}
|
30 |
+
|
31 |
+
public static function add_attributes( $element ) {
|
32 |
+
|
33 |
+
if ( 'image' !== $element->get_name() ) return;
|
34 |
+
if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
|
35 |
+
|
36 |
+
$settings = $element->get_settings_for_display();
|
37 |
+
|
38 |
+
if ( isset( $settings[ '_ob_photomorph_use' ] ) && 'yes' === $settings[ '_ob_photomorph_use' ] ) {
|
39 |
+
|
40 |
+
$element->add_render_attribute( '_wrapper', [
|
41 |
+
'class' => 'ob-photomorph'
|
42 |
+
] );
|
43 |
+
|
44 |
+
}
|
45 |
+
|
46 |
+
}
|
47 |
+
|
48 |
+
public static function ooohboi_photomorph_get_controls( $element, $args ) {
|
49 |
+
|
50 |
+
$element->add_control(
|
51 |
+
'_ob_photomorph',
|
52 |
+
[
|
53 |
+
'label' => 'P H O T O M O R P H',
|
54 |
+
'type' => Controls_Manager::HEADING,
|
55 |
+
'separator' => 'before',
|
56 |
+
]
|
57 |
+
);
|
58 |
+
|
59 |
+
// ------------------------------------------------------------------------- CONTROL: Yes 4 PhotoMorph !
|
60 |
+
$element->add_control(
|
61 |
+
'_ob_photomorph_use',
|
62 |
+
[
|
63 |
+
'label' => __( 'Enable PhotoMorph', 'ooohboi-steroids' ),
|
64 |
+
'description' => __( 'That will allow you to add the custom clip-path for both Normal and Hover Image widget.', 'ooohboi-steroids' ),
|
65 |
+
'type' => Controls_Manager::SWITCHER,
|
66 |
+
'label_on' => __( 'Yes', 'ooohboi-steroids' ),
|
67 |
+
'label_off' => __( 'No', 'ooohboi-steroids' ),
|
68 |
+
'return_value' => 'yes',
|
69 |
+
'default' => 'no',
|
70 |
+
'frontend_available' => true,
|
71 |
+
]
|
72 |
+
);
|
73 |
+
|
74 |
+
// ------------------------------------------------------------------------- START 2 TABS Normal & Hover
|
75 |
+
$element->start_controls_tabs( '_ob_photomorph_tabs' );
|
76 |
+
|
77 |
+
// ------------------------------------------------------------------------- START TAB Normal
|
78 |
+
$element->start_controls_tab(
|
79 |
+
'_ob_photomorph_tab_normal',
|
80 |
+
[
|
81 |
+
'label' => __( 'Normal', 'ooohboi-steroids' ),
|
82 |
+
]
|
83 |
+
);
|
84 |
+
|
85 |
+
$element->add_control(
|
86 |
+
'_ob_photomorph_clip_path_normal',
|
87 |
+
[
|
88 |
+
'description' => sprintf(
|
89 |
+
__( 'Enter the full clip-path property! See the copy-paste examples at %sClippy%s', 'ooohboi-steroids' ),
|
90 |
+
'<a href="https://bennettfeely.com/clippy/" target="_blank">',
|
91 |
+
'</a>'
|
92 |
+
),
|
93 |
+
'default' => '',
|
94 |
+
'type' => Controls_Manager::TEXTAREA,
|
95 |
+
'rows' => 3,
|
96 |
+
'selectors' => [
|
97 |
+
'{{WRAPPER}}.ob-photomorph img' => '{{VALUE}}',
|
98 |
+
],
|
99 |
+
'condition' => [
|
100 |
+
'_ob_photomorph_use' => 'yes',
|
101 |
+
],
|
102 |
+
]
|
103 |
+
);
|
104 |
+
|
105 |
+
$element->end_controls_tab(); // Normal tab end
|
106 |
+
|
107 |
+
// ------------------------------------------------------------------------- START TAB Hover
|
108 |
+
$element->start_controls_tab(
|
109 |
+
'_ob_photomorph_tab_hover',
|
110 |
+
[
|
111 |
+
'label' => __( 'Hover', 'ooohboi-steroids' ),
|
112 |
+
]
|
113 |
+
);
|
114 |
+
|
115 |
+
$element->add_control(
|
116 |
+
'_ob_photomorph_clip_path_hover',
|
117 |
+
[
|
118 |
+
'description' => sprintf(
|
119 |
+
__( 'Enter the full clip-path property! See the copy-paste examples at %sClippy%s', 'ooohboi-steroids' ),
|
120 |
+
'<a href="https://bennettfeely.com/clippy/" target="_blank">',
|
121 |
+
'</a>'
|
122 |
+
),
|
123 |
+
'default' => '',
|
124 |
+
'type' => Controls_Manager::TEXTAREA,
|
125 |
+
'rows' => 3,
|
126 |
+
'selectors' => [
|
127 |
+
'{{WRAPPER}}.ob-photomorph:hover img' => '{{VALUE}}',
|
128 |
+
],
|
129 |
+
'condition' => [
|
130 |
+
'_ob_photomorph_use' => 'yes',
|
131 |
+
],
|
132 |
+
]
|
133 |
+
);
|
134 |
+
|
135 |
+
// ------------------------------------------------------------------------- CONTROL: Animate clip-path
|
136 |
+
$element->add_control(
|
137 |
+
'_ob_photomorph_animate',
|
138 |
+
[
|
139 |
+
'label' => __( 'Animate Hover?', 'ooohboi-steroids' ),
|
140 |
+
'description' => __( 'To ensure the smooth transition, be sure that the number of nodes of the Normal state clip-path EQUALS the number of nodes of the Hover state!', 'ooohboi-steroids' ),
|
141 |
+
'type' => Controls_Manager::SWITCHER,
|
142 |
+
'label_on' => __( 'Yes', 'ooohboi-steroids' ),
|
143 |
+
'label_off' => __( 'No', 'ooohboi-steroids' ),
|
144 |
+
'return_value' => 'yes',
|
145 |
+
'default' => 'no',
|
146 |
+
'condition' => [
|
147 |
+
'_ob_photomorph_use' => 'yes',
|
148 |
+
],
|
149 |
+
]
|
150 |
+
);
|
151 |
+
|
152 |
+
// --------------------------------------------------------------------------------------------- CONTROL Animation Duration
|
153 |
+
$element->add_responsive_control(
|
154 |
+
'_ob_photomorph_anim_duration',
|
155 |
+
[
|
156 |
+
'label' => __( 'Animation duration', 'ooohboi-steroids' ),
|
157 |
+
'type' => Controls_Manager::SLIDER,
|
158 |
+
'render_type' => 'template',
|
159 |
+
'default' => [
|
160 |
+
'size' => 0.3,
|
161 |
+
],
|
162 |
+
'range' => [
|
163 |
+
'px' => [
|
164 |
+
'min' => 0,
|
165 |
+
'max' => 1,
|
166 |
+
'step' => 0.1,
|
167 |
+
],
|
168 |
+
],
|
169 |
+
'selectors' => [
|
170 |
+
'{{WRAPPER}}.ob-photomorph img' => 'transition: clip-path {{SIZE}}s {{_ob_photomorph_anim_easing.VALUE}} {{_ob_photomorph_anim_delay.SIZE}}s;',
|
171 |
+
],
|
172 |
+
'condition' => [
|
173 |
+
'_ob_photomorph_use' => 'yes',
|
174 |
+
'_ob_photomorph_animate' => 'yes',
|
175 |
+
],
|
176 |
+
]
|
177 |
+
);
|
178 |
+
|
179 |
+
// ------------------------------------------------------------------------- CONTROL: Animation easing
|
180 |
+
$element->add_control(
|
181 |
+
'_ob_photomorph_anim_easing',
|
182 |
+
[
|
183 |
+
'label' => __( 'Animation effect', 'ooohboi-steroids' ),
|
184 |
+
'type' => Controls_Manager::SELECT,
|
185 |
+
'default' => 'ease',
|
186 |
+
'frontend_available' => true,
|
187 |
+
'separator' => 'before',
|
188 |
+
'options' => [
|
189 |
+
'ease' => __( 'Default', 'ooohboi-steroids' ),
|
190 |
+
'ease-in' => __( 'Ease-in', 'ooohboi-steroids' ),
|
191 |
+
'ease-out' => __( 'Ease-out', 'ooohboi-steroids' ),
|
192 |
+
'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
|
193 |
+
],
|
194 |
+
'selectors' => [
|
195 |
+
'{{WRAPPER}}.ob-photomorph img' => 'transition: clip-path {{_ob_photomorph_anim_duration.SIZE}}s {{VALUE}} {{_ob_photomorph_anim_delay.SIZE}}s;',
|
196 |
+
],
|
197 |
+
'condition' => [
|
198 |
+
'_ob_photomorph_use' => 'yes',
|
199 |
+
'_ob_photomorph_animate' => 'yes',
|
200 |
+
],
|
201 |
+
]
|
202 |
+
);
|
203 |
+
|
204 |
+
// --------------------------------------------------------------------------------------------- CONTROL Animation Delay
|
205 |
+
$element->add_responsive_control(
|
206 |
+
'_ob_photomorph_anim_delay',
|
207 |
+
[
|
208 |
+
'label' => __( 'Animation delay', 'ooohboi-steroids' ),
|
209 |
+
'type' => Controls_Manager::SLIDER,
|
210 |
+
'render_type' => 'template',
|
211 |
+
'default' => [
|
212 |
+
'value' => 0,
|
213 |
+
],
|
214 |
+
'range' => [
|
215 |
+
'px' => [
|
216 |
+
'min' => 0,
|
217 |
+
'max' => 1,
|
218 |
+
'step' => 0.1,
|
219 |
+
],
|
220 |
+
],
|
221 |
+
'selectors' => [
|
222 |
+
'{{WRAPPER}}.ob-photomorph img' => 'transition: clip-path {{_ob_photomorph_anim_duration.SIZE}}s {{_ob_photomorph_anim_easing.VALUE}} {{SIZE}}s;',
|
223 |
+
],
|
224 |
+
'condition' => [
|
225 |
+
'_ob_photomorph_use' => 'yes',
|
226 |
+
'_ob_photomorph_animate' => 'yes',
|
227 |
+
],
|
228 |
+
]
|
229 |
+
);
|
230 |
+
|
231 |
+
$element->end_controls_tab(); // Hover tab end
|
232 |
+
|
233 |
+
$element->end_controls_tabs(); // Normal & Hover tabs end
|
234 |
+
|
235 |
+
}
|
236 |
+
|
237 |
+
}
|
controls/ooohboi-teleporter.php
CHANGED
@@ -342,7 +342,7 @@ final class OoohBoi_Teleporter {
|
|
342 |
],
|
343 |
],
|
344 |
'selectors' => [
|
345 |
-
'{{WRAPPER}}.ob-is-teleporter .
|
346 |
],
|
347 |
'condition' => [
|
348 |
'_ob_teleporter_use' => 'use-teleporter',
|
342 |
],
|
343 |
],
|
344 |
'selectors' => [
|
345 |
+
'{{WRAPPER}}.ob-is-teleporter .widget-wrap-children, .ob-tele-eff-fade, .ob-tele-eff-zoom, .ob-tele-eff-stutter' => 'transition-duration: {{SIZE}}ms;',
|
346 |
],
|
347 |
'condition' => [
|
348 |
'_ob_teleporter_use' => 'use-teleporter',
|
inc/common-functions.php
CHANGED
@@ -10,7 +10,8 @@ $options_page = array(
|
|
10 |
'sections' => array(
|
11 |
'section-ob-options' => array(
|
12 |
'title' => ' ',
|
13 |
-
'text' => __( '<p>The following extensions are currently available with Steroids for Elementor add-on.<br/>Enable or disable particular extension by switching it ON or OFF.</p>', 'ooohboi-steroids' ),
|
|
|
14 |
'fields' => array(
|
15 |
'ob_use_harakiri' => array(
|
16 |
'title' => 'HARAKIRI',
|
@@ -89,6 +90,12 @@ $options_page = array(
|
|
89 |
'type' => 'checkbox',
|
90 |
'text' => esc_attr__( 'Create the shadow that conforms the shape', 'ooohboi-steroids' ),
|
91 |
'checked' => 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
),
|
93 |
),
|
94 |
),
|
10 |
'sections' => array(
|
11 |
'section-ob-options' => array(
|
12 |
'title' => ' ',
|
13 |
+
'text' => sprintf( __( '<img src="%s" alt="RemPro.nl" /><br/><br/><p>The following extensions are currently available with Steroids for Elementor add-on.<br/>Enable or disable particular extension by switching it ON or OFF.</p>', 'ooohboi-steroids' ),
|
14 |
+
plugin_dir_url( __DIR__ ) . 'assets/img/RemPro.png' ),
|
15 |
'fields' => array(
|
16 |
'ob_use_harakiri' => array(
|
17 |
'title' => 'HARAKIRI',
|
90 |
'type' => 'checkbox',
|
91 |
'text' => esc_attr__( 'Create the shadow that conforms the shape', 'ooohboi-steroids' ),
|
92 |
'checked' => 1,
|
93 |
+
),
|
94 |
+
'ob_use_photomorph' => array(
|
95 |
+
'title' => 'PHOTO MORPH',
|
96 |
+
'type' => 'checkbox',
|
97 |
+
'text' => esc_attr__( 'Allows you to add the clip-path to the Image widget for Normal and Hover state.', 'ooohboi-steroids' ),
|
98 |
+
'checked' => 1,
|
99 |
),
|
100 |
),
|
101 |
),
|
lang/ooohboi-steroids.pot
CHANGED
@@ -3,14 +3,14 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: OoohBoi Steroids for Elementor\n"
|
6 |
-
"POT-Creation-Date: 2020-
|
7 |
-
"PO-Revision-Date: 2020-
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 2.
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
|
16 |
"X-Poedit-WPHeader: ooohboi-steroids.php\n"
|
@@ -39,7 +39,8 @@ msgstr ""
|
|
39 |
#: controls/ooohboi-glider.php:556 controls/ooohboi-harakiri.php:81
|
40 |
#: controls/ooohboi-overlaiz.php:61 controls/ooohboi-overlay-underlay.php:1203
|
41 |
#: controls/ooohboi-overlay-underlay.php:1222 controls/ooohboi-paginini.php:220
|
42 |
-
#: controls/ooohboi-perspektive.php:74 controls/ooohboi-
|
|
|
43 |
msgid "Yes"
|
44 |
msgstr ""
|
45 |
|
@@ -51,7 +52,8 @@ msgstr ""
|
|
51 |
#: controls/ooohboi-glider.php:557 controls/ooohboi-harakiri.php:82
|
52 |
#: controls/ooohboi-overlaiz.php:62 controls/ooohboi-overlay-underlay.php:1204
|
53 |
#: controls/ooohboi-overlay-underlay.php:1223 controls/ooohboi-paginini.php:221
|
54 |
-
#: controls/ooohboi-perspektive.php:75 controls/ooohboi-
|
|
|
55 |
msgid "No"
|
56 |
msgstr ""
|
57 |
|
@@ -191,7 +193,8 @@ msgstr ""
|
|
191 |
msgid "Box Shadow"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: controls/ooohboi-butter-button.php:290 controls/ooohboi-
|
|
|
195 |
msgid "Hover"
|
196 |
msgstr ""
|
197 |
|
@@ -362,7 +365,7 @@ msgid "Vertical RL"
|
|
362 |
msgstr ""
|
363 |
|
364 |
#: controls/ooohboi-harakiri.php:67 controls/ooohboi-overlay-underlay.php:130
|
365 |
-
#: controls/ooohboi-overlay-underlay.php:704
|
366 |
#: controls/ooohboi-teleporter.php:129
|
367 |
msgid "Normal"
|
368 |
msgstr ""
|
@@ -380,7 +383,8 @@ msgstr ""
|
|
380 |
#: controls/ooohboi-harakiri.php:122 controls/ooohboi-overlay-underlay.php:509
|
381 |
#: controls/ooohboi-overlay-underlay.php:537
|
382 |
#: controls/ooohboi-overlay-underlay.php:1055
|
383 |
-
#: controls/ooohboi-overlay-underlay.php:1082
|
|
|
384 |
#: controls/ooohboi-videomasq.php:103
|
385 |
msgid "Default"
|
386 |
msgstr ""
|
@@ -451,7 +455,8 @@ msgstr ""
|
|
451 |
msgid "Clip path"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: controls/ooohboi-overlaiz.php:436
|
|
|
455 |
#, php-format
|
456 |
msgid ""
|
457 |
"Enter the full clip-path property! See the copy-paste examples at %sClippy%s"
|
@@ -771,6 +776,50 @@ msgid ""
|
|
771 |
"(Column) uses the fixed height."
|
772 |
msgstr ""
|
773 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
774 |
#: controls/ooohboi-searchcop.php:45
|
775 |
msgid "Search Target"
|
776 |
msgstr ""
|
@@ -919,68 +968,75 @@ msgid ""
|
|
919 |
msgstr ""
|
920 |
|
921 |
#: inc/common-functions.php:13
|
|
|
922 |
msgid ""
|
923 |
-
"<p>The following extensions
|
924 |
-
"Elementor add-on.<br/>Enable or
|
925 |
-
"ON or OFF.</p>"
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: inc/common-functions.php:
|
929 |
msgid ""
|
930 |
"Allows you to change the writing mode of the Heading and Text Editor widgets"
|
931 |
msgstr ""
|
932 |
|
933 |
-
#: inc/common-functions.php:
|
934 |
msgid "Add an overlay or underlay ghost-element to any Elementor Widget"
|
935 |
msgstr ""
|
936 |
|
937 |
-
#: inc/common-functions.php:
|
938 |
msgid ""
|
939 |
"An awesome set of options for the Background Overlay element manipulation"
|
940 |
msgstr ""
|
941 |
|
942 |
-
#: inc/common-functions.php:
|
943 |
msgid "It allows you to style up the posts pagination in Elementor"
|
944 |
msgstr ""
|
945 |
|
946 |
-
#: inc/common-functions.php:
|
947 |
msgid "A must to have extension for the Section and Columns"
|
948 |
msgstr ""
|
949 |
|
950 |
-
#: inc/common-functions.php:
|
951 |
msgid "The content slider made out of Section and Columns (Swiper)"
|
952 |
msgstr ""
|
953 |
|
954 |
-
#: inc/common-functions.php:
|
955 |
msgid "Make the Image widget full-height of the container"
|
956 |
msgstr ""
|
957 |
|
958 |
-
#: inc/common-functions.php:
|
959 |
msgid "The Column hover controls for an exceptional effects"
|
960 |
msgstr ""
|
961 |
|
962 |
-
#: inc/common-functions.php:
|
963 |
msgid "Decide what to search for; posts only, pages only or everything"
|
964 |
msgstr ""
|
965 |
|
966 |
-
#: inc/common-functions.php:
|
967 |
msgid ""
|
968 |
"Add the SVG mask to the Section video background and let the video play "
|
969 |
"inside any shape"
|
970 |
msgstr ""
|
971 |
|
972 |
-
#: inc/common-functions.php:
|
973 |
msgid "Design awesome buttons in Elementor"
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: inc/common-functions.php:
|
977 |
msgid "A small set of options that allow you to move widgets in 3D space"
|
978 |
msgstr ""
|
979 |
|
980 |
-
#: inc/common-functions.php:
|
981 |
msgid "Create the shadow that conforms the shape"
|
982 |
msgstr ""
|
983 |
|
|
|
|
|
|
|
|
|
|
|
|
|
984 |
#. Plugin Name of the plugin/theme
|
985 |
msgid "OoohBoi Steroids for Elementor"
|
986 |
msgstr ""
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: OoohBoi Steroids for Elementor\n"
|
6 |
+
"POT-Creation-Date: 2020-09-03 17:15+0200\n"
|
7 |
+
"PO-Revision-Date: 2020-09-03 17:15+0200\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 2.4.1\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
|
16 |
"X-Poedit-WPHeader: ooohboi-steroids.php\n"
|
39 |
#: controls/ooohboi-glider.php:556 controls/ooohboi-harakiri.php:81
|
40 |
#: controls/ooohboi-overlaiz.php:61 controls/ooohboi-overlay-underlay.php:1203
|
41 |
#: controls/ooohboi-overlay-underlay.php:1222 controls/ooohboi-paginini.php:220
|
42 |
+
#: controls/ooohboi-perspektive.php:74 controls/ooohboi-photomorph.php:66
|
43 |
+
#: controls/ooohboi-photomorph.php:142 controls/ooohboi-shadough.php:50
|
44 |
msgid "Yes"
|
45 |
msgstr ""
|
46 |
|
52 |
#: controls/ooohboi-glider.php:557 controls/ooohboi-harakiri.php:82
|
53 |
#: controls/ooohboi-overlaiz.php:62 controls/ooohboi-overlay-underlay.php:1204
|
54 |
#: controls/ooohboi-overlay-underlay.php:1223 controls/ooohboi-paginini.php:221
|
55 |
+
#: controls/ooohboi-perspektive.php:75 controls/ooohboi-photomorph.php:67
|
56 |
+
#: controls/ooohboi-photomorph.php:143 controls/ooohboi-shadough.php:51
|
57 |
msgid "No"
|
58 |
msgstr ""
|
59 |
|
193 |
msgid "Box Shadow"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: controls/ooohboi-butter-button.php:290 controls/ooohboi-photomorph.php:111
|
197 |
+
#: controls/ooohboi-teleporter.php:174
|
198 |
msgid "Hover"
|
199 |
msgstr ""
|
200 |
|
365 |
msgstr ""
|
366 |
|
367 |
#: controls/ooohboi-harakiri.php:67 controls/ooohboi-overlay-underlay.php:130
|
368 |
+
#: controls/ooohboi-overlay-underlay.php:704 controls/ooohboi-photomorph.php:81
|
369 |
#: controls/ooohboi-teleporter.php:129
|
370 |
msgid "Normal"
|
371 |
msgstr ""
|
383 |
#: controls/ooohboi-harakiri.php:122 controls/ooohboi-overlay-underlay.php:509
|
384 |
#: controls/ooohboi-overlay-underlay.php:537
|
385 |
#: controls/ooohboi-overlay-underlay.php:1055
|
386 |
+
#: controls/ooohboi-overlay-underlay.php:1082
|
387 |
+
#: controls/ooohboi-photomorph.php:189 controls/ooohboi-videomasq.php:75
|
388 |
#: controls/ooohboi-videomasq.php:103
|
389 |
msgid "Default"
|
390 |
msgstr ""
|
455 |
msgid "Clip path"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: controls/ooohboi-overlaiz.php:436 controls/ooohboi-photomorph.php:89
|
459 |
+
#: controls/ooohboi-photomorph.php:119
|
460 |
#, php-format
|
461 |
msgid ""
|
462 |
"Enter the full clip-path property! See the copy-paste examples at %sClippy%s"
|
776 |
"(Column) uses the fixed height."
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: controls/ooohboi-photomorph.php:63
|
780 |
+
msgid "Enable PhotoMorph"
|
781 |
+
msgstr ""
|
782 |
+
|
783 |
+
#: controls/ooohboi-photomorph.php:64
|
784 |
+
msgid ""
|
785 |
+
"That will allow you to add the custom clip-path for both Normal and Hover "
|
786 |
+
"Image widget."
|
787 |
+
msgstr ""
|
788 |
+
|
789 |
+
#: controls/ooohboi-photomorph.php:139
|
790 |
+
msgid "Animate Hover?"
|
791 |
+
msgstr ""
|
792 |
+
|
793 |
+
#: controls/ooohboi-photomorph.php:140
|
794 |
+
msgid ""
|
795 |
+
"To ensure the smooth transition, be sure that the number of nodes of the "
|
796 |
+
"Normal state clip-path EQUALS the number of nodes of the Hover state!"
|
797 |
+
msgstr ""
|
798 |
+
|
799 |
+
#: controls/ooohboi-photomorph.php:156
|
800 |
+
msgid "Animation duration"
|
801 |
+
msgstr ""
|
802 |
+
|
803 |
+
#: controls/ooohboi-photomorph.php:183
|
804 |
+
msgid "Animation effect"
|
805 |
+
msgstr ""
|
806 |
+
|
807 |
+
#: controls/ooohboi-photomorph.php:190
|
808 |
+
msgid "Ease-in"
|
809 |
+
msgstr ""
|
810 |
+
|
811 |
+
#: controls/ooohboi-photomorph.php:191
|
812 |
+
msgid "Ease-out"
|
813 |
+
msgstr ""
|
814 |
+
|
815 |
+
#: controls/ooohboi-photomorph.php:192
|
816 |
+
msgid "Ease-in-out"
|
817 |
+
msgstr ""
|
818 |
+
|
819 |
+
#: controls/ooohboi-photomorph.php:208
|
820 |
+
msgid "Animation delay"
|
821 |
+
msgstr ""
|
822 |
+
|
823 |
#: controls/ooohboi-searchcop.php:45
|
824 |
msgid "Search Target"
|
825 |
msgstr ""
|
968 |
msgstr ""
|
969 |
|
970 |
#: inc/common-functions.php:13
|
971 |
+
#, php-format
|
972 |
msgid ""
|
973 |
+
"<img src=\"%s\" alt=\"RemPro.nl\" /><br/><br/><p>The following extensions "
|
974 |
+
"are currently available with Steroids for Elementor add-on.<br/>Enable or "
|
975 |
+
"disable particular extension by switching it ON or OFF.</p>"
|
976 |
msgstr ""
|
977 |
|
978 |
+
#: inc/common-functions.php:19
|
979 |
msgid ""
|
980 |
"Allows you to change the writing mode of the Heading and Text Editor widgets"
|
981 |
msgstr ""
|
982 |
|
983 |
+
#: inc/common-functions.php:25
|
984 |
msgid "Add an overlay or underlay ghost-element to any Elementor Widget"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: inc/common-functions.php:31
|
988 |
msgid ""
|
989 |
"An awesome set of options for the Background Overlay element manipulation"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: inc/common-functions.php:37
|
993 |
msgid "It allows you to style up the posts pagination in Elementor"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: inc/common-functions.php:43
|
997 |
msgid "A must to have extension for the Section and Columns"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: inc/common-functions.php:49
|
1001 |
msgid "The content slider made out of Section and Columns (Swiper)"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: inc/common-functions.php:55
|
1005 |
msgid "Make the Image widget full-height of the container"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: inc/common-functions.php:61
|
1009 |
msgid "The Column hover controls for an exceptional effects"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: inc/common-functions.php:67
|
1013 |
msgid "Decide what to search for; posts only, pages only or everything"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: inc/common-functions.php:73
|
1017 |
msgid ""
|
1018 |
"Add the SVG mask to the Section video background and let the video play "
|
1019 |
"inside any shape"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: inc/common-functions.php:79
|
1023 |
msgid "Design awesome buttons in Elementor"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: inc/common-functions.php:85
|
1027 |
msgid "A small set of options that allow you to move widgets in 3D space"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
+
#: inc/common-functions.php:91
|
1031 |
msgid "Create the shadow that conforms the shape"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
+
#: inc/common-functions.php:97
|
1035 |
+
msgid ""
|
1036 |
+
"Allows you to add the clip-path to the Image widget for Normal and Hover "
|
1037 |
+
"state."
|
1038 |
+
msgstr ""
|
1039 |
+
|
1040 |
#. Plugin Name of the plugin/theme
|
1041 |
msgid "OoohBoi Steroids for Elementor"
|
1042 |
msgstr ""
|
ooohboi-steroids.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: OoohBoi Steroids for Elementor
|
4 |
* Description: An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels.
|
5 |
-
* Version: 1.
|
6 |
* Author: OoohBoi
|
7 |
* Author URI: https://www.youtube.com/c/OoohBoi
|
8 |
* Text Domain: ooohboi-steroids
|
@@ -31,7 +31,7 @@ final class OoohBoi_Steroids {
|
|
31 |
*
|
32 |
* @var string The plugin version.
|
33 |
*/
|
34 |
-
const VERSION = '1.
|
35 |
|
36 |
/**
|
37 |
* Minimum Elementor Version
|
@@ -212,6 +212,7 @@ final class OoohBoi_Steroids {
|
|
212 |
OoohBoi_Butter_Button::init(); // OoohBoi Butter Button
|
213 |
OoohBoi_Perspektive::init(); // OoohBoi Perspektive
|
214 |
OoohBoi_Shadough::init(); // OoohBoi Shadough
|
|
|
215 |
} else {
|
216 |
// Init Extensions
|
217 |
if( isset( $ob_settings_options[ 'harakiri' ] ) && 'on' === $ob_settings_options[ 'harakiri' ] ) OoohBoi_Harakiri::init(); // OoohBoi Harakiri
|
@@ -227,6 +228,7 @@ final class OoohBoi_Steroids {
|
|
227 |
if( isset( $ob_settings_options[ 'butter_button' ] ) && 'on' === $ob_settings_options[ 'butter_button' ] ) OoohBoi_Butter_Button::init(); // OoohBoi Butter Button
|
228 |
if( isset( $ob_settings_options[ 'perspektive' ] ) && 'on' === $ob_settings_options[ 'perspektive' ] ) OoohBoi_Perspektive::init(); // OoohBoi Perspektive
|
229 |
if( isset( $ob_settings_options[ 'shadough' ] ) && 'on' === $ob_settings_options[ 'shadough' ] ) OoohBoi_Shadough::init(); // OoohBoi Shadough
|
|
|
230 |
}
|
231 |
|
232 |
}
|
@@ -298,6 +300,7 @@ final class OoohBoi_Steroids {
|
|
298 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-butter-button.php'; // OoohBoi Butter Button
|
299 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-perspektive.php'; // OoohBoi Perspektive
|
300 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-shadough.php'; // OoohBoi Shadough
|
|
|
301 |
|
302 |
}
|
303 |
|
2 |
/**
|
3 |
* Plugin Name: OoohBoi Steroids for Elementor
|
4 |
* Description: An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels.
|
5 |
+
* Version: 1.5.0
|
6 |
* Author: OoohBoi
|
7 |
* Author URI: https://www.youtube.com/c/OoohBoi
|
8 |
* Text Domain: ooohboi-steroids
|
31 |
*
|
32 |
* @var string The plugin version.
|
33 |
*/
|
34 |
+
const VERSION = '1.5.0';
|
35 |
|
36 |
/**
|
37 |
* Minimum Elementor Version
|
212 |
OoohBoi_Butter_Button::init(); // OoohBoi Butter Button
|
213 |
OoohBoi_Perspektive::init(); // OoohBoi Perspektive
|
214 |
OoohBoi_Shadough::init(); // OoohBoi Shadough
|
215 |
+
OoohBoi_PhotoMorph::init(); // OoohBoi PhotoMorph
|
216 |
} else {
|
217 |
// Init Extensions
|
218 |
if( isset( $ob_settings_options[ 'harakiri' ] ) && 'on' === $ob_settings_options[ 'harakiri' ] ) OoohBoi_Harakiri::init(); // OoohBoi Harakiri
|
228 |
if( isset( $ob_settings_options[ 'butter_button' ] ) && 'on' === $ob_settings_options[ 'butter_button' ] ) OoohBoi_Butter_Button::init(); // OoohBoi Butter Button
|
229 |
if( isset( $ob_settings_options[ 'perspektive' ] ) && 'on' === $ob_settings_options[ 'perspektive' ] ) OoohBoi_Perspektive::init(); // OoohBoi Perspektive
|
230 |
if( isset( $ob_settings_options[ 'shadough' ] ) && 'on' === $ob_settings_options[ 'shadough' ] ) OoohBoi_Shadough::init(); // OoohBoi Shadough
|
231 |
+
if( isset( $ob_settings_options[ 'photo_morph' ] ) && 'on' === $ob_settings_options[ 'photo_morph' ] ) OoohBoi_PhotoMorph::init(); // OoohBoi PhotoMorph
|
232 |
}
|
233 |
|
234 |
}
|
300 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-butter-button.php'; // OoohBoi Butter Button
|
301 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-perspektive.php'; // OoohBoi Perspektive
|
302 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-shadough.php'; // OoohBoi Shadough
|
303 |
+
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-photomorph.php'; // OoohBoi PhotoMorph
|
304 |
|
305 |
}
|
306 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: page-builder, elementor, add-on, background-overlay, vertical text, ghost
|
|
4 |
Donate link: https://www.paypal.me/ooohboi
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag: 1.
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0
|
@@ -19,9 +19,9 @@ Boost your Elementor with some fresh and yet innovative options.
|
|
19 |
|
20 |
An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels thing.
|
21 |
|
22 |
-
= NEW ADD-ON NOW AVAILABLE -
|
23 |
|
24 |
-
From now on you can
|
25 |
|
26 |
= In the package so far =
|
27 |
|
@@ -67,7 +67,10 @@ A small set of options that allow you to move widgets in 3D space
|
|
67 |
14. SHADOUGH
|
68 |
This extension allows you to create the shadow that conforms the shape.
|
69 |
|
70 |
-
15.
|
|
|
|
|
|
|
71 |
|
72 |
== Installation ==
|
73 |
|
@@ -76,7 +79,7 @@ This extension allows you to create the shadow that conforms the shape.
|
|
76 |
|
77 |
== Upgrade Notice ==
|
78 |
|
79 |
-
1.
|
80 |
|
81 |
== Frequently Asked Questions ==
|
82 |
|
@@ -110,9 +113,16 @@ No, you don't. It'll work with both free version of Elementor and Elementor PRO.
|
|
110 |
16. BUTTER BUTTON options
|
111 |
17. PERSPEKTIVE options
|
112 |
18. SHADOUGH options
|
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
= 1.4.9 =
|
117 |
- Butter Button fix
|
118 |
- Fixed problem with all extensions been initially hidden upon update
|
4 |
Donate link: https://www.paypal.me/ooohboi
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 1.5.0
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0
|
19 |
|
20 |
An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels thing.
|
21 |
|
22 |
+
= NEW ADD-ON NOW AVAILABLE - PHOTOMORPH =
|
23 |
|
24 |
+
From now on you can add the clip-path to the Image widget for Normal and Hover state, animate the clip-path property and thus create the morphing effect on mouse over.
|
25 |
|
26 |
= In the package so far =
|
27 |
|
67 |
14. SHADOUGH
|
68 |
This extension allows you to create the shadow that conforms the shape.
|
69 |
|
70 |
+
15. PHOTOMORPH
|
71 |
+
From now on you can add the clip-path to the Image widget for Normal and Hover state.
|
72 |
+
|
73 |
+
16. MORE TO COME SOON!
|
74 |
|
75 |
== Installation ==
|
76 |
|
79 |
|
80 |
== Upgrade Notice ==
|
81 |
|
82 |
+
1.5.0 - Beware of the changes in the language file!
|
83 |
|
84 |
== Frequently Asked Questions ==
|
85 |
|
113 |
16. BUTTER BUTTON options
|
114 |
17. PERSPEKTIVE options
|
115 |
18. SHADOUGH options
|
116 |
+
19. PHOTOMORPH options
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
= 1.5.0 =
|
121 |
+
- New feature added, PhotoMorph
|
122 |
+
- Glider, hash navigation disabled due to unwanted URL endings (#null)
|
123 |
+
- Teleporter, fixed dysfunctional "Effect Duration" option
|
124 |
+
|
125 |
+
|
126 |
= 1.4.9 =
|
127 |
- Butter Button fix
|
128 |
- Fixed problem with all extensions been initially hidden upon update
|