Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder - Version 1.0.1

Version Description

  • 24.09.2018 =
  • Fixed: Transform & Rotation Options not showing up for Supreme Image Module on Backend Builder.
  • Fixed: Supreme Text Divider Gap
Download this release

Release Info

Developer divisupreme
Plugin Icon 128x128 Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0.0 to 1.0.1

includes/modules/PerspectiveImage/PerspectiveImage.php CHANGED
@@ -176,7 +176,6 @@ class DSM_Perspective_Image extends ET_Builder_Module {
176
  'toggle_slug' => 'transform',
177
  //'mobile_options' => true,
178
  'validate_unit' => true,
179
- 'depends_show_if' => 'off',
180
  'default' => '1000px',
181
  'default_unit' => 'px',
182
  'default_on_front'=> '1000px',
@@ -194,7 +193,6 @@ class DSM_Perspective_Image extends ET_Builder_Module {
194
  'toggle_slug' => 'transform',
195
  //'mobile_options' => true,
196
  'validate_unit' => true,
197
- 'depends_show_if' => 'off',
198
  'default' => '0deg',
199
  'default_unit' => 'deg',
200
  'default_on_front'=> '0deg',
@@ -212,7 +210,6 @@ class DSM_Perspective_Image extends ET_Builder_Module {
212
  'toggle_slug' => 'transform',
213
  //'mobile_options' => true,
214
  'validate_unit' => true,
215
- 'depends_show_if' => 'off',
216
  'default' => '0deg',
217
  'default_unit' => 'deg',
218
  'default_on_front'=> '0deg',
@@ -230,7 +227,6 @@ class DSM_Perspective_Image extends ET_Builder_Module {
230
  'toggle_slug' => 'transform',
231
  //'mobile_options' => true,
232
  'validate_unit' => true,
233
- 'depends_show_if' => 'off',
234
  'default' => '0deg',
235
  'default_unit' => 'deg',
236
  'default_on_front'=> '0deg',
176
  'toggle_slug' => 'transform',
177
  //'mobile_options' => true,
178
  'validate_unit' => true,
 
179
  'default' => '1000px',
180
  'default_unit' => 'px',
181
  'default_on_front'=> '1000px',
193
  'toggle_slug' => 'transform',
194
  //'mobile_options' => true,
195
  'validate_unit' => true,
 
196
  'default' => '0deg',
197
  'default_unit' => 'deg',
198
  'default_on_front'=> '0deg',
210
  'toggle_slug' => 'transform',
211
  //'mobile_options' => true,
212
  'validate_unit' => true,
 
213
  'default' => '0deg',
214
  'default_unit' => 'deg',
215
  'default_on_front'=> '0deg',
227
  'toggle_slug' => 'transform',
228
  //'mobile_options' => true,
229
  'validate_unit' => true,
 
230
  'default' => '0deg',
231
  'default_unit' => 'deg',
232
  'default_on_front'=> '0deg',
includes/modules/TextDivider/TextDivider.php CHANGED
@@ -221,6 +221,16 @@ class DSM_Text_Divider extends ET_Builder_Module {
221
  ) );
222
  }
223
 
 
 
 
 
 
 
 
 
 
 
224
  if ( 'left' === $text_alignment ) {
225
  ET_Builder_Element::set_style( $render_slug, array(
226
  'selector' => '%%order_class%% .dsm-text-divider-header',
221
  ) );
222
  }
223
 
224
+ if ( '10px' !== $text_gap ) {
225
+ ET_Builder_Element::set_style( $render_slug, array(
226
+ 'selector' => '%%order_class%% .dsm-text-divider-header',
227
+ 'declaration' => sprintf(
228
+ 'margin: 0 %1$s;',
229
+ esc_attr( $text_gap )
230
+ ),
231
+ ) );
232
+ }
233
+
234
  if ( 'left' === $text_alignment ) {
235
  ET_Builder_Element::set_style( $render_slug, array(
236
  'selector' => '%%order_class%% .dsm-text-divider-header',
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://suprememodules.com/
5
  Requires at least: 4.5
6
  Tested up to: 4.9
7
  Requires PHP: 5.6
8
- Stable tag: 1.0.0
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -67,5 +67,9 @@ YES!
67
 
68
  == Changelog ==
69
 
 
 
 
 
70
  = 1.0.0 - 24.09.2018 =
71
  * Official Public Release
5
  Requires at least: 4.5
6
  Tested up to: 4.9
7
  Requires PHP: 5.6
8
+ Stable tag: 1.0.1
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
67
 
68
  == Changelog ==
69
 
70
+ = 1.0.1 - 24.09.2018 =
71
+ * Fixed: Transform & Rotation Options not showing up for Supreme Image Module on Backend Builder.
72
+ * Fixed: Supreme Text Divider Gap
73
+
74
  = 1.0.0 - 24.09.2018 =
75
  * Official Public Release
supreme-modules-for-divi.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Supreme Modules for Divi
4
  Plugin URI: https://suprememodules.com
5
  Description: Supreme Modules enhances the experience and features found on Divi and extend with custom and creative modules to help you build amazing websites.
6
- Version: 1.0.0
7
  Author: Supreme Modules
8
  Author URI: https://suprememodules.com/about-us/
9
  License: GPL2
@@ -25,7 +25,6 @@ You should have received a copy of the GNU General Public License
25
  along with Supreme Modules. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
26
  */
27
 
28
-
29
  if ( ! function_exists( 'dsm_initialize_extension' ) ):
30
  /**
31
  * Creates the extension's main class instance.
@@ -45,4 +44,4 @@ function dsm_scripts(){
45
  }
46
  }
47
 
48
- add_action('wp_enqueue_scripts', 'dsm_scripts');
3
  Plugin Name: Supreme Modules for Divi
4
  Plugin URI: https://suprememodules.com
5
  Description: Supreme Modules enhances the experience and features found on Divi and extend with custom and creative modules to help you build amazing websites.
6
+ Version: 1.0.1
7
  Author: Supreme Modules
8
  Author URI: https://suprememodules.com/about-us/
9
  License: GPL2
25
  along with Supreme Modules. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
26
  */
27
 
 
28
  if ( ! function_exists( 'dsm_initialize_extension' ) ):
29
  /**
30
  * Creates the extension's main class instance.
44
  }
45
  }
46
 
47
+ add_action('wp_enqueue_scripts', 'dsm_scripts');