OoohBoi Steroids for Elementor - Version 2.0.4

Version Description

  • New: TYPO - More options to your Elementor Kit (Site Settings)
  • Fix: OVERLAIZ - due to the class name changes to Container in Elementor v3.8
  • Updates: cdnjs libraries; GSAP (3.11.3), ScrollTrigger (3.11.3), ScrollTo (3.11.3), MotionPath (3.11.3)
Download this release

Release Info

Developer ooohboi
Plugin Icon 128x128 OoohBoi Steroids for Elementor
Version 2.0.4
Comparing to
See all releases

Code changes from version 2.0.3 to 2.0.4

controls/ooohboi-overlaiz.php CHANGED
@@ -37,7 +37,7 @@ class OoohBoi_Overlaiz {
37
  // selector based on the current element
38
  $selector = '{{WRAPPER}} > .elementor-column-wrap > .elementor-background-overlay, {{WRAPPER}} > .elementor-widget-wrap > .elementor-background-overlay';
39
  if( 'section' == $element->get_name() ) $selector = '{{WRAPPER}} > .elementor-background-overlay';
40
- elseif( 'container' == $element->get_name() ) $selector = '{{WRAPPER}}.e-container--column:before';
41
 
42
 
43
  $element->add_control(
37
  // selector based on the current element
38
  $selector = '{{WRAPPER}} > .elementor-column-wrap > .elementor-background-overlay, {{WRAPPER}} > .elementor-widget-wrap > .elementor-background-overlay';
39
  if( 'section' == $element->get_name() ) $selector = '{{WRAPPER}} > .elementor-background-overlay';
40
+ elseif( 'container' == $element->get_name() ) $selector = '{{WRAPPER}}.e-con::before';
41
 
42
 
43
  $element->add_control(
controls/ooohboi-typo.php ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ use Elementor\Controls_Manager;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
5
+
6
+ /**
7
+ * Main OoohBoi Typo
8
+ *
9
+ *
10
+ * @since 2.0.4
11
+ */
12
+ class OoohBoi_Typo {
13
+
14
+ /**
15
+ * Initialize
16
+ *
17
+ * @since 2.0.4
18
+ *
19
+ * @access public
20
+ */
21
+ public static function init() {
22
+
23
+ add_action( 'elementor/element/kit/section_typography/before_section_end', [ __CLASS__, 'ooohboi_typo_opts' ], 10, 1 );
24
+
25
+ }
26
+
27
+ public static function ooohboi_typo_opts( $element ) {
28
+
29
+ /* BODY */
30
+
31
+ $element->start_injection( [
32
+ 'of' => 'paragraph_spacing',
33
+ 'at' => 'after',
34
+ ] );
35
+
36
+ // --------------------------------------------------------------------------------------------- CONTROL: Remove horizontal scroller
37
+ $element->add_control(
38
+ '_ob_remove_horiz_scroll',
39
+ [
40
+ 'label' => esc_html__( 'Remove horizontal scroller?', 'ooohboi-steroids' ),
41
+ 'separator' => 'before',
42
+ 'type' => Controls_Manager::SELECT,
43
+ 'default' => 'inherit',
44
+ 'options' => [
45
+ 'hidden' => esc_html__( 'Remove', 'ooohboi-steroids' ),
46
+ 'inherit' => esc_html__( 'Leave', 'ooohboi-steroids' ),
47
+ ],
48
+ 'selectors' => [
49
+ 'body' => 'overflow-x: {{VALUE}} !important;',
50
+ ],
51
+ ]
52
+ );
53
+
54
+ // --------------------------------------------------------------------------------------------- CONTROL: Remove link underlines
55
+ $element->add_control(
56
+ '_ob_remove_link_underlines',
57
+ [
58
+ 'label' => esc_html__( 'Remove link underlines?', 'ooohboi-steroids' ),
59
+ 'type' => Controls_Manager::SELECT,
60
+ 'default' => 'inherit',
61
+ 'options' => [
62
+ 'none' => esc_html__( 'Remove', 'ooohboi-steroids' ),
63
+ 'inherit' => esc_html__( 'Leave', 'ooohboi-steroids' ),
64
+ ],
65
+ 'selectors' => [
66
+ '.elementor a, .elementor a:link, .elementor a:focus, .elementor a:active, .elementor a:hover' => 'text-decoration: {{VALUE}} !important;',
67
+ ],
68
+ ]
69
+ );
70
+
71
+ $element->end_injection();
72
+
73
+ /* Links */
74
+
75
+ $element->start_injection( [
76
+ 'of' => 'link_normal_typography_typography',
77
+ 'at' => 'after',
78
+ ] );
79
+
80
+ // --------------------------------------------------------------------------------------------- CONTROL: Smooth link hovers
81
+ $element->add_control(
82
+ '_ob_smooth_link_hovers',
83
+ [
84
+ 'label' => esc_html__( 'Smooth link hovers?', 'ooohboi-steroids' ),
85
+ 'description' => esc_html__( 'TIP: You can add ".smooth-hover" custom class name to any widget in order to add smooth-hover behaviour to its hyperlinks', 'ooohboi-steroids' ),
86
+ 'separator' => 'before',
87
+ 'type' => Controls_Manager::SELECT,
88
+ 'default' => 'inherit',
89
+ 'options' => [
90
+ 'all 0.25s ease-in-out' => esc_html__( 'Yes', 'ooohboi-steroids' ),
91
+ 'inherit' => esc_html__( 'No', 'ooohboi-steroids' ),
92
+ ],
93
+ 'selectors' => [
94
+ '.elementor a:link, .elementor .smooth-hover a:link, ' => 'transition: {{VALUE}};',
95
+ ],
96
+ ]
97
+ );
98
+
99
+ $element->end_injection();
100
+
101
+ }
102
+
103
+ }
inc/common-functions.php CHANGED
@@ -260,6 +260,13 @@ $fields[] = array(
260
  'description' => sprintf( __( '%sStyle up the Post Content widget elements%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
261
  'default' => 'yes',
262
  ),
 
 
 
 
 
 
 
263
  ),
264
  );
265
 
260
  'description' => sprintf( __( '%sStyle up the Post Content widget elements%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
261
  'default' => 'yes',
262
  ),
263
+ array(
264
+ 'id' => 'ob_use_typo',
265
+ 'title' => 'TYPO',
266
+ 'type' => 'switcher',
267
+ 'description' => sprintf( __( '%sMore controls to your Elementor Kit%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
268
+ 'default' => 'yes',
269
+ ),
270
  ),
271
  );
272
 
inc/exopite-simple-options/fields/fieldset.php CHANGED
@@ -14,7 +14,8 @@ if ( ! class_exists( 'Exopite_Simple_Options_Framework_Field_fieldset' ) ) {
14
 
15
  class Exopite_Simple_Options_Framework_Field_fieldset extends Exopite_Simple_Options_Framework_Fields {
16
 
17
- public function __construct( $field, $value = '', $unique = '', $config = array(), $multilang ) {
 
18
  parent::__construct( $field, $value, $unique, $config, $multilang );
19
  }
20
 
14
 
15
  class Exopite_Simple_Options_Framework_Field_fieldset extends Exopite_Simple_Options_Framework_Fields {
16
 
17
+ /*public function __construct( $field, $value = '', $unique = '', $config = array(), $multilang ) {*/
18
+ public function __construct( $field, $value, $unique, $config, $multilang ) {
19
  parent::__construct( $field, $value, $unique, $config, $multilang );
20
  }
21
 
inc/img/site-settings-news.png ADDED
Binary file
inc/info/ob-landing.php CHANGED
@@ -10,18 +10,21 @@
10
 
11
  <div class="col-8">
12
 
13
- <h3>What's new to 2.0.3?</h3>
14
  <p>
15
- <strong>Fixes and updates mostly</strong>
16
  </p>
17
  <p>
18
- '_ob_use_tabbr' critical error for Elementor 3.7 + has finally been fixed
19
  </p>
20
  <p>
21
- POSTMAN extension got a new option that allows you to add padding to the Blockquote element.
22
  </p>
23
  <p>
24
- All of the GreenSock's animation libraries (and plugins) are now up to date! GSAP, ScrollTrigger, ScrollTo, and MotionPath have been "updated" to the latest 3.11
 
 
 
25
  </p>
26
  <p style="background-color: #ffe1e1; padding: 28px;">
27
  PLEASE support this plugin development! Think about a small monthly donation if you find it useful for your business. Even $1 from you could have a big impact on development, new features and quicker bug fixes.<br/>
10
 
11
  <div class="col-8">
12
 
13
+ <h3>What's new to 2.0.4?</h3>
14
  <p>
15
+ <strong>A couple of major issues relating to the latest Elementor v3.8 are now being fixed, mostly those relating to the Flex Container.</strong>
16
  </p>
17
  <p>
18
+ Site Settings are now extended with a few useful options. The most likely there will be more in the future.
19
  </p>
20
  <p>
21
+ <img src="<?php echo SFE_DIR_URL . 'img/site-settings-news.png'; ?>" alt="Site Settings news" />
22
  </p>
23
  <p>
24
+ All of the GreenSock's animation libraries (and plugins) are up to date! GSAP, ScrollTrigger, ScrollTo, and MotionPath have been "updated" to the latest 3.11.3
25
+ </p>
26
+ <p>
27
+ Oh Animator extension remains disabled until Flex Containers are moved from beta to stable.
28
  </p>
29
  <p style="background-color: #ffe1e1; padding: 28px;">
30
  PLEASE support this plugin development! Think about a small monthly donation if you find it useful for your business. Even $1 from you could have a big impact on development, new features and quicker bug fixes.<br/>
ooohboi-steroids.php CHANGED
@@ -2,13 +2,13 @@
2
  /**
3
  * Plugin Name: OoohBoi Steroids for Elementor
4
  * Description: An awesome set of tools/options/settings that extend Elementor default/existing widgets and elements. It keeps the editor tidy, saves valuable resources and improves the workflow.
5
- * Version: 2.0.3
6
  * Author: OoohBoi
7
  * Author URI: https://www.youtube.com/c/OoohBoi
8
  * Text Domain: ooohboi-steroids
9
  * Domain Path: /lang
10
  * License: GPLv3
11
- * Elementor tested up to: 3.7.9
12
  * Elementor Pro tested up to: 3.7.9
13
  * License URI: http://www.gnu.org/licenses/gpl-3.0
14
  */
@@ -33,7 +33,7 @@ final class OoohBoi_Steroids {
33
  *
34
  * @var string The plugin version.
35
  */
36
- const VERSION = '2.0.3';
37
 
38
  /**
39
  * Minimum Elementor Version
@@ -42,7 +42,7 @@ final class OoohBoi_Steroids {
42
  *
43
  * @var string Minimum Elementor version required to run the plugin.
44
  */
45
- const MINIMUM_ELEMENTOR_VERSION = '3.4';
46
 
47
  /**
48
  * Elementor Version for Containers
@@ -365,8 +365,8 @@ final class OoohBoi_Steroids {
365
  'OoohBoi_Glider' => 'ob_use_glider', 'OoohBoi_PhotoGiraffe' => 'ob_use_photogiraffe', 'OoohBoi_Teleporter' => 'ob_use_teleporter', 'OoohBoi_SearchCop' => 'ob_use_searchcop', 'OoohBoi_Videomasq' => 'ob_use_videomasq',
366
  'OoohBoi_Butter_Button' => 'ob_use_butterbutton', 'OoohBoi_Perspektive' => 'ob_use_perspektive', 'OoohBoi_Shadough' => 'ob_use_shadough', 'OoohBoi_PhotoMorph' => 'ob_use_photomorph', 'OoohBoi_Commentz' => 'ob_use_commentz',
367
  'OoohBoi_SpaceRat' => 'ob_use_spacerat', 'OoohBoi_Imbox' => 'ob_use_imbox', 'OoohBoi_Icobox' => 'ob_use_icobox', 'OoohBoi_Hover_Animator' => 'ob_use_hoveranimator', 'OoohBoi_Kontrolz' => 'ob_use_kontrolz',
368
- 'OoohBoi_Widget_Stalker' => 'ob_use_widgetstalker', 'OoohBoi_Pseudo' => 'ob_use_pseudo', 'OoohBoi_Bullet' => 'ob_use_bullet', 'OoohBoi_Container_Extras' => 'ob_use_container_extras',
369
- 'OoohBoi_Counterz' => 'ob_use_counterz', 'OoohBoi_Tabbr' => 'ob_use_tabbr', 'OoohBoi_Postman' => 'ob_use_postman', /*'OoohBoi_Interactor' => 'ob_use_interactor'*/ ];
370
 
371
  /* since 1.9.1 & Elementor 3.6+ */
372
  $exclude_with_containers = [];
@@ -388,7 +388,7 @@ final class OoohBoi_Steroids {
388
 
389
  // include libraries that involve editor controls; Locomotive Scroll, GSAP/ScrollTrigger...
390
  if( $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_use_locomotive_scroll' ] && 'yes' === $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_use_locomotive_scroll' ] ) new OoohBoi_Locomotion();
391
- //if( $container_active && $ob_settings_options[ 'ob_use_gsap' ] && 'yes' === $ob_settings_options[ 'ob_use_gsap' ] && $ob_settings_options[ 'ob_use_scroll_trigger' ] && 'yes' === $ob_settings_options[ 'ob_use_scroll_trigger' ] ) OoohBoi_Oh_Animator::init();
392
  }
393
 
394
  }
@@ -468,19 +468,19 @@ final class OoohBoi_Steroids {
468
  }
469
  // gsap
470
  if( 1 === self::$sfe_lib_gsap ) {
471
- wp_register_script( 'gsap-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.11.0/gsap.min.js', [], self::VERSION, true );
472
  }
473
  // scroll trigger
474
  if( 1 === self::$sfe_lib_scroll_trigger ) {
475
- wp_register_script( 'scroll-trigger-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.11.0/ScrollTrigger.min.js', [], self::VERSION, true );
476
  }
477
  // scroll to
478
  if( 1 === self::$sfe_lib_scroll_to ) {
479
- wp_register_script( 'scroll-to-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.11.0/ScrollToPlugin.min.js', [], self::VERSION, true );
480
  }
481
  // scroll motion path
482
  if( 1 === self::$sfe_lib_motion_path ) {
483
- wp_register_script( 'motion-path-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.11.0/MotionPathPlugin.min.js', [], self::VERSION, true );
484
  }
485
  // barba
486
  if( 1 === self::$sfe_lib_barba && ! $ele_is_preview ) {
@@ -541,7 +541,9 @@ final class OoohBoi_Steroids {
541
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-tabbr.php'; // OoohBoi Tabbr
542
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-postman.php'; // OoohBoi Postman
543
  // ----------
544
- include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-locomotion.php'; // OoohBoi Locomotion
 
 
545
  }
546
 
547
  }
2
  /**
3
  * Plugin Name: OoohBoi Steroids for Elementor
4
  * Description: An awesome set of tools/options/settings that extend Elementor default/existing widgets and elements. It keeps the editor tidy, saves valuable resources and improves the workflow.
5
+ * Version: 2.0.4
6
  * Author: OoohBoi
7
  * Author URI: https://www.youtube.com/c/OoohBoi
8
  * Text Domain: ooohboi-steroids
9
  * Domain Path: /lang
10
  * License: GPLv3
11
+ * Elementor tested up to: 3.8.9
12
  * Elementor Pro tested up to: 3.7.9
13
  * License URI: http://www.gnu.org/licenses/gpl-3.0
14
  */
33
  *
34
  * @var string The plugin version.
35
  */
36
+ const VERSION = '2.0.4';
37
 
38
  /**
39
  * Minimum Elementor Version
42
  *
43
  * @var string Minimum Elementor version required to run the plugin.
44
  */
45
+ const MINIMUM_ELEMENTOR_VERSION = '3.6';
46
 
47
  /**
48
  * Elementor Version for Containers
365
  'OoohBoi_Glider' => 'ob_use_glider', 'OoohBoi_PhotoGiraffe' => 'ob_use_photogiraffe', 'OoohBoi_Teleporter' => 'ob_use_teleporter', 'OoohBoi_SearchCop' => 'ob_use_searchcop', 'OoohBoi_Videomasq' => 'ob_use_videomasq',
366
  'OoohBoi_Butter_Button' => 'ob_use_butterbutton', 'OoohBoi_Perspektive' => 'ob_use_perspektive', 'OoohBoi_Shadough' => 'ob_use_shadough', 'OoohBoi_PhotoMorph' => 'ob_use_photomorph', 'OoohBoi_Commentz' => 'ob_use_commentz',
367
  'OoohBoi_SpaceRat' => 'ob_use_spacerat', 'OoohBoi_Imbox' => 'ob_use_imbox', 'OoohBoi_Icobox' => 'ob_use_icobox', 'OoohBoi_Hover_Animator' => 'ob_use_hoveranimator', 'OoohBoi_Kontrolz' => 'ob_use_kontrolz',
368
+ 'OoohBoi_Widget_Stalker' => 'ob_use_widgetstalker', 'OoohBoi_Pseudo' => 'ob_use_pseudo', 'OoohBoi_Bullet' => 'ob_use_bullet', 'OoohBoi_Container_Extras' => 'ob_use_container_extras', 'OoohBoi_Counterz' => 'ob_use_counterz',
369
+ 'OoohBoi_Tabbr' => 'ob_use_tabbr', 'OoohBoi_Postman' => 'ob_use_postman', /*'OoohBoi_Interactor' => 'ob_use_interactor', */ 'OoohBoi_Typo' => 'ob_use_typo' ];
370
 
371
  /* since 1.9.1 & Elementor 3.6+ */
372
  $exclude_with_containers = [];
388
 
389
  // include libraries that involve editor controls; Locomotive Scroll, GSAP/ScrollTrigger...
390
  if( $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_use_locomotive_scroll' ] && 'yes' === $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_use_locomotive_scroll' ] ) new OoohBoi_Locomotion();
391
+ /*if( $container_active && $ob_settings_options[ 'ob_use_gsap' ] && 'yes' === $ob_settings_options[ 'ob_use_gsap' ] && $ob_settings_options[ 'ob_use_scroll_trigger' ] && 'yes' === $ob_settings_options[ 'ob_use_scroll_trigger' ] ) OoohBoi_Oh_Animator::init();*/
392
  }
393
 
394
  }
468
  }
