ThemeHunk Customizer - Version 2.5.8

Version Description

  • Jotshop - Jot Shop Pro Plugin compatibility added.
  • Jotshop - Slider Overlay Settings Removed.
Download this release

Release Info

Developer themehunk
Plugin Icon 128x128 ThemeHunk Customizer
Version 2.5.8
Comparing to
See all releases

Code changes from version 2.5.7 to 2.5.8

jot-shop/customizer/section/frontpage/top-slider.php CHANGED
@@ -30,13 +30,13 @@ $wp_customize->add_control(
30
  'url' => JOT_SHOP_SLIDER_LAYOUT_1,
31
  ),
32
  'slide-layout-2' => array(
33
- 'url' =>SLIDER_LAYOUT_2,
34
  ),
35
  'slide-layout-3' => array(
36
- 'url' => JOT_SHOP_SLIDER_LAYOUT_2,
37
  ),
38
  'slide-layout-4' => array(
39
- 'url' => SLIDER_LAYOUT_4,
40
  ),
41
 
42
 
@@ -343,17 +343,6 @@ $wp_customize->add_control( 'jot_shop_lay3_3url', array(
343
  'section' => 'jot_shop_top_slider_section',
344
  'type' => 'text',
345
  ));
346
- $wp_customize->add_setting('jot_shop_lay3_heading_txt', array(
347
- 'default' =>__('Market','jot-shop'),
348
- 'capability' => 'edit_theme_options',
349
- 'sanitize_callback' => 'jot_shop_sanitize_text',
350
- 'transport' => 'postMessage',
351
- ));
352
- $wp_customize->add_control( 'jot_shop_lay3_heading_txt', array(
353
- 'label' => __('category Heading', 'jot-shop'),
354
- 'section' => 'jot_shop_top_slider_section',
355
- 'type' => 'text',
356
- ));
357
  // Include category
358
  if (class_exists( 'Jot_Shop_Customize_Control_Checkbox_Multiple')) {
359
  $wp_customize->add_setting('jot_shop_include_category_slider', array(
@@ -422,19 +411,6 @@ if (class_exists( 'Jot_Shop_Customize_Control_Checkbox_Multiple')) {
422
  )
423
  )
424
  );
425
-
426
- $wp_customize->add_setting('jot_shop_lay3_bg_img_ovrly', array(
427
- 'default' => '#eaeaea',
428
- 'capability' => 'edit_theme_options',
429
- 'transport' => 'postMessage',
430
- 'sanitize_callback' => 'jot_shop_sanitize_color'
431
- ));
432
- $wp_customize->add_control(
433
- new Jot_Shop_Customizer_Color_Control($wp_customize,'jot_shop_lay3_bg_img_ovrly', array(
434
- 'label' => __('Slider Image Overlay Color', 'jot-shop' ),
435
- 'section' => 'jot_shop_top_slider_section',
436
- 'settings' => 'jot_shop_lay3_bg_img_ovrly',
437
- ) ) );
438
  $wp_customize->add_setting('jot_shop_top_slider_doc', array(
439
  'sanitize_callback' => 'jot_shop_sanitize_text',
440
  ));
30
  'url' => JOT_SHOP_SLIDER_LAYOUT_1,
31
  ),
32
  'slide-layout-2' => array(
33
+ 'url' =>JOT_SHOP_SLIDER_LAYOUT_2,
34
  ),
35
  'slide-layout-3' => array(
36
+ 'url' => JOT_SHOP_SLIDER_LAYOUT_3,
37
  ),
38
  'slide-layout-4' => array(
39
+ 'url' => JOT_SHOP_SLIDER_LAYOUT_4,
40
  ),
41
 
42
 
343
  'section' => 'jot_shop_top_slider_section',
344
  'type' => 'text',
345
  ));
 
 
 
 
 
 
 
 
 
 
 
346
  // Include category
347
  if (class_exists( 'Jot_Shop_Customize_Control_Checkbox_Multiple')) {
348
  $wp_customize->add_setting('jot_shop_include_category_slider', array(
411
  )
412
  )
413
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
414
  $wp_customize->add_setting('jot_shop_top_slider_doc', array(
415
  'sanitize_callback' => 'jot_shop_sanitize_text',
416
  ));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Author URI: : https://www.themehunk.com/
4
  Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
5
  Requires at least: 5.5
6
  Tested up to: 5.8.1
7
- Stable tag: 2.5.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -29,6 +29,9 @@ Just upload the `themehunk-customizer.zip` to the `/wp-content/plugins/` directo
29
  == Screenshots ==
30
 
31
  == Changelog ==
 
 
 
32
 
33
  = 2.5.7 =
34
  * shopline - th advance product search plugin added.
4
  Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
5
  Requires at least: 5.5
6
  Tested up to: 5.8.1
7
+ Stable tag: 2.5.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
29
  == Screenshots ==
30
 
31
  == Changelog ==
32
+ = 2.5.8 =
33
+ * Jotshop - Jot Shop Pro Plugin compatibility added.
34
+ * Jotshop - Slider Overlay Settings Removed.
35
 
36
  = 2.5.7 =
37
  * shopline - th advance product search plugin added.
themehunk-customizer.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: ThemeHunk Customizer
4
  Description: With the help of ThemeHunk unlimited addon you can add unlimited number of columns for services, Testimonial, and Team with color options for each.
5
- Version: 2.5.7
6
  Author: ThemeHunk
7
  Text Domain: themehunk-customizer
8
  Author URI: http://www.themehunk.com/
@@ -35,9 +35,15 @@ include_once( plugin_dir_path(__FILE__) . 'big-store/demo/import.php' );
35
  include_once( plugin_dir_path(__FILE__) . 'm-shop/demo/import.php' );
36
  }
37
  elseif(in_array("jot-shop", $theme)){
 
38
  include_once( plugin_dir_path(__FILE__) . 'jot-shop/demo/import.php' );
39
  }
40
 
 
 
 
 
 
41
 
42
  function themehunk_customizer_load_file(){
43
  include_once(plugin_dir_path(__FILE__) . 'themehunk/customizer-font-selector/class/class-oneline-font-selector.php' );
2
  /*
3
  Plugin Name: ThemeHunk Customizer
4
  Description: With the help of ThemeHunk unlimited addon you can add unlimited number of columns for services, Testimonial, and Team with color options for each.
5
+ Version: 2.5.8
6
  Author: ThemeHunk
7
  Text Domain: themehunk-customizer
8
  Author URI: http://www.themehunk.com/
35
  include_once( plugin_dir_path(__FILE__) . 'm-shop/demo/import.php' );
36
  }
37
  elseif(in_array("jot-shop", $theme)){
38
+ register_activation_hook( __FILE__, 'jot_shop_pro_deactivate' );
39
  include_once( plugin_dir_path(__FILE__) . 'jot-shop/demo/import.php' );
40
  }
41
 
42
+ function jot_shop_pro_deactivate() {
43
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
44
+ deactivate_plugins( plugin_basename('jot-shop-pro/jot-shop-pro.php' ) );
45
+
46
+ }
47
 
48
  function themehunk_customizer_load_file(){
49
  include_once(plugin_dir_path(__FILE__) . 'themehunk/customizer-font-selector/class/class-oneline-font-selector.php' );