ThemeHunk Customizer - Version 2.6.4

Version Description

  • M-Shop - Th product compare plugin added.
  • M-Shop - Th advance product search pro plugin issue fixed.
  • M-Shop - Customizer pro and docs button added.
  • M-Shop - Below footer option disabled.

=

Download this release

Release Info

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

Code changes from version 2.6.3 to 2.6.4

m-shop/customizer/customizer.php CHANGED
@@ -19,5 +19,24 @@ require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'm-shop/customizer/section/frontpage/
19
  require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'm-shop/customizer/section/frontpage/tab-productimage.php';
20
  require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'm-shop/customizer/section/frontpage/testimonial.php';
21
  require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'm-shop/customizer/section/frontpage/blog.php';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
  add_action('customize_register','m_shop_plugin_customize_register');
19
  require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'm-shop/customizer/section/frontpage/tab-productimage.php';
20
  require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'm-shop/customizer/section/frontpage/testimonial.php';
21
  require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'm-shop/customizer/section/frontpage/blog.php';
22
+
23
+
24
+
25
+ /*************************/
26
+ /* Footer Section for Pro*/
27
+ /*************************/
28
+
29
+ $wp_customize->add_setting('mshop-footer-pro-link', array(
30
+ 'sanitize_callback' => 'mshop_store_sanitize_text',
31
+ ));
32
+ $wp_customize->add_control(new M_Shop_Misc_Control( $wp_customize, 'mshop-footer-pro-link',
33
+ array(
34
+ 'section' => 'm-shop-bottom-footer',
35
+ 'type' => 'pro-link',
36
+ 'url' => 'https://themehunk.com/product/m-shop-pro/',
37
+ 'label' => esc_html__( 'Get Pro', 'm-shop' ),
38
+ 'priority' =>100,
39
+ )));
40
+
41
  }
42
  add_action('customize_register','m_shop_plugin_customize_register');
m-shop/m-shop-admin/woo/m-shop-admin.php CHANGED
@@ -3,19 +3,21 @@ if ( ! class_exists( 'WooCommerce' ) ){
3
  return;
4
  }
5
  if ( ! function_exists( 'm_shop_add_to_compare_fltr' ) ){
6
- /****************/
7
- // add to compare
8
- /****************/
9
  function m_shop_add_to_compare_fltr($pid){
10
- $product_id = $pid;
11
- if( is_plugin_active('yith-woocommerce-compare/init.php') && (! class_exists( 'WPCleverWooscp' ))){
12
- echo '<div class="thunk-compare"><span class="compare-list"><div class="woocommerce product compare-button"><a href="'.home_url().'?action=yith-woocompare-add-product&id='.$product_id.'" class="compare button" data-product_id="'.$product_id.'" rel="nofollow">Compare</a></div></span></div>';
 
13
 
14
- }
15
- if( ( class_exists( 'WPCleverWooscp' ))){
16
- echo '<div class="thunk-compare">'.do_shortcode('[wooscp id='.$product_id.']').'</div>';
17
  }
18
- }
 
 
19
  }
20
 