469
  // gsap
470
  if( 1 === self::$sfe_lib_gsap ) {
471
+ wp_register_script( 'gsap-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js', [], self::VERSION, true );
472
  }
473
  // scroll trigger
474
  if( 1 === self::$sfe_lib_scroll_trigger ) {
475
+ wp_register_script( 'scroll-trigger-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/ScrollTrigger.min.js', [], self::VERSION, true );
476
  }
477
  // scroll to
478
  if( 1 === self::$sfe_lib_scroll_to ) {
479
+ wp_register_script( 'scroll-to-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/ScrollToPlugin.min.js', [], self::VERSION, true );
480
  }
481
  // scroll motion path
482
  if( 1 === self::$sfe_lib_motion_path ) {
483
+ wp_register_script( 'motion-path-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/MotionPathPlugin.min.js', [], self::VERSION, true );
484
  }
485
  // barba
486
  if( 1 === self::$sfe_lib_barba && ! $ele_is_preview ) {
541
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-tabbr.php'; // OoohBoi Tabbr
542
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-postman.php'; // OoohBoi Postman
543
  // ----------
544
+ include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-locomotion.php'; // OoohBoi Locomotion
545
+ // kit add-ons
546
+ include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-typo.php'; // OoohBoi Typo
547
  }
548
 
