Version Description
- New feature added, WIDGET STALKER
- Teleporter, fixed disfunctional column-link
- SearchCop, added search filter for "product" post type (WooCommerce required)
Download this release
Release Info
Developer | ooohboi |
Plugin | OoohBoi Steroids for Elementor |
Version | 1.6.0 |
Comparing to | |
See all releases |
Code changes from version 1.5.9 to 1.6.0
- assets/css/editor.css +11 -2
- assets/js/ooohboi-steroids-min.js +1 -1
- assets/js/ooohboi-steroids.js +26 -18
- controls/ooohboi-breaking-bad.php +80 -2
- controls/ooohboi-overlay-underlay.php +4 -3
- controls/ooohboi-searchcop.php +1 -0
- controls/ooohboi-teleporter.php +2 -2
- controls/ooohboi-widget-stalker.php +128 -0
- inc/common-functions.php +6 -0
- lang/ooohboi-steroids.pot +98 -30
- ooohboi-steroids.php +10 -7
- readme.txt +14 -9
assets/css/editor.css
CHANGED
@@ -21,7 +21,8 @@
|
|
21 |
.elementor-control-_ob_imbox_cont:after,
|
22 |
.elementor-control-_ob_hoveranimator_section_title:after,
|
23 |
.elementor-control-_ob_hoveranimator_panel:after,
|
24 |
-
.elementor-control-_ob_kontrolz:after
|
|
|
25 |
content: "";
|
26 |
position: absolute;
|
27 |
height: 20px;
|
@@ -54,7 +55,8 @@
|
|
54 |
.rtl .elementor-control-_ob_imbox_cont:after,
|
55 |
.rtl .elementor-control-_ob_hoveranimator_section_title:after,
|
56 |
.rtl .elementor-control-_ob_hoveranimator_panel:after,
|
57 |
-
.rtl .elementor-control-_ob_kontrolz:after
|
|
|
58 |
left: 20px;
|
59 |
right: unset;
|
60 |
}
|
@@ -68,4 +70,11 @@ sup.ob-new-feature {
|
|
68 |
color: #FF00BE;
|
69 |
margin-left: 4px;
|
70 |
letter-spacing: 1px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
21 |
.elementor-control-_ob_imbox_cont:after,
|
22 |
.elementor-control-_ob_hoveranimator_section_title:after,
|
23 |
.elementor-control-_ob_hoveranimator_panel:after,
|
24 |
+
.elementor-control-_ob_kontrolz:after,
|
25 |
+
.elementor-control-_ob_widget_stalker:after {
|
26 |
content: "";
|
27 |
position: absolute;
|
28 |
height: 20px;
|
55 |
.rtl .elementor-control-_ob_imbox_cont:after,
|
56 |
.rtl .elementor-control-_ob_hoveranimator_section_title:after,
|
57 |
.rtl .elementor-control-_ob_hoveranimator_panel:after,
|
58 |
+
.rtl .elementor-control-_ob_kontrolz:after,
|
59 |
+
.rtl .elementor-control-_ob_widget_stalker:after {
|
60 |
left: 20px;
|
61 |
right: unset;
|
62 |
}
|
70 |
color: #FF00BE;
|
71 |
margin-left: 4px;
|
72 |
letter-spacing: 1px;
|
73 |
+
}
|
74 |
+
|
75 |
+
/* widget stalker */
|
76 |
+
.elementor-control-type-raw_html .elementor-control-title {
|
77 |
+
font-size: 12px;
|
78 |
+
font-weight: 600;
|
79 |
+
letter-spacing: 2px;
|
80 |
}
|
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.initPoopArtPerspektiveHA(),this.initHoverAnimator()},initPoopArtPerspektiveHA:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"))},initHoverAnimator:function(){this.routeHoverAnimator()},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")),"_ob_allow_hoveranimator"===e&&this.routeHoverAnimator(),-1!==["_ob_hoveranimator_opacity_hover","_ob_hoveranimator_y_hover","_ob_hoveranimator_x_hover","_ob_hoveranimator_rot_hover","_ob_hoveranimator_scalex_hover","_ob_hoveranimator_scaley_hover","_ob_hoveranimator_blur_hover"].indexOf(e)&&this.isHoverAnimator()&&this.doHoverAnimator()},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")},isHoverAnimator:function(){return this.$element.hasClass("ob-is-hoveranimal")},routeHoverAnimator:function(){this.isEdit?(this.isHoverAnimator()||"yes"!==this.getElementSettings("_ob_allow_hoveranimator")||(this.$element.addClass("ob-is-hoveranimal"),this.doHoverAnimator()),this.isHoverAnimator()&&"yes"!==this.getElementSettings("_ob_allow_hoveranimator")&&(this.$element.removeClass("ob-is-hoveranimal"),this.stopHoverAnimator())):!this.isEdit&&this.isHoverAnimator()&&this.doHoverAnimator()},doHoverAnimator:function(){var t=this.$element,o=t.parent().closest(".ob-is-hoveranimator");if(o.length){var n,s,i,r,l,a,h,m,d=o.data("id");this.isEdit?(n=this.getElementSettings("_ob_hoveranimator_opacity_hover"),s=this.getElementSettings("_ob_hoveranimator_y_hover"),i=this.getElementSettings("_ob_hoveranimator_x_hover"),r=this.getElementSettings("_ob_hoveranimator_rot_hover"),a=this.getElementSettings("_ob_hoveranimator_scalex_hover"),l=this.getElementSettings("_ob_hoveranimator_scaley_hover"),h=this.getElementSettings("_ob_hoveranimator_blur_hover")):this.isEdit||(n=(m=e.parseJSON(t.attr("data-settings")))._ob_hoveranimator_opacity_hover,s=m._ob_hoveranimator_y_hover,i=m._ob_hoveranimator_x_hover,r=m._ob_hoveranimator_rot_hover,a=m._ob_hoveranimator_scalex_hover,l=m._ob_hoveranimator_scaley_hover,h=m._ob_hoveranimator_blur_hover);var _={opacity:n.size,top:s.size+s.unit,left:i.size+i.unit,transform:"rotate("+r.size+"deg) scaleX("+a.size+") scaleY("+l.size+")",filter:"blur("+h.size+h.unit+")"};o.on("mouseenter."+d,(function(){t.css(_)})),o.on("mouseleave."+d,(function(){t.removeAttr("style")}))}},stopHoverAnimator:function(){var e=this.$element,t=this.$element.parent().closest(".ob-is-hoveranimator");if(t.length){var o=t.data("id"),n={opacity:"",top:"",left:"",transform:"",filter:""};t.on("mouseenter."+o,(function(){e.css(n)})),t.on("mouseleave."+o,(function(){e.removeAttr("style")}))}}}),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"))}}),i={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")},isInnerSection:function(){return this.$element.hasClass("elementor-inner-section")},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"))),"_ob_bbad_sssic_use"===e&&this.isInnerSection()&&("yes"===this.getElementSettings("_ob_bbad_sssic_use")?this.$element.addClass("ob-is-sticky-inner-section"):this.$element.removeClass("ob-is-sticky-inner-section"))},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(){if(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()),"yes"===this.getElementSettings("_ob_bbad_sssic_use")&&this.isInnerSection()){this.isEdit&&this.$element.addClass("ob-is-sticky-inner-section");var e=this.$element.closest(".elementor-widget-wrap");e.length&&e.addClass("ob-sssic-wrapper")}},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")},isHoverAnimatorCol:function(){return this.$element.hasClass("ob-is-hoveranimator")},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()),this.isEdit&&"yes"===this.getElementSettings("_ob_column_hoveranimator")&&this.$element.addClass("ob-is-hoveranimator")},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")),"_ob_column_hoveranimator"===e&&this.routeHoverAnimatorCol()},routeHoverAnimatorCol:function(){this.isHoverAnimatorCol()||"yes"!==this.getElementSettings("_ob_column_hoveranimator")?this.$element.removeClass("ob-is-hoveranimator"):this.$element.addClass("ob-is-hoveranimator")},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 i="section"===this.getElementSettings("_ob_teleporter_pass_element")?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(i.length){i.css("overflow","hidden");var r=this.getElementSettings("_ob_teleporter_pass_effect"),l='<div class="ob-teleporter-'+s+" ob-tele-eff-"+r+'" 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 r={"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=i.children().not(".elementor-container").detach();i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),i.prepend(l)}else i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s));e(".ob-teleporter-"+s).css(r).hide(),e(".ob-teleporter-"+s).addClass("ob-teleporter-hover").show()}else i.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 i="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(i.length){i.css("overflow","hidden");var r=t._ob_teleporter_pass_effect,l='<div class="ob-teleporter-'+s+" ob-tele-eff-"+r+'" 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=i.children().not(".elementor-container").detach();i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),i.prepend(n)}else i.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(){i.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")}}),"post-comments.theme_comments":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initCommentz()},isCommentz:function(){return this.$element.hasClass("ob-commentz")},onElementChange:function(e){"_ob_commentz_use"===e&&this.routeCommentz()},initCommentz:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_commentz_use")&&this.$element.addClass("ob-commentz")},routeCommentz:function(){this.isCommentz()||"yes"!==this.getElementSettings("_ob_commentz_use")?this.$element.removeClass("ob-commentz"):this.$element.addClass("ob-commentz")}}),"spacer.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSpaceRat()},isSpaceRat:function(){return this.$element.hasClass("ob-spacerat")},onElementChange:function(e){"_ob_spacerat_use"===e&&this.routeSpaceRat()},initSpaceRat:function(){if(this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")&&this.$element.addClass("ob-spacerat"),!this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")){var t=e.parseJSON(this.$element.attr("data-settings"));if(void 0!==t._ob_spacerat_link){var o=t._ob_spacerat_link;if(""===o.url)return;this.$element.off("click.obSpacerat"),this.$element.on("click.obSpacerat",(function(){o.is_external?window.open(o.url):location.href=o.url}))}}},routeSpaceRat:function(){this.isSpaceRat()||"yes"!==this.getElementSettings("_ob_spacerat_use")?this.$element.removeClass("ob-spacerat"):this.$element.addClass("ob-spacerat")}})};e.each(i,(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);
|
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.initPoopArtPerspektiveHA(),this.initHoverAnimator()},initPoopArtPerspektiveHA:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"))},initHoverAnimator:function(){this.routeHoverAnimator()},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")),"_ob_allow_hoveranimator"===e&&this.routeHoverAnimator(),-1!==["_ob_hoveranimator_opacity_hover","_ob_hoveranimator_y_hover","_ob_hoveranimator_x_hover","_ob_hoveranimator_rot_hover","_ob_hoveranimator_scalex_hover","_ob_hoveranimator_scaley_hover","_ob_hoveranimator_blur_hover"].indexOf(e)&&this.isHoverAnimator()&&this.doHoverAnimator()},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")},isHoverAnimator:function(){return this.$element.hasClass("ob-is-hoveranimal")},routeHoverAnimator:function(){this.isEdit?(this.isHoverAnimator()||"yes"!==this.getElementSettings("_ob_allow_hoveranimator")||(this.$element.addClass("ob-is-hoveranimal"),this.doHoverAnimator()),this.isHoverAnimator()&&"yes"!==this.getElementSettings("_ob_allow_hoveranimator")&&(this.$element.removeClass("ob-is-hoveranimal"),this.stopHoverAnimator())):!this.isEdit&&this.isHoverAnimator()&&this.doHoverAnimator()},doHoverAnimator:function(){var t=this.$element,o=t.parent().closest(".ob-is-hoveranimator");if(o.length){var n,s,i,r,l,a,d,h,m=o.data("id");this.isEdit?(n=this.getElementSettings("_ob_hoveranimator_opacity_hover"),s=this.getElementSettings("_ob_hoveranimator_y_hover"),i=this.getElementSettings("_ob_hoveranimator_x_hover"),r=this.getElementSettings("_ob_hoveranimator_rot_hover"),a=this.getElementSettings("_ob_hoveranimator_scalex_hover"),l=this.getElementSettings("_ob_hoveranimator_scaley_hover"),d=this.getElementSettings("_ob_hoveranimator_blur_hover")):this.isEdit||(n=(h=e.parseJSON(t.attr("data-settings")))._ob_hoveranimator_opacity_hover,s=h._ob_hoveranimator_y_hover,i=h._ob_hoveranimator_x_hover,r=h._ob_hoveranimator_rot_hover,a=h._ob_hoveranimator_scalex_hover,l=h._ob_hoveranimator_scaley_hover,d=h._ob_hoveranimator_blur_hover);var _={opacity:n.size,top:s.size+s.unit,left:i.size+i.unit,transform:"rotate("+r.size+"deg) scaleX("+a.size+") scaleY("+l.size+")",filter:"blur("+d.size+d.unit+")"};o.on("mouseenter."+m,(function(){t.css(_)})),o.on("mouseleave."+m,(function(){t.removeAttr("style")}))}},stopHoverAnimator:function(){var e=this.$element,t=this.$element.parent().closest(".ob-is-hoveranimator");if(t.length){var o=t.data("id"),n={opacity:"",top:"",left:"",transform:"",filter:""};t.on("mouseenter."+o,(function(){e.css(n)})),t.on("mouseleave."+o,(function(){e.removeAttr("style")}))}}}),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"))}}),i={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")},isInnerSection:function(){return this.$element.hasClass("elementor-inner-section")},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"))),"_ob_bbad_sssic_use"===e&&this.isInnerSection()&&("yes"===this.getElementSettings("_ob_bbad_sssic_use")?this.$element.addClass("ob-is-sticky-inner-section"):this.$element.removeClass("ob-is-sticky-inner-section"))},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(){if(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()),"yes"===this.getElementSettings("_ob_bbad_sssic_use")&&this.isInnerSection()){this.isEdit&&this.$element.addClass("ob-is-sticky-inner-section");var e=this.$element.closest(".elementor-widget-wrap");e.length&&e.addClass("ob-sssic-wrapper")}},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")},isHoverAnimatorCol:function(){return this.$element.hasClass("ob-is-hoveranimator")},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()),this.isEdit&&"yes"===this.getElementSettings("_ob_column_hoveranimator")&&this.$element.addClass("ob-is-hoveranimator")},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")),"_ob_column_hoveranimator"===e&&this.routeHoverAnimatorCol()},routeHoverAnimatorCol:function(){this.isHoverAnimatorCol()||"yes"!==this.getElementSettings("_ob_column_hoveranimator")?this.$element.removeClass("ob-is-hoveranimator"):this.$element.addClass("ob-is-hoveranimator")},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 i="section"===this.getElementSettings("_ob_teleporter_pass_element")?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(i.length){i.css("overflow","hidden");var r=this.getElementSettings("_ob_teleporter_pass_effect"),l='<div class="ob-teleporter-'+s+" ob-tele-eff-"+r+'" 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 r={"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=i.children().not(".elementor-container").detach();i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),i.prepend(l)}else i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s));e(".ob-teleporter-"+s).css(r).hide(),e(".ob-teleporter-"+s).addClass("ob-teleporter-hover").show()}else i.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();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()));var n=this.$element,s=this.$element.attr("data-id");if("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"),void 0!==t._ob_teleporter_link){var i=t._ob_teleporter_link;if(""===i.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){i.is_external?window.open(i.url):location.href=i.url}))}if("do-pass"===t._ob_teleporter_pass){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 l=t._ob_teleporter_pass_effect,a='<div class="ob-teleporter-'+s+" ob-tele-eff-"+l+'" data-id-teleporter="'+s+'"><div class="ob-tele-overlay" style="background-color: '+t._ob_teleporter_overlay_color+';"></div>';e(".ob-teleporter-"+s).length||this.$element.prepend(a),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)}))}}}}}),"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")}}),"post-comments.theme_comments":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initCommentz()},isCommentz:function(){return this.$element.hasClass("ob-commentz")},onElementChange:function(e){"_ob_commentz_use"===e&&this.routeCommentz()},initCommentz:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_commentz_use")&&this.$element.addClass("ob-commentz")},routeCommentz:function(){this.isCommentz()||"yes"!==this.getElementSettings("_ob_commentz_use")?this.$element.removeClass("ob-commentz"):this.$element.addClass("ob-commentz")}}),"spacer.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSpaceRat()},isSpaceRat:function(){return this.$element.hasClass("ob-spacerat")},onElementChange:function(e){"_ob_spacerat_use"===e&&this.routeSpaceRat()},initSpaceRat:function(){if(this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")&&this.$element.addClass("ob-spacerat"),!this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")){var t=e.parseJSON(this.$element.attr("data-settings"));if(void 0!==t._ob_spacerat_link){var o=t._ob_spacerat_link;if(""===o.url)return;this.$element.off("click.obSpacerat"),this.$element.on("click.obSpacerat",(function(){o.is_external?window.open(o.url):location.href=o.url}))}}},routeSpaceRat:function(){this.isSpaceRat()||"yes"!==this.getElementSettings("_ob_spacerat_use")?this.$element.removeClass("ob-spacerat"):this.$element.addClass("ob-spacerat")}})};e.each(i,(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=n.parent().parent().find("nav.glider-controller"),i=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")&&i.slideTo(parseInt(e(this).data("gotoslide"))-1),t.preventDefault()})),s.find(".glider-control").on("click",(function(t){void 0!==e(this).data("gotoslide")&&i.slideTo(parseInt(e(this).data("gotoslide"))-1),t.preventDefault()}))}}(jQuery,window);
|
assets/js/ooohboi-steroids.js
CHANGED
@@ -502,8 +502,6 @@
|
|
502 |
}
|
503 |
}
|
504 |
|
505 |
-
if( 'do-pass' !== teleporter_settings._ob_teleporter_pass ) return; // bail too
|
506 |
-
|
507 |
var myself = this.$element;
|
508 |
var my_id = this.$element.attr( 'data-id' );
|
509 |
|
@@ -512,7 +510,23 @@
|
|
512 |
this.$element.addClass( 'ob-tele-no-tablet' );
|
513 |
if( 'no-mobile' === teleporter_settings._ob_teleporter_no_pass_mobile )
|
514 |
this.$element.addClass( 'ob-tele-no-mobile' );
|
515 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
// this column's parent section
|
517 |
var parent_section = ( 'section' === teleporter_settings._ob_teleporter_pass_element ) ? this.$element.closest( '.elementor-section' ) : this.$element.closest( '.elementor-container' );
|
518 |
if( ! parent_section.length ) return; // bail
|
@@ -520,7 +534,6 @@
|
|
520 |
// parent overflow
|
521 |
parent_section.css( 'overflow', 'hidden' );
|
522 |
|
523 |
-
|
524 |
// new element
|
525 |
var hover_effect = teleporter_settings._ob_teleporter_pass_effect;
|
526 |
var hover_element = '<div class="ob-teleporter-' + my_id + ' ob-tele-eff-' + hover_effect + '" data-id-teleporter="' + my_id + '"><div class="ob-tele-overlay" style="background-color: ' + teleporter_settings._ob_teleporter_overlay_color + ';"></div>';
|
@@ -563,19 +576,6 @@
|
|
563 |
}, 100 );
|
564 |
|
565 |
} );
|
566 |
-
|
567 |
-
if( undefined !== teleporter_settings._ob_teleporter_link ) {
|
568 |
-
|
569 |
-
var tele_link = teleporter_settings._ob_teleporter_link;
|
570 |
-
if( '' === tele_link.url ) return;
|
571 |
-
|
572 |
-
this.$element.off( 'click.obTeleporter' );
|
573 |
-
this.$element.on( 'click.obTeleporter', function() {
|
574 |
-
if( tele_link.is_external ) window.open( tele_link.url );
|
575 |
-
else location.href = tele_link.url;
|
576 |
-
} );
|
577 |
-
|
578 |
-
}
|
579 |
|
580 |
},
|
581 |
|
@@ -826,7 +826,8 @@
|
|
826 |
|
827 |
var makeSwiper = function( elem_id, settings ) {
|
828 |
|
829 |
-
var the_s = $( '.elementor-element-' + elem_id + ' .swiper-container' ).first();
|
|
|
830 |
|
831 |
var me_the_swiper = new Swiper( the_s, {
|
832 |
allowTouchMove: ( 'yes' === settings.allowTouchMove ? true : false ),
|
@@ -855,6 +856,13 @@
|
|
855 |
}
|
856 |
e.preventDefault();
|
857 |
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
858 |
|
859 |
}
|
860 |
|
502 |
}
|
503 |
}
|
504 |
|
|
|
|
|
505 |
var myself = this.$element;
|
506 |
var my_id = this.$element.attr( 'data-id' );
|
507 |
|
510 |
this.$element.addClass( 'ob-tele-no-tablet' );
|
511 |
if( 'no-mobile' === teleporter_settings._ob_teleporter_no_pass_mobile )
|
512 |
this.$element.addClass( 'ob-tele-no-mobile' );
|
513 |
+
|
514 |
+
// handle links
|
515 |
+
if( undefined !== teleporter_settings._ob_teleporter_link ) {
|
516 |
+
|
517 |
+
var tele_link = teleporter_settings._ob_teleporter_link;
|
518 |
+
if( '' === tele_link.url ) return;
|
519 |
+
|
520 |
+
this.$element.off( 'click.obTeleporter' );
|
521 |
+
this.$element.on( 'click.obTeleporter', function() {
|
522 |
+
if( tele_link.is_external ) window.open( tele_link.url );
|
523 |
+
else location.href = tele_link.url;
|
524 |
+
} );
|
525 |
+
|
526 |
+
}
|
527 |
+
|
528 |
+
if( 'do-pass' !== teleporter_settings._ob_teleporter_pass ) return; // bail too
|
529 |
+
|
530 |
// this column's parent section
|
531 |
var parent_section = ( 'section' === teleporter_settings._ob_teleporter_pass_element ) ? this.$element.closest( '.elementor-section' ) : this.$element.closest( '.elementor-container' );
|
532 |
if( ! parent_section.length ) return; // bail
|
534 |
// parent overflow
|
535 |
parent_section.css( 'overflow', 'hidden' );
|
536 |
|
|
|
537 |
// new element
|
538 |
var hover_effect = teleporter_settings._ob_teleporter_pass_effect;
|
539 |
var hover_element = '<div class="ob-teleporter-' + my_id + ' ob-tele-eff-' + hover_effect + '" data-id-teleporter="' + my_id + '"><div class="ob-tele-overlay" style="background-color: ' + teleporter_settings._ob_teleporter_overlay_color + ';"></div>';
|
576 |
}, 100 );
|
577 |
|
578 |
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
579 |
|
580 |
},
|
581 |
|
826 |
|
827 |
var makeSwiper = function( elem_id, settings ) {
|
828 |
|
829 |
+
var the_s = $( '.elementor-element-' + elem_id + ' .swiper-container' ).first();
|
830 |
+
var the_s_controls = the_s.parent().parent().find( 'nav.glider-controller' );
|
831 |
|
832 |
var me_the_swiper = new Swiper( the_s, {
|
833 |
allowTouchMove: ( 'yes' === settings.allowTouchMove ? true : false ),
|
856 |
}
|
857 |
e.preventDefault();
|
858 |
} );
|
859 |
+
|
860 |
+
the_s_controls.find( '.glider-control' ).on( 'click', function( e ) {
|
861 |
+
if( typeof $( this ).data( 'gotoslide' ) !== 'undefined' ) {
|
862 |
+
me_the_swiper.slideTo( parseInt( $( this ).data( 'gotoslide' ) ) - 1 );
|
863 |
+
}
|
864 |
+
e.preventDefault();
|
865 |
+
} );
|
866 |
|
867 |
}
|
868 |
|
controls/ooohboi-breaking-bad.php
CHANGED
@@ -144,7 +144,7 @@ class OoohBoi_Breaking_Bad {
|
|
144 |
$element->add_control(
|
145 |
'_ob_bbad_sssic_use',
|
146 |
[
|
147 |
-
'label' =>
|
148 |
'description' => __( 'It works for the Inner Section only! It keeps it sticky inside the column to avoid content overlaps.', 'ooohboi-steroids' ),
|
149 |
'type' => Controls_Manager::SWITCHER,
|
150 |
'label_on' => __( 'Yes', 'ooohboi-steroids' ),
|
@@ -188,7 +188,7 @@ class OoohBoi_Breaking_Bad {
|
|
188 |
$element->add_responsive_control(
|
189 |
'_ob_bbad_column_max_width',
|
190 |
[
|
191 |
-
'label' =>
|
192 |
'type' => Controls_Manager::TEXT,
|
193 |
'separator' => 'before',
|
194 |
'label_block' => true,
|
@@ -262,6 +262,84 @@ href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/O
|
|
262 |
]
|
263 |
);
|
264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
}
|
266 |
|
267 |
}
|
144 |
$element->add_control(
|
145 |
'_ob_bbad_sssic_use',
|
146 |
[
|
147 |
+
'label' => __( 'Sticky Section', 'ooohboi-steroids' ),
|
148 |
'description' => __( 'It works for the Inner Section only! It keeps it sticky inside the column to avoid content overlaps.', 'ooohboi-steroids' ),
|
149 |
'type' => Controls_Manager::SWITCHER,
|
150 |
'label_on' => __( 'Yes', 'ooohboi-steroids' ),
|
188 |
$element->add_responsive_control(
|
189 |
'_ob_bbad_column_max_width',
|
190 |
[
|
191 |
+
'label' => __( 'Max Width', 'ooohboi-steroids' ),
|
192 |
'type' => Controls_Manager::TEXT,
|
193 |
'separator' => 'before',
|
194 |
'label_block' => true,
|
262 |
]
|
263 |
);
|
264 |
|
265 |
+
// --------------------------------------------------------------------------------------------- CONTROL DIVIDER !!!!!
|
266 |
+
$element->add_control(
|
267 |
+
'_ob_bbad_separator_0',
|
268 |
+
[
|
269 |
+
'type' => Controls_Manager::DIVIDER,
|
270 |
+
]
|
271 |
+
);
|
272 |
+
// --------------------------------------------------------------------------------------------- Widgets Stalker, since v 1.6.0
|
273 |
+
|
274 |
+
$element->add_control(
|
275 |
+
'_ob_bbad_section_title_0',
|
276 |
+
[
|
277 |
+
'label' => sprintf( __( 'Widget Stalker%sNEW!%s', 'ooohboi-steroids' ), '<sup class="ob-new-feature">', '</sup>' ),
|
278 |
+
'type' => Controls_Manager::RAW_HTML,
|
279 |
+
'raw' => __( 'The following options relate to the Widget Stalker extension. It is used to manage position and alignment of widgets inside this Column.', 'ooohboi-steroids' ),
|
280 |
+
'content_classes' => 'elementor-control-field-description',
|
281 |
+
]
|
282 |
+
);
|
283 |
+
|
284 |
+
// ------------------------------------------------------------------------- CONTROL: Justify Widgets
|
285 |
+
$element->add_responsive_control(
|
286 |
+
'_ob_bbad_ws_align_widgets',
|
287 |
+
[
|
288 |
+
'label' => __( 'Justify widgets', 'ooohboi-steroids' ),
|
289 |
+
'type' => Controls_Manager::SELECT,
|
290 |
+
'default' => 'flex-start',
|
291 |
+
'options' => [
|
292 |
+
'flex-start' => __( 'Start', 'ooohboi-steroids' ),
|
293 |
+
'center' => __( 'Center', 'ooohboi-steroids' ),
|
294 |
+
'flex-end' => __( 'End', 'ooohboi-steroids' ),
|
295 |
+
'space-between' => __( 'Space Between', 'ooohboi-steroids' ),
|
296 |
+
'space-around' => __( 'Space Around', 'ooohboi-steroids' ),
|
297 |
+
'space-evenly' => __( 'Space Evenly', 'ooohboi-steroids' ),
|
298 |
+
],
|
299 |
+
'selectors' => [
|
300 |
+
'{{WRAPPER}}.elementor-column .elementor-widget-wrap' => 'justify-content: {{VALUE}} !important;',
|
301 |
+
],
|
302 |
+
'condition' => [
|
303 |
+
'_ob_bbad_ws_widgets_direction' => [ 'row' ],
|
304 |
+
],
|
305 |
+
]
|
306 |
+
);
|
307 |
+
// ------------------------------------------------------------------------- CONTROL: widgets direction
|
308 |
+
$element->add_responsive_control(
|
309 |
+
'_ob_bbad_ws_widgets_direction',
|
310 |
+
[
|
311 |
+
'label' => __( 'Widgets Direction', 'ooohboi-steroids' ),
|
312 |
+
'type' => Controls_Manager::SELECT,
|
313 |
+
'default' => 'row',
|
314 |
+
'options' => [
|
315 |
+
'row' => __( 'Row', 'ooohboi-steroids' ),
|
316 |
+
'column' => __( 'Column', 'ooohboi-steroids' ),
|
317 |
+
],
|
318 |
+
'selectors' => [
|
319 |
+
'{{WRAPPER}}.elementor-column .elementor-widget-wrap' => 'flex-direction: {{VALUE}};',
|
320 |
+
],
|
321 |
+
]
|
322 |
+
);
|
323 |
+
// ------------------------------------------------------------------------- CONTROL: widgets - vertical alignment
|
324 |
+
$element->add_responsive_control(
|
325 |
+
'_ob_bbad_ws_items_align',
|
326 |
+
[
|
327 |
+
'label' => __( 'Align vertically', 'ooohboi-steroids' ),
|
328 |
+
'type' => Controls_Manager::SELECT,
|
329 |
+
'default' => 'flex-start',
|
330 |
+
'options' => [
|
331 |
+
'flex-start' => __( 'Start', 'ooohboi-steroids' ),
|
332 |
+
'center' => __( 'Center', 'ooohboi-steroids' ),
|
333 |
+
'flex-end' => __( 'End', 'ooohboi-steroids' ),
|
334 |
+
],
|
335 |
+
'selectors' => [
|
336 |
+
'{{WRAPPER}}.elementor-column .elementor-widget-wrap' => 'align-items: {{VALUE}};',
|
337 |
+
],
|
338 |
+
'condition' => [
|
339 |
+
'_ob_bbad_ws_widgets_direction' => [ 'column' ],
|
340 |
+
],
|
341 |
+
]
|
342 |
+
);
|
343 |
}
|
344 |
|
345 |
}
|
controls/ooohboi-overlay-underlay.php
CHANGED
@@ -4,7 +4,7 @@ use Elementor\Controls_Stack;
|
|
4 |
use Elementor\Element_Base;
|
5 |
use Elementor\Group_Control_Background;
|
6 |
use Elementor\Group_Control_Border;
|
7 |
-
use Elementor\Group_Control_Css_Filter;
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
exit; // Exit if accessed directly.
|
@@ -30,8 +30,8 @@ class OoohBoi_Overlay_Underlay {
|
|
30 |
|
31 |
add_action( 'elementor/element/common/_section_background/after_section_end', [ __CLASS__, 'add_section' ] );
|
32 |
add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
|
33 |
-
// Document Settings
|
34 |
-
add_action( 'elementor/element/post/document_settings/before_section_end', [ __CLASS__, 'poopart_remove_horizontal_scroller' ] );
|
35 |
|
36 |
}
|
37 |
|
@@ -1200,6 +1200,7 @@ class OoohBoi_Overlay_Underlay {
|
|
1200 |
|
1201 |
}
|
1202 |
|
|
|
1203 |
public static function poopart_remove_horizontal_scroller( \Elementor\Core\DocumentTypes\PageBase $page ) {
|
1204 |
|
1205 |
// ------------------------------------------------------------------------- CONTROL: get rid of horizontal scroller
|
4 |
use Elementor\Element_Base;
|
5 |
use Elementor\Group_Control_Background;
|
6 |
use Elementor\Group_Control_Border;
|
7 |
+
use Elementor\Group_Control_Css_Filter;
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
exit; // Exit if accessed directly.
|
30 |
|
31 |
add_action( 'elementor/element/common/_section_background/after_section_end', [ __CLASS__, 'add_section' ] );
|
32 |
add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
|
33 |
+
// Document Settings ::
|
34 |
+
add_action( 'elementor/element/post/document_settings/before_section_end', [ __CLASS__, 'poopart_remove_horizontal_scroller' ] );
|
35 |
|
36 |
}
|
37 |
|
1200 |
|
1201 |
}
|
1202 |
|
1203 |
+
|
1204 |
public static function poopart_remove_horizontal_scroller( \Elementor\Core\DocumentTypes\PageBase $page ) {
|
1205 |
|
1206 |
// ------------------------------------------------------------------------- CONTROL: get rid of horizontal scroller
|
controls/ooohboi-searchcop.php
CHANGED
@@ -49,6 +49,7 @@ class OoohBoi_SearchCop {
|
|
49 |
'options' => [
|
50 |
'post' => __( 'Search Posts', 'ooohboi-steroids' ),
|
51 |
'page' => __( 'Search Pages', 'ooohboi-steroids' ),
|
|
|
52 |
'all' => __( 'Search All', 'ooohboi-steroids' ),
|
53 |
],
|
54 |
]
|
49 |
'options' => [
|
50 |
'post' => __( 'Search Posts', 'ooohboi-steroids' ),
|
51 |
'page' => __( 'Search Pages', 'ooohboi-steroids' ),
|
52 |
+
'product' => __( 'Search Products', 'ooohboi-steroids' ),
|
53 |
'all' => __( 'Search All', 'ooohboi-steroids' ),
|
54 |
],
|
55 |
]
|
controls/ooohboi-teleporter.php
CHANGED
@@ -288,7 +288,7 @@ class OoohBoi_Teleporter {
|
|
288 |
]
|
289 |
);
|
290 |
// ------------------------------------------------------------------------- CONTROL: Overlay COLOR
|
291 |
-
$element->
|
292 |
'_ob_teleporter_overlay_color',
|
293 |
[
|
294 |
'label' => __( 'Overlay Color', 'ooohboi-steroids' ),
|
@@ -296,7 +296,7 @@ class OoohBoi_Teleporter {
|
|
296 |
'frontend_available' => true,
|
297 |
'default' => '#0000004D',
|
298 |
'selectors' => [
|
299 |
-
'{{WRAPPER}}.ob-is-teleporter div[class*="ob-teleporter-"] > .ob-tele-overlay' => 'background-color: {{VALUE}};',
|
300 |
],
|
301 |
'condition' => [
|
302 |
'_ob_teleporter_use' => 'use-teleporter',
|
288 |
]
|
289 |
);
|
290 |
// ------------------------------------------------------------------------- CONTROL: Overlay COLOR
|
291 |
+
$element->add_responsive_control(
|
292 |
'_ob_teleporter_overlay_color',
|
293 |
[
|
294 |
'label' => __( 'Overlay Color', 'ooohboi-steroids' ),
|
296 |
'frontend_available' => true,
|
297 |
'default' => '#0000004D',
|
298 |
'selectors' => [
|
299 |
+
'{{WRAPPER}}.ob-is-teleporter div[class*="ob-teleporter-"] > .ob-tele-overlay' => 'background-color: {{VALUE}};',
|
300 |
],
|
301 |
'condition' => [
|
302 |
'_ob_teleporter_use' => 'use-teleporter',
|
controls/ooohboi-widget-stalker.php
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
use Elementor\Controls_Manager;
|
3 |
+
use Elementor\Controls_Stack;
|
4 |
+
use Elementor\Element_Base;
|
5 |
+
|
6 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
+
exit; // Exit if accessed directly.
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Main OoohBoi_Kontrolz class
|
12 |
+
*
|
13 |
+
* The main class that initiates and runs the plugin.
|
14 |
+
*
|
15 |
+
* @since 1.6.0
|
16 |
+
*/
|
17 |
+
class OoohBoi_Widget_Stalker {
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Initialize
|
21 |
+
*
|
22 |
+
* @since 1.6.0
|
23 |
+
*
|
24 |
+
* @access public
|
25 |
+
*/
|
26 |
+
public static function init() {
|
27 |
+
|
28 |
+
add_action( 'elementor/element/common/_section_background/after_section_end', [ __CLASS__, 'ooohboi_widget_stalker_controls' ] );
|
29 |
+
|
30 |
+
}
|
31 |
+
|
32 |
+
public static function ooohboi_widget_stalker_controls( Element_Base $element ) {
|
33 |
+
|
34 |
+
$element->start_controls_section(
|
35 |
+
'_ob_widget_stalker',
|
36 |
+
[
|
37 |
+
'label' => 'W I D G E T - S T A L K E R',
|
38 |
+
'tab' => Controls_Manager::TAB_ADVANCED,
|
39 |
+
]
|
40 |
+
);
|
41 |
+
|
42 |
+
// ------------------------------------------------------------------------- CONTROL: Visibility
|
43 |
+
$element->add_responsive_control(
|
44 |
+
'_ob_ws_width_method',
|
45 |
+
[
|
46 |
+
'label' => __( 'Width Method', 'ooohboi-steroids' ),
|
47 |
+
'description' => __( 'Use Flex of Percentage?', 'ooohboi-steroids' ),
|
48 |
+
'type' => Controls_Manager::SELECT,
|
49 |
+
'default' => 'flex',
|
50 |
+
'options' => [
|
51 |
+
'flex' => __( 'Flex', 'ooohboi-steroids' ),
|
52 |
+
'percentage' => __( 'Percentage', 'ooohboi-steroids' ),
|
53 |
+
],
|
54 |
+
]
|
55 |
+
);
|
56 |
+
// --------------------------------------------------------------------------------------------- CONTROL Flex size
|
57 |
+
$element->add_responsive_control(
|
58 |
+
'_ob_ws_flex',
|
59 |
+
[
|
60 |
+
'label' => __( 'Flex', 'ooohboi-steroids' ),
|
61 |
+
'type' => Controls_Manager::NUMBER,
|
62 |
+
'separator' => 'before',
|
63 |
+
'default' => 'unset',
|
64 |
+
'min' => 1,
|
65 |
+
'selectors' => [
|
66 |
+
'{{WRAPPER}}.elementor-widget' => 'flex: {{VALUE}};',
|
67 |
+
],
|
68 |
+
'condition' => [
|
69 |
+
'_ob_ws_width_method' => 'flex',
|
70 |
+
],
|
71 |
+
]
|
72 |
+
);
|
73 |
+
// --------------------------------------------------------------------------------------------- CONTROL width
|
74 |
+
$element->add_responsive_control(
|
75 |
+
'_ob_ws_width',
|
76 |
+
[
|
77 |
+
'label' => __( 'Widget Width', 'ooohboi-steroids' ),
|
78 |
+
'type' => Controls_Manager::TEXT,
|
79 |
+
'separator' => 'before',
|
80 |
+
'label_block' => true,
|
81 |
+
'description' => __( 'You can enter any acceptable CSS value, for example: 50em, 300px, 100%, calc(100% - 300px).', 'ooohboi-steroids' ),
|
82 |
+
'selectors' => [
|
83 |
+
'{{WRAPPER}}.elementor-widget' => 'width: {{VALUE}};',
|
84 |
+
],
|
85 |
+
'condition' => [
|
86 |
+
'_ob_ws_width_method' => 'percentage',
|
87 |
+
],
|
88 |
+
]
|
89 |
+
);
|
90 |
+
// --------------------------------------------------------------------------------------------- CONTROL max width
|
91 |
+
$element->add_responsive_control(
|
92 |
+
'_ob_ws_max_width',
|
93 |
+
[
|
94 |
+
'label' => __( 'Max Width', 'ooohboi-steroids' ),
|
95 |
+
'type' => Controls_Manager::TEXT,
|
96 |
+
'separator' => 'before',
|
97 |
+
'label_block' => true,
|
98 |
+
'description' => __( 'You can enter any acceptable CSS value, for example: 50em, 300px, 100%, calc(100% - 300px).', 'ooohboi-steroids' ),
|
99 |
+
'selectors' => [
|
100 |
+
'{{WRAPPER}}.elementor-widget' => 'max-width: {{VALUE}};',
|
101 |
+
],
|
102 |
+
]
|
103 |
+
);
|
104 |
+
// ------------------------------------------------------------------------- CONTROL: align self
|
105 |
+
$element->add_responsive_control(
|
106 |
+
'_ob_ws_align_self',
|
107 |
+
[
|
108 |
+
'label' => __( 'Align self', 'ooohboi-steroids' ),
|
109 |
+
'description' => __( 'Align this widget vertically', 'ooohboi-steroids' ),
|
110 |
+
'type' => Controls_Manager::SELECT,
|
111 |
+
'default' => 'auto',
|
112 |
+
'options' => [
|
113 |
+
'auto' => __( 'Auto', 'ooohboi-steroids' ),
|
114 |
+
'baseline' => __( 'Baseline', 'ooohboi-steroids' ),
|
115 |
+
'center' => __( 'Center', 'ooohboi-steroids' ),
|
116 |
+
'end' => __( 'End', 'ooohboi-steroids' ),
|
117 |
+
],
|
118 |
+
'selectors' => [
|
119 |
+
'{{WRAPPER}}.elementor-widget' => 'align-self: {{VALUE}};',
|
120 |
+
],
|
121 |
+
]
|
122 |
+
);
|
123 |
+
|
124 |
+
$element->end_controls_section(); // END SECTION / PANEL
|
125 |
+
|
126 |
+
}
|
127 |
+
|
128 |
+
}
|
inc/common-functions.php
CHANGED
@@ -126,6 +126,12 @@ $options_page = array(
|
|
126 |
'type' => 'checkbox',
|
127 |
'text' => esc_attr__( 'Allows you to additionaly style Image Carousel and Media Carousel controls', 'ooohboi-steroids' ),
|
128 |
'checked' => 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
),
|
130 |
),
|
131 |
),
|
126 |
'type' => 'checkbox',
|
127 |
'text' => esc_attr__( 'Allows you to additionaly style Image Carousel and Media Carousel controls', 'ooohboi-steroids' ),
|
128 |
'checked' => 1,
|
129 |
+
),
|
130 |
+
'ob_use_widget_stalker' => array(
|
131 |
+
'title' => 'WIDGET STALKER',
|
132 |
+
'type' => 'checkbox',
|
133 |
+
'text' => esc_attr__( 'Stack widgets like flex elements', 'ooohboi-steroids' ),
|
134 |
+
'checked' => 1,
|
135 |
),
|
136 |
),
|
137 |
),
|
lang/ooohboi-steroids.pot
CHANGED
@@ -3,8 +3,8 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: OoohBoi Steroids for Elementor\n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -40,8 +40,8 @@ msgstr ""
|
|
40 |
#: controls/ooohboi-glider.php:608 controls/ooohboi-harakiri.php:81
|
41 |
#: controls/ooohboi-hover-animator.php:68
|
42 |
#: controls/ooohboi-hover-animator.php:145 controls/ooohboi-overlaiz.php:61
|
43 |
-
#: controls/ooohboi-overlay-underlay.php:
|
44 |
-
#: controls/ooohboi-overlay-underlay.php:
|
45 |
#: controls/ooohboi-perspektive.php:74 controls/ooohboi-photomorph.php:66
|
46 |
#: controls/ooohboi-photomorph.php:142 controls/ooohboi-shadough.php:50
|
47 |
#: controls/ooohboi-spacerat.php:69 controls/ooohboi-spacerat.php:339
|
@@ -57,8 +57,8 @@ msgstr ""
|
|
57 |
#: controls/ooohboi-glider.php:609 controls/ooohboi-harakiri.php:82
|
58 |
#: controls/ooohboi-hover-animator.php:69
|
59 |
#: controls/ooohboi-hover-animator.php:146 controls/ooohboi-overlaiz.php:62
|
60 |
-
#: controls/ooohboi-overlay-underlay.php:
|
61 |
-
#: controls/ooohboi-overlay-underlay.php:
|
62 |
#: controls/ooohboi-perspektive.php:75 controls/ooohboi-photomorph.php:67
|
63 |
#: controls/ooohboi-photomorph.php:143 controls/ooohboi-shadough.php:51
|
64 |
#: controls/ooohboi-spacerat.php:70 controls/ooohboi-spacerat.php:340
|
@@ -70,27 +70,32 @@ msgid "Align Columns"
|
|
70 |
msgstr ""
|
71 |
|
72 |
#: controls/ooohboi-breaking-bad.php:87 controls/ooohboi-breaking-bad.php:130
|
|
|
73 |
msgid "Start"
|
74 |
msgstr ""
|
75 |
|
76 |
#: controls/ooohboi-breaking-bad.php:88 controls/ooohboi-breaking-bad.php:131
|
|
|
77 |
#: controls/ooohboi-commentz.php:134 controls/ooohboi-commentz.php:654
|
|
|
78 |
msgid "Center"
|
79 |
msgstr ""
|
80 |
|
81 |
#: controls/ooohboi-breaking-bad.php:89 controls/ooohboi-breaking-bad.php:132
|
|
|
|
|
82 |
msgid "End"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: controls/ooohboi-breaking-bad.php:90
|
86 |
msgid "Space Between"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: controls/ooohboi-breaking-bad.php:91
|
90 |
msgid "Space Around"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: controls/ooohboi-breaking-bad.php:92
|
94 |
msgid "Space Evenly"
|
95 |
msgstr ""
|
96 |
|
@@ -98,11 +103,11 @@ msgstr ""
|
|
98 |
msgid "Columns Direction"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: controls/ooohboi-breaking-bad.php:110
|
102 |
msgid "Row"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: controls/ooohboi-breaking-bad.php:111
|
106 |
msgid "Column"
|
107 |
msgstr ""
|
108 |
|
@@ -111,8 +116,7 @@ msgid "Align Items"
|
|
111 |
msgstr ""
|
112 |
|
113 |
#: controls/ooohboi-breaking-bad.php:147
|
114 |
-
|
115 |
-
msgid "Sticky Section%sNEW!%s"
|
116 |
msgstr ""
|
117 |
|
118 |
#: controls/ooohboi-breaking-bad.php:148
|
@@ -132,14 +136,14 @@ msgid ""
|
|
132 |
"Breaking Bad for this Column parent SECTION!"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: controls/ooohboi-breaking-bad.php:191
|
136 |
-
|
137 |
-
msgid "Max Width%sNEW!%s"
|
138 |
msgstr ""
|
139 |
|
140 |
#: controls/ooohboi-breaking-bad.php:195 controls/ooohboi-teleporter.php:137
|
141 |
#: controls/ooohboi-teleporter.php:155 controls/ooohboi-teleporter.php:186
|
142 |
-
#: controls/ooohboi-teleporter.php:203
|
|
|
143 |
msgid ""
|
144 |
"You can enter any acceptable CSS value, for example: 50em, 300px, 100%, "
|
145 |
"calc(100% - 300px)."
|
@@ -162,6 +166,29 @@ msgstr ""
|
|
162 |
msgid "Scrollable Column?"
|
163 |
msgstr ""
|
164 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
#: controls/ooohboi-butter-button.php:68
|
166 |
msgid "Enable Butter Buttons?"
|
167 |
msgstr ""
|
@@ -954,7 +981,7 @@ msgstr ""
|
|
954 |
|
955 |
#: controls/ooohboi-overlaiz.php:558 controls/ooohboi-overlay-underlay.php:538
|
956 |
#: controls/ooohboi-overlay-underlay.php:1092 controls/ooohboi-spacerat.php:220
|
957 |
-
#: controls/ooohboi-videomasq.php:104
|
958 |
msgid "Auto"
|
959 |
msgstr ""
|
960 |
|
@@ -1052,53 +1079,53 @@ msgstr ""
|
|
1052 |
msgid "Underlay Mask"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1056 |
msgid "Get rid of the Horizontal scroller?"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1060 |
msgid ""
|
1061 |
"OoohBoi POOOPART may cause Horizontal Scroller to show up. This is how you "
|
1062 |
"can remove it."
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1066 |
msgid "Baseline Grid"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1070 |
msgid "Baseline grid helps you maintain accuracy and consistency"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1074 |
msgid "Grid style"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1078 |
msgid "Squares"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1082 |
msgid "Vertical lines"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1086 |
msgid "Horizontal lines"
|
1087 |
msgstr ""
|
1088 |
|
1089 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1090 |
msgid "Grid color"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1094 |
msgid "Grid size"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1098 |
msgid "Vertical Spacing"
|
1099 |
msgstr ""
|
1100 |
|
1101 |
-
#: controls/ooohboi-overlay-underlay.php:
|
1102 |
msgid "Horizontal Spacing"
|
1103 |
msgstr ""
|
1104 |
|
@@ -1211,6 +1238,10 @@ msgid "Search Pages"
|
|
1211 |
msgstr ""
|
1212 |
|
1213 |
#: controls/ooohboi-searchcop.php:52
|
|
|
|
|
|
|
|
|
1214 |
msgid "Search All"
|
1215 |
msgstr ""
|
1216 |
|
@@ -1355,6 +1386,39 @@ msgid ""
|
|
1355 |
"that’s transparent will be completely hidden."
|
1356 |
msgstr ""
|
1357 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1358 |
#: inc/common-functions.php:13
|
1359 |
#, php-format
|
1360 |
msgid ""
|
@@ -1446,6 +1510,10 @@ msgid ""
|
|
1446 |
"Allows you to additionaly style Image Carousel and Media Carousel controls"
|
1447 |
msgstr ""
|
1448 |
|
|
|
|
|
|
|
|
|
1449 |
#. Plugin Name of the plugin/theme
|
1450 |
msgid "OoohBoi Steroids for Elementor"
|
1451 |
msgstr ""
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: OoohBoi Steroids for Elementor\n"
|
6 |
+
"POT-Creation-Date: 2021-02-18 15:32+0100\n"
|
7 |
+
"PO-Revision-Date: 2021-02-18 15:32+0100\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
40 |
#: controls/ooohboi-glider.php:608 controls/ooohboi-harakiri.php:81
|
41 |
#: controls/ooohboi-hover-animator.php:68
|
42 |
#: controls/ooohboi-hover-animator.php:145 controls/ooohboi-overlaiz.php:61
|
43 |
+
#: controls/ooohboi-overlay-underlay.php:1213
|
44 |
+
#: controls/ooohboi-overlay-underlay.php:1232 controls/ooohboi-paginini.php:220
|
45 |
#: controls/ooohboi-perspektive.php:74 controls/ooohboi-photomorph.php:66
|
46 |
#: controls/ooohboi-photomorph.php:142 controls/ooohboi-shadough.php:50
|
47 |
#: controls/ooohboi-spacerat.php:69 controls/ooohboi-spacerat.php:339
|
57 |
#: controls/ooohboi-glider.php:609 controls/ooohboi-harakiri.php:82
|
58 |
#: controls/ooohboi-hover-animator.php:69
|
59 |
#: controls/ooohboi-hover-animator.php:146 controls/ooohboi-overlaiz.php:62
|
60 |
+
#: controls/ooohboi-overlay-underlay.php:1214
|
61 |
+
#: controls/ooohboi-overlay-underlay.php:1233 controls/ooohboi-paginini.php:221
|
62 |
#: controls/ooohboi-perspektive.php:75 controls/ooohboi-photomorph.php:67
|
63 |
#: controls/ooohboi-photomorph.php:143 controls/ooohboi-shadough.php:51
|
64 |
#: controls/ooohboi-spacerat.php:70 controls/ooohboi-spacerat.php:340
|
70 |
msgstr ""
|
71 |
|
72 |
#: controls/ooohboi-breaking-bad.php:87 controls/ooohboi-breaking-bad.php:130
|
73 |
+
#: controls/ooohboi-breaking-bad.php:292 controls/ooohboi-breaking-bad.php:331
|
74 |
msgid "Start"
|
75 |
msgstr ""
|
76 |
|
77 |
#: controls/ooohboi-breaking-bad.php:88 controls/ooohboi-breaking-bad.php:131
|
78 |
+
#: controls/ooohboi-breaking-bad.php:293 controls/ooohboi-breaking-bad.php:332
|
79 |
#: controls/ooohboi-commentz.php:134 controls/ooohboi-commentz.php:654
|
80 |
+
#: controls/ooohboi-widget-stalker.php:115
|
81 |
msgid "Center"
|
82 |
msgstr ""
|
83 |
|
84 |
#: controls/ooohboi-breaking-bad.php:89 controls/ooohboi-breaking-bad.php:132
|
85 |
+
#: controls/ooohboi-breaking-bad.php:294 controls/ooohboi-breaking-bad.php:333
|
86 |
+
#: controls/ooohboi-widget-stalker.php:116
|
87 |
msgid "End"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: controls/ooohboi-breaking-bad.php:90 controls/ooohboi-breaking-bad.php:295
|
91 |
msgid "Space Between"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: controls/ooohboi-breaking-bad.php:91 controls/ooohboi-breaking-bad.php:296
|
95 |
msgid "Space Around"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: controls/ooohboi-breaking-bad.php:92 controls/ooohboi-breaking-bad.php:297
|
99 |
msgid "Space Evenly"
|
100 |
msgstr ""
|
101 |
|
103 |
msgid "Columns Direction"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: controls/ooohboi-breaking-bad.php:110 controls/ooohboi-breaking-bad.php:315
|
107 |
msgid "Row"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: controls/ooohboi-breaking-bad.php:111 controls/ooohboi-breaking-bad.php:316
|
111 |
msgid "Column"
|
112 |
msgstr ""
|
113 |
|
116 |
msgstr ""
|
117 |
|
118 |
#: controls/ooohboi-breaking-bad.php:147
|
119 |
+
msgid "Sticky Section"
|
|
|
120 |
msgstr ""
|
121 |
|
122 |
#: controls/ooohboi-breaking-bad.php:148
|
136 |
"Breaking Bad for this Column parent SECTION!"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: controls/ooohboi-breaking-bad.php:191 controls/ooohboi-widget-stalker.php:94
|
140 |
+
msgid "Max Width"
|
|
|
141 |
msgstr ""
|
142 |
|
143 |
#: controls/ooohboi-breaking-bad.php:195 controls/ooohboi-teleporter.php:137
|
144 |
#: controls/ooohboi-teleporter.php:155 controls/ooohboi-teleporter.php:186
|
145 |
+
#: controls/ooohboi-teleporter.php:203 controls/ooohboi-widget-stalker.php:81
|
146 |
+
#: controls/ooohboi-widget-stalker.php:98
|
147 |
msgid ""
|
148 |
"You can enter any acceptable CSS value, for example: 50em, 300px, 100%, "
|
149 |
"calc(100% - 300px)."
|
166 |
msgid "Scrollable Column?"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: controls/ooohboi-breaking-bad.php:277
|
170 |
+
#, php-format
|
171 |
+
msgid "Widget Stalker%sNEW!%s"
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: controls/ooohboi-breaking-bad.php:279
|
175 |
+
msgid ""
|
176 |
+
"The following options relate to the Widget Stalker extension. It is used to "
|
177 |
+
"manage position and alignment of widgets inside this Column."
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: controls/ooohboi-breaking-bad.php:288
|
181 |
+
msgid "Justify widgets"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: controls/ooohboi-breaking-bad.php:311
|
185 |
+
msgid "Widgets Direction"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: controls/ooohboi-breaking-bad.php:327
|
189 |
+
msgid "Align vertically"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
#: controls/ooohboi-butter-button.php:68
|
193 |
msgid "Enable Butter Buttons?"
|
194 |
msgstr ""
|
981 |
|
982 |
#: controls/ooohboi-overlaiz.php:558 controls/ooohboi-overlay-underlay.php:538
|
983 |
#: controls/ooohboi-overlay-underlay.php:1092 controls/ooohboi-spacerat.php:220
|
984 |
+
#: controls/ooohboi-videomasq.php:104 controls/ooohboi-widget-stalker.php:113
|
985 |
msgid "Auto"
|
986 |
msgstr ""
|
987 |
|
1079 |
msgid "Underlay Mask"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: controls/ooohboi-overlay-underlay.php:1210
|
1083 |
msgid "Get rid of the Horizontal scroller?"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
+
#: controls/ooohboi-overlay-underlay.php:1211
|
1087 |
msgid ""
|
1088 |
"OoohBoi POOOPART may cause Horizontal Scroller to show up. This is how you "
|
1089 |
"can remove it."
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: controls/ooohboi-overlay-underlay.php:1229
|
1093 |
msgid "Baseline Grid"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: controls/ooohboi-overlay-underlay.php:1230
|
1097 |
msgid "Baseline grid helps you maintain accuracy and consistency"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: controls/ooohboi-overlay-underlay.php:1243
|
1101 |
msgid "Grid style"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: controls/ooohboi-overlay-underlay.php:1247
|
1105 |
msgid "Squares"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: controls/ooohboi-overlay-underlay.php:1248
|
1109 |
msgid "Vertical lines"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: controls/ooohboi-overlay-underlay.php:1249
|
1113 |
msgid "Horizontal lines"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: controls/ooohboi-overlay-underlay.php:1259
|
1117 |
msgid "Grid color"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: controls/ooohboi-overlay-underlay.php:1270
|
1121 |
msgid "Grid size"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: controls/ooohboi-overlay-underlay.php:1294
|
1125 |
msgid "Vertical Spacing"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: controls/ooohboi-overlay-underlay.php:1318
|
1129 |
msgid "Horizontal Spacing"
|
1130 |
msgstr ""
|
1131 |
|
1238 |
msgstr ""
|
1239 |
|
1240 |
#: controls/ooohboi-searchcop.php:52
|
1241 |
+
msgid "Search Products"
|
1242 |
+
msgstr ""
|
1243 |
+
|
1244 |
+
#: controls/ooohboi-searchcop.php:53
|
1245 |
msgid "Search All"
|
1246 |
msgstr ""
|
1247 |
|
1386 |
"that’s transparent will be completely hidden."
|
1387 |
msgstr ""
|
1388 |
|
1389 |
+
#: controls/ooohboi-widget-stalker.php:46
|
1390 |
+
msgid "Width Method"
|
1391 |
+
msgstr ""
|
1392 |
+
|
1393 |
+
#: controls/ooohboi-widget-stalker.php:47
|
1394 |
+
msgid "Use Flex of Percentage?"
|
1395 |
+
msgstr ""
|
1396 |
+
|
1397 |
+
#: controls/ooohboi-widget-stalker.php:51
|
1398 |
+
#: controls/ooohboi-widget-stalker.php:60
|
1399 |
+
msgid "Flex"
|
1400 |
+
msgstr ""
|
1401 |
+
|
1402 |
+
#: controls/ooohboi-widget-stalker.php:52
|
1403 |
+
msgid "Percentage"
|
1404 |
+
msgstr ""
|
1405 |
+
|
1406 |
+
#: controls/ooohboi-widget-stalker.php:77
|
1407 |
+
msgid "Widget Width"
|
1408 |
+
msgstr ""
|
1409 |
+
|
1410 |
+
#: controls/ooohboi-widget-stalker.php:108
|
1411 |
+
msgid "Align self"
|
1412 |
+
msgstr ""
|
1413 |
+
|
1414 |
+
#: controls/ooohboi-widget-stalker.php:109
|
1415 |
+
msgid "Align this widget vertically"
|
1416 |
+
msgstr ""
|
1417 |
+
|
1418 |
+
#: controls/ooohboi-widget-stalker.php:114
|
1419 |
+
msgid "Baseline"
|
1420 |
+
msgstr ""
|
1421 |
+
|
1422 |
#: inc/common-functions.php:13
|
1423 |
#, php-format
|
1424 |
msgid ""
|
1510 |
"Allows you to additionaly style Image Carousel and Media Carousel controls"
|
1511 |
msgstr ""
|
1512 |
|
1513 |
+
#: inc/common-functions.php:133
|
1514 |
+
msgid "Stack widgets like flex elements"
|
1515 |
+
msgstr ""
|
1516 |
+
|
1517 |
#. Plugin Name of the plugin/theme
|
1518 |
msgid "OoohBoi Steroids for Elementor"
|
1519 |
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
|
@@ -217,7 +217,8 @@ final class OoohBoi_Steroids {
|
|
217 |
OoohBoi_SpaceRat::init(); // OoohBoi SpaceRat
|
218 |
OoohBoi_Imbox::init(); // OoohBoi Imbox
|
219 |
OoohBoi_Hover_Animator::init(); // OoohBoi Hover Animator
|
220 |
-
OoohBoi_Kontrolz::init(); // OoohBoi Kontrolz
|
|
|
221 |
} else {
|
222 |
// Init Extensions
|
223 |
if( FALSE === isset( $ob_settings_options[ 'harakiri' ] ) || 'on' === $ob_settings_options[ 'harakiri' ] ) OoohBoi_Harakiri::init(); // OoohBoi Harakiri
|
@@ -238,7 +239,8 @@ final class OoohBoi_Steroids {
|
|
238 |
if( FALSE === isset( $ob_settings_options[ 'spacerat' ] ) || 'on' === $ob_settings_options[ 'spacerat' ] ) OoohBoi_SpaceRat::init(); // OoohBoi SpaceRat
|
239 |
if( FALSE === isset( $ob_settings_options[ 'imbox' ] ) || 'on' === $ob_settings_options[ 'imbox' ] ) OoohBoi_Imbox::init(); // OoohBoi Imbox
|
240 |
if( FALSE === isset( $ob_settings_options[ 'hover_animator' ] ) || 'on' === $ob_settings_options[ 'hover_animator' ] ) OoohBoi_Hover_Animator::init(); // OoohBoi Hover Animator
|
241 |
-
if( FALSE === isset( $ob_settings_options[ 'kontrolz' ] ) || 'on' === $ob_settings_options[ 'kontrolz' ] ) OoohBoi_Kontrolz::init(); // OoohBoi Kontrolz
|
|
|
242 |
}
|
243 |
|
244 |
}
|
@@ -253,7 +255,7 @@ final class OoohBoi_Steroids {
|
|
253 |
*/
|
254 |
public function ooohboi_register_styles_editor() {
|
255 |
|
256 |
-
wp_enqueue_style( 'ooohboi-steroids-styles-editor', plugins_url( 'assets/css/editor.css', __FILE__ ), [ 'elementor-editor' ], self::VERSION . '
|
257 |
|
258 |
}
|
259 |
|
@@ -268,7 +270,7 @@ final class OoohBoi_Steroids {
|
|
268 |
*/
|
269 |
public function ooohboi_register_styles() {
|
270 |
|
271 |
-
wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '
|
272 |
|
273 |
}
|
274 |
|
@@ -283,7 +285,7 @@ final class OoohBoi_Steroids {
|
|
283 |
*/
|
284 |
public function ooohboi_register_scripts_front() {
|
285 |
|
286 |
-
wp_register_script( 'ooohboi-steroids', plugins_url( 'assets/js/ooohboi-steroids-min.js', __FILE__ ), [ 'jquery' ], self::VERSION . '
|
287 |
|
288 |
}
|
289 |
|
@@ -316,6 +318,7 @@ final class OoohBoi_Steroids {
|
|
316 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-imbox.php'; // OoohBoi Imbox
|
317 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-hover-animator.php'; // OoohBoi Hover Animator
|
318 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-kontrolz.php'; // OoohBoi Kontrolz
|
|
|
319 |
|
320 |
}
|
321 |
|
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.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.6.0';
|
35 |
|
36 |
/**
|
37 |
* Minimum Elementor Version
|
217 |
OoohBoi_SpaceRat::init(); // OoohBoi SpaceRat
|
218 |
OoohBoi_Imbox::init(); // OoohBoi Imbox
|
219 |
OoohBoi_Hover_Animator::init(); // OoohBoi Hover Animator
|
220 |
+
OoohBoi_Kontrolz::init(); // OoohBoi Kontrolz
|
221 |
+
OoohBoi_Widget_Stalker::init(); // OoohBoi Widget Stalker
|
222 |
} else {
|
223 |
// Init Extensions
|
224 |
if( FALSE === isset( $ob_settings_options[ 'harakiri' ] ) || 'on' === $ob_settings_options[ 'harakiri' ] ) OoohBoi_Harakiri::init(); // OoohBoi Harakiri
|
239 |
if( FALSE === isset( $ob_settings_options[ 'spacerat' ] ) || 'on' === $ob_settings_options[ 'spacerat' ] ) OoohBoi_SpaceRat::init(); // OoohBoi SpaceRat
|
240 |
if( FALSE === isset( $ob_settings_options[ 'imbox' ] ) || 'on' === $ob_settings_options[ 'imbox' ] ) OoohBoi_Imbox::init(); // OoohBoi Imbox
|
241 |
if( FALSE === isset( $ob_settings_options[ 'hover_animator' ] ) || 'on' === $ob_settings_options[ 'hover_animator' ] ) OoohBoi_Hover_Animator::init(); // OoohBoi Hover Animator
|
242 |
+
if( FALSE === isset( $ob_settings_options[ 'kontrolz' ] ) || 'on' === $ob_settings_options[ 'kontrolz' ] ) OoohBoi_Kontrolz::init(); // OoohBoi Kontrolz
|
243 |
+
if( FALSE === isset( $ob_settings_options[ 'widget_stalker' ] ) || 'on' === $ob_settings_options[ 'widget_stalker' ] ) OoohBoi_Widget_Stalker::init(); // OoohBoi Widget Stalker
|
244 |
}
|
245 |
|
246 |
}
|
255 |
*/
|
256 |
public function ooohboi_register_styles_editor() {
|
257 |
|
258 |
+
wp_enqueue_style( 'ooohboi-steroids-styles-editor', plugins_url( 'assets/css/editor.css', __FILE__ ), [ 'elementor-editor' ], self::VERSION . '18022021' );
|
259 |
|
260 |
}
|
261 |
|
270 |
*/
|
271 |
public function ooohboi_register_styles() {
|
272 |
|
273 |
+
wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '18022021' );
|
274 |
|
275 |
}
|
276 |
|
285 |
*/
|
286 |
public function ooohboi_register_scripts_front() {
|
287 |
|
288 |
+
wp_register_script( 'ooohboi-steroids', plugins_url( 'assets/js/ooohboi-steroids-min.js', __FILE__ ), [ 'jquery' ], self::VERSION . '18022021', true );
|
289 |
|
290 |
}
|
291 |
|
318 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-imbox.php'; // OoohBoi Imbox
|
319 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-hover-animator.php'; // OoohBoi Hover Animator
|
320 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-kontrolz.php'; // OoohBoi Kontrolz
|
321 |
+
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-widget-stalker.php'; // OoohBoi Widget Stalker
|
322 |
|
323 |
}
|
324 |
|
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.6
|
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 |
-
= THE LATEST EXTENSION -
|
23 |
|
24 |
-
|
25 |
|
26 |
= In the package so far =
|
27 |
|
@@ -85,7 +85,10 @@ Animate widgets on column's mouse-over event
|
|
85 |
20. KONTROLZ
|
86 |
Allows you to additionaly style Image Carousel and Media Carousel controls
|
87 |
|
88 |
-
21.
|
|
|
|
|
|
|
89 |
|
90 |
== Installation ==
|
91 |
|
@@ -94,7 +97,7 @@ Allows you to additionaly style Image Carousel and Media Carousel controls
|
|
94 |
|
95 |
== Upgrade Notice ==
|
96 |
|
97 |
-
1.
|
98 |
|
99 |
== Frequently Asked Questions ==
|
100 |
|
@@ -134,13 +137,15 @@ No, you don't. It'll work with both free version of Elementor and Elementor PRO.
|
|
134 |
22. IMBOX Image options
|
135 |
23. IMBOX Content options
|
136 |
24. HOVERANIMATOR options
|
137 |
-
|
138 |
-
= !NOTE! =
|
139 |
-
|
140 |
-
PLEASE CONSIDER A SMALL DONATION FOR THE SAKE OF FUTURE DEVELOPMENT OF THIS ADD-ON. We are running out of budget and, without your help there's a great chance that we stop adding new features. Even a couple of bucks can help. Thank you!!!
|
141 |
|
142 |
== Changelog ==
|
143 |
|
|
|
|
|
|
|
|
|
|
|
144 |
= 1.5.9 =
|
145 |
- PoopArt, fixed initial X and Y offset that caused the horizontal scroller on full-width Section
|
146 |
- Overlaiz, added Mask option
|
4 |
Donate link: https://www.paypal.me/ooohboi
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.6
|
7 |
+
Stable tag: 1.6.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 |
+
= THE LATEST EXTENSION - WIDGET STALKER =
|
23 |
|
24 |
+
Available under the Advanced tab for every Elementor widget. It allows you to control widget's width, and thus stack multiple widgets one next to another. Additional controls are available thru the Breaking Bad extension.
|
25 |
|
26 |
= In the package so far =
|
27 |
|
85 |
20. KONTROLZ
|
86 |
Allows you to additionaly style Image Carousel and Media Carousel controls
|
87 |
|
88 |
+
21. WIDGET STALKER
|
89 |
+
Stack widgets one after another inside the column.
|
90 |
+
|
91 |
+
22. MORE IS COMING SOON!
|
92 |
|
93 |
== Installation ==
|
94 |
|
97 |
|
98 |
== Upgrade Notice ==
|
99 |
|
100 |
+
1.6.0 - Beware of the changes in the language file!
|
101 |
|
102 |
== Frequently Asked Questions ==
|
103 |
|
137 |
22. IMBOX Image options
|
138 |
23. IMBOX Content options
|
139 |
24. HOVERANIMATOR options
|
140 |
+
25. WIDGET STALKER options
|
|
|
|
|
|
|
141 |
|
142 |
== Changelog ==
|
143 |
|
144 |
+
= 1.6.0 =
|
145 |
+
- New feature added, WIDGET STALKER
|
146 |
+
- Teleporter, fixed disfunctional column-link
|
147 |
+
- SearchCop, added search filter for "product" post type (WooCommerce required)
|
148 |
+
|
149 |
= 1.5.9 =
|
150 |
- PoopArt, fixed initial X and Y offset that caused the horizontal scroller on full-width Section
|
151 |
- Overlaiz, added Mask option
|