21
  if ( ! function_exists( 'm_shop_whish_list' ) ){
@@ -23,11 +25,11 @@ if ( ! function_exists( 'm_shop_add_to_compare_fltr' ) ){
23
  /** wishlist **/
24
  /**********************/
25
  function m_shop_whish_list($pid=''){
26
- if( shortcode_exists( 'yith_wcwl_add_to_wishlist' ) && (! class_exists( 'WPCleverWoosw' ))){
27
  echo '<div class="thunk-wishlist"><span class="thunk-wishlist-inner">'.do_shortcode('[yith_wcwl_add_to_wishlist product_id='.$pid.' icon="fa fa-heart" label='.__('wishlist','m-shop').'
28
  already_in_wishslist_text='.__('Already','m-shop').' browse_wishlist_text='.__('Added','m-shop').']' ).'</span></div>';
29
  }
30
- if( ( class_exists( 'WPCleverWoosw' ))){
31
  echo '<div class="thunk-wishlist"><span class="thunk-wishlist-inner">'.do_shortcode('[woosw id='.$pid.']').'</span></div>';
32
  }
33
  }
3
  return;
4
  }
5
  if ( ! function_exists( 'm_shop_add_to_compare_fltr' ) ){
6
+ /*********************/
7
+ // Th Product compare
8
+ /**********************/
9
  function m_shop_add_to_compare_fltr($pid){
10
+ if(class_exists(('th_product_compare') ) ){
11
+ echo '<div class="thunk-compare"><span class="compare-list"><div class="woocommerce product compare-button">
12
+ <a class="th-product-compare-btn compare button" data-th-product-id="'.$pid.'"></a>
13
+ </div></span></div>';
14
 
15
+ }elseif( ( class_exists( 'WPCleverWooscp' ))){
16
+ echo '<div class="thunk-compare">'.do_shortcode('[wooscp id='.$pid.']').'</div>';
 
17
  }
18
+
19
+ }
20
+
21
  }
22
 
23
  if ( ! function_exists( 'm_shop_whish_list' ) ){
25
  /** wishlist **/
26
  /**********************/
27
  function m_shop_whish_list($pid=''){
28
+ if( shortcode_exists( 'yith_wcwl_add_to_wishlist' )){
29
  echo '<div class="thunk-wishlist"><span class="thunk-wishlist-inner">'.do_shortcode('[yith_wcwl_add_to_wishlist product_id='.$pid.' icon="fa fa-heart" label='.__('wishlist','m-shop').'
30
  already_in_wishslist_text='.__('Already','m-shop').' browse_wishlist_text='.__('Added','m-shop').']' ).'</span></div>';
31
  }
32
+ elseif( ( class_exists( 'WPCleverWoosw' ))){
33
  echo '<div class="thunk-wishlist"><span class="thunk-wishlist-inner">'.do_shortcode('[woosw id='.$pid.']').'</span></div>';
34
  }
35
  }
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.2
7
- Stable tag: 2.6.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -28,6 +28,13 @@ Just upload the `themehunk-customizer.zip` to the `/wp-content/plugins/` directo
28
 
29
  == Screenshots ==
30
 
 
 
 
 
 
 
 
31
  == Changelog ==
32
  = 2.6.3 =
33
  * Jot Shop - Bottom footer setting added.
4
  Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
5
  Requires at least: 5.5
6
  Tested up to: 5.8.2
7
+ Stable tag: 2.6.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
28
 
29
  == Screenshots ==
30
 
31
+ == Changelog ==
32
+ = 2.6.4 =
33
+ * M-Shop - Th product compare plugin added.
34
+ * M-Shop - Th advance product search pro plugin issue fixed.
35
+ * M-Shop - Customizer pro and docs button added.
36
+ * M-Shop - Below footer option disabled.
37
+
38
  == Changelog ==
39
  = 2.6.3 =
40
  * Jot Shop - Bottom footer setting 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.6.3
6
  Author: ThemeHunk
7
  Text Domain: themehunk-customizer
8
  Author URI: http://www.themehunk.com/
@@ -10,7 +10,7 @@
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
 
12
  // Version constant for easy CSS refreshes
13
- define('THEMEHUNK_CUSTOMIZER_VERSION', '2.6.1');
14
  define('THEMEHUNK_CUSTOMIZER_PLUGIN_URL', plugin_dir_url(__FILE__));
15
  define('THEMEHUNK_CUSTOMIZER_PLUGIN_PATH', plugin_dir_path(__FILE__) );
16
  include_once(plugin_dir_path(__FILE__) . 'notify/notify.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.6.4
6
  Author: ThemeHunk
7
  Text Domain: themehunk-customizer
8
  Author URI: http://www.themehunk.com/
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
 
12
  // Version constant for easy CSS refreshes
13
+ define('THEMEHUNK_CUSTOMIZER_VERSION', '2.6.3');
14
  define('THEMEHUNK_CUSTOMIZER_PLUGIN_URL', plugin_dir_url(__FILE__));
15
  define('THEMEHUNK_CUSTOMIZER_PLUGIN_PATH', plugin_dir_path(__FILE__) );
16
  include_once(plugin_dir_path(__FILE__) . 'notify/notify.php' );