549
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: OoohBoi
3
  Tags: page-builder, elementor, add-on, background-overlay, vertical text, ghost elements, overlapping columns
4
  Donate link: https://www.paypal.me/ooohboi
5
  Requires at least: 5.0
6
- Tested up to: 6.0
7
- Stable tag: 2.0.3
8
  Requires PHP: 7.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0
@@ -17,7 +17,7 @@ An awesome set of tools, options and settings that expand Elementor defaults. In
17
 
18
  = What is new? =
19
 
20
- Recently added 1 new extension : POSTMAN
21
 
22
  == Installation ==
23
 
@@ -26,7 +26,7 @@ Recently added 1 new extension : POSTMAN
26
 
27
  == Upgrade Notice ==
28
 
29
- 2.0.3 - Beware of changes to the language file!
30
 
31
  == Frequently Asked Questions ==
32
 
@@ -42,6 +42,11 @@ No, you don't. It'll work with both free version of Elementor and Elementor PRO.
42
 
43
  == Changelog ==
44
 
 
 
 
 
 
45
  = 2.0.3 =
46
  - Fix: POSTMAN - Quotations background color is being displayed atop the text
47
  - Fix: TABBR - '_ob_use_tabbr' critical error for Elementor 3.7 +
3
  Tags: page-builder, elementor, add-on, background-overlay, vertical text, ghost elements, overlapping columns
4
  Donate link: https://www.paypal.me/ooohboi
5
  Requires at least: 5.0
6
+ Tested up to: 6.1
7
+ Stable tag: 2.0.4
8
  Requires PHP: 7.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0
17
 
18
  = What is new? =
19
 
20
+ More options to your Elementor Kit (Site Settings)
21
 
22
  == Installation ==
23
 
26
 
27
  == Upgrade Notice ==
28
 
29
+ 2.0.4 - Beware of changes to the language file!
30
 
31
  == Frequently Asked Questions ==
32
 
42
 
43
  == Changelog ==
44
 
45
+ = 2.0.4 =
46
+ - New: TYPO - More options to your Elementor Kit (Site Settings)
47
+ - Fix: OVERLAIZ - due to the class name changes to Container in Elementor v3.8
48
+ - Updates: cdnjs libraries; GSAP (3.11.3), ScrollTrigger (3.11.3), ScrollTo (3.11.3), MotionPath (3.11.3)
49
+
50
  = 2.0.3 =
51
  - Fix: POSTMAN - Quotations background color is being displayed atop the text
52
  - Fix: TABBR - '_ob_use_tabbr' critical error for Elementor 3.7 +