Version Description
- Amaz Store - Footer changed.
- Amaz Store - Whislist and compare function changed.
Download this release
Release Info
Developer | themehunk |
Plugin | ThemeHunk Customizer |
Version | 2.6.2 |
Comparing to | |
See all releases |
Code changes from version 2.6.1 to 2.6.2
amaz-store/amaz-store-admin/woo/amaz-store-admin.php
CHANGED
@@ -171,10 +171,10 @@ function amaz_store_product_cat_filter_default_loop($term_id,$prdct_optn){
|
|
171 |
</a>
|
172 |
<div class="thunk-icons-wrap">
|
173 |
<?php
|
174 |
-
if
|
175 |
amaz_store_whish_list($pid);
|
176 |
}
|
177 |
-
if
|
178 |
echo amaz_store_add_to_compare_fltr($pid);
|
179 |
}
|
180 |
if(get_theme_mod( 'amaz_store_woo_quickview_enable', true )){
|
@@ -299,10 +299,10 @@ function amaz_store_product_filter_loop($args){
|
|
299 |
</a>
|
300 |
<div class="thunk-icons-wrap">
|
301 |
<?php
|
302 |
-
if
|
303 |
amaz_store_whish_list($pid);
|
304 |
}
|
305 |
-
if
|
306 |
echo amaz_store_add_to_compare_fltr($pid);
|
307 |
}
|
308 |
if(get_theme_mod( 'amaz_store_woo_quickview_enable', true )){
|
@@ -479,4 +479,36 @@ if (!function_exists('amaz_store_localize_pro_scripts')) {
|
|
479 |
wp_localize_script( 'amaz_store_customizer-repeater-script', 'amaz_store_repeater', $localize );
|
480 |
}
|
481 |
add_action( 'customize_controls_enqueue_scripts', 'amaz_store_localize_pro_scripts' );
|
482 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
</a>
|
172 |
<div class="thunk-icons-wrap">
|
173 |
<?php
|
174 |
+
if (function_exists('amaz_store_whish_list')) {
|
175 |
amaz_store_whish_list($pid);
|
176 |
}
|
177 |
+
if (function_exists('amaz_store_add_to_compare_fltr')) {
|
178 |
echo amaz_store_add_to_compare_fltr($pid);
|
179 |
}
|
180 |
if(get_theme_mod( 'amaz_store_woo_quickview_enable', true )){
|
299 |
</a>
|
300 |
<div class="thunk-icons-wrap">
|
301 |
<?php
|
302 |
+
if (function_exists('amaz_store_whish_list')) {
|
303 |
amaz_store_whish_list($pid);
|
304 |
}
|
305 |
+
if (function_exists('amaz_store_add_to_compare_fltr')) {
|
306 |
echo amaz_store_add_to_compare_fltr($pid);
|
307 |
}
|
308 |
if(get_theme_mod( 'amaz_store_woo_quickview_enable', true )){
|
479 |
wp_localize_script( 'amaz_store_customizer-repeater-script', 'amaz_store_repeater', $localize );
|
480 |
}
|
481 |
add_action( 'customize_controls_enqueue_scripts', 'amaz_store_localize_pro_scripts' );
|
482 |
+
}
|
483 |
+
/**************************************/
|
484 |
+
//Below footer function
|
485 |
+
/**************************************/
|
486 |
+
if ( ! function_exists( 'amaz_store_below_footer_markup' ) ){
|
487 |
+
function amaz_store_below_footer_markup(){ ?>
|
488 |
+
<div class="below-footer">
|
489 |
+
<div class="container">
|
490 |
+
<div class="below-footer-bar thnk-col-1">
|
491 |
+
<div class="below-footer-col1">
|
492 |
+
<p class="footer-copyright">©
|
493 |
+
<?php
|
494 |
+
echo date_i18n(
|
495 |
+
/* translators: Copyright date format, see https://www.php.net/date */
|
496 |
+
_x( 'Y', 'copyright date format', 'amaz-store' )
|
497 |
+
);
|
498 |
+
?>
|
499 |
+
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
|
500 |
+
<span class="powered-by-wordpress">
|
501 |
+
<span><?php _e( 'Designed by', 'amaz-store' ); ?></span>
|
502 |
+
<a href="<?php echo esc_url( __( 'https://themehunk.com/', 'amaz-store' ) ); ?>" target="_blank">
|
503 |
+
<?php _e( 'Themehunk', 'amaz-store' ); ?>
|
504 |
+
</a>
|
505 |
+
</span>
|
506 |
+
</p><!-- .footer-copyright -->
|
507 |
+
</div>
|
508 |
+
</div>
|
509 |
+
</div>
|
510 |
+
</div>
|
511 |
+
|
512 |
+
<?php }
|
513 |
+
}
|
514 |
+
add_action( 'amaz_store_below_footer', 'amaz_store_below_footer_markup' );
|
amaz-store/customizer/customizer.php
CHANGED
@@ -36,5 +36,52 @@ require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'amaz-store/customizer/section/frontp
|
|
36 |
)
|
37 |
);
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
40 |
add_action('customize_register','amaz_store_plugin_customize_register');
|
36 |
)
|
37 |
);
|
38 |
|
39 |
+
/*************************/
|
40 |
+
/* Typography Section for Pro*/
|
41 |
+
/*************************/
|
42 |
+
$wp_customize->add_section( 'amaz-typography-pro-show' , array(
|
43 |
+
'title' => __('Typography (Pro)','amaz-store'),
|
44 |
+
'priority' => 30,
|
45 |
+
) );
|
46 |
+
|
47 |
+
$wp_customize->add_setting('amaz-typography-pro-link', array(
|
48 |
+
'sanitize_callback' => 'amaz_store_sanitize_text',
|
49 |
+
));
|
50 |
+
$wp_customize->add_control(new amaz_store_Misc_Control( $wp_customize, 'amaz-typography-pro-link',
|
51 |
+
array(
|
52 |
+
'section' => 'amaz-typography-pro-show',
|
53 |
+
'type' => 'pro-link',
|
54 |
+
'url' => 'https://themehunk.com/product/amaz-store/',
|
55 |
+
'label' => esc_html__( 'Get Pro', 'amaz-store' ),
|
56 |
+
'priority' =>100,
|
57 |
+
)));
|
58 |
+
|
59 |
+
$wp_customize->add_setting('amaz-footer-pro-link', array(
|
60 |
+
'sanitize_callback' => 'amaz_store_sanitize_text',
|
61 |
+
));
|
62 |
+
$wp_customize->add_control(new amaz_store_Misc_Control( $wp_customize, 'amaz-footer-pro-link',
|
63 |
+
array(
|
64 |
+
'section' => 'amaz-store-bottom-footer',
|
65 |
+
'type' => 'pro-link',
|
66 |
+
'url' => 'https://themehunk.com/product/amaz-store/',
|
67 |
+
'label' => esc_html__( 'Get Pro', 'amaz-store' ),
|
68 |
+
'priority' =>100,
|
69 |
+
)));
|
70 |
+
|
71 |
+
/****************/
|
72 |
+
// Color Option For Pro
|
73 |
+
/****************/
|
74 |
+
$wp_customize->add_setting('amaz_store_color_optn_pro', array(
|
75 |
+
'sanitize_callback' => 'amaz_store_sanitize_text',
|
76 |
+
));
|
77 |
+
$wp_customize->add_control(new amaz_store_Misc_Control( $wp_customize, 'amaz_store_color_optn_pro',
|
78 |
+
array(
|
79 |
+
'section' => 'amaz-store-gloabal-color',
|
80 |
+
'type' => 'pro-link',
|
81 |
+
'url' => '#',
|
82 |
+
'label' => esc_html__( 'To get more color options Go to Pro', 'amaz-store' ),
|
83 |
+
'priority' =>98,
|
84 |
+
)));
|
85 |
+
|
86 |
}
|
87 |
add_action('customize_register','amaz_store_plugin_customize_register');
|
amaz-store/customizer/section/frontpage/ribbon.php
CHANGED
@@ -230,38 +230,3 @@ $wp_customize->add_control(new amaz_store_Misc_Control( $wp_customize, 'amaz_sto
|
|
230 |
'description' => esc_html__( 'To know more go with this', 'amaz-store' ),
|
231 |
'priority' =>100,
|
232 |
)));
|
233 |
-
|
234 |
-
/*************************/
|
235 |
-
/* Typography Section for Pro*/
|
236 |
-
/*************************/
|
237 |
-
$wp_customize->add_section( 'amaz-typography-pro-show' , array(
|
238 |
-
'title' => __('Typography (Pro)','amaz-store'),
|
239 |
-
'priority' => 30,
|
240 |
-
) );
|
241 |
-
|
242 |
-
$wp_customize->add_setting('amaz-typography-pro-link', array(
|
243 |
-
'sanitize_callback' => 'amaz_store_sanitize_text',
|
244 |
-
));
|
245 |
-
$wp_customize->add_control(new amaz_store_Misc_Control( $wp_customize, 'amaz-typography-pro-link',
|
246 |
-
array(
|
247 |
-
'section' => 'amaz-typography-pro-show',
|
248 |
-
'type' => 'pro-link',
|
249 |
-
'url' => '#',
|
250 |
-
'label' => esc_html__( 'Get Pro', 'amaz-store' ),
|
251 |
-
'priority' =>100,
|
252 |
-
)));
|
253 |
-
|
254 |
-
/****************/
|
255 |
-
// Color Option For Pro
|
256 |
-
/****************/
|
257 |
-
$wp_customize->add_setting('amaz_store_color_optn_pro', array(
|
258 |
-
'sanitize_callback' => 'amaz_store_sanitize_text',
|
259 |
-
));
|
260 |
-
$wp_customize->add_control(new amaz_store_Misc_Control( $wp_customize, 'amaz_store_color_optn_pro',
|
261 |
-
array(
|
262 |
-
'section' => 'amaz-store-gloabal-color',
|
263 |
-
'type' => 'pro-link',
|
264 |
-
'url' => '#',
|
265 |
-
'label' => esc_html__( 'To get more color options Go to Pro', 'amaz-store' ),
|
266 |
-
'priority' =>98,
|
267 |
-
)));
|
230 |
'description' => esc_html__( 'To know more go with this', 'amaz-store' ),
|
231 |
'priority' =>100,
|
232 |
)));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -29,6 +29,10 @@ Just upload the `themehunk-customizer.zip` to the `/wp-content/plugins/` directo
|
|
29 |
== Screenshots ==
|
30 |
|
31 |
== Changelog ==
|
|
|
|
|
|
|
|
|
32 |
= 2.6.1 =
|
33 |
* Amaz Store Banner added.
|
34 |
|
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.2
|
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.6.2 =
|
33 |
+
* Amaz Store - Footer changed.
|
34 |
+
* Amaz Store - Whislist and compare function changed.
|
35 |
+
|
36 |
= 2.6.1 =
|
37 |
* Amaz Store Banner added.
|
38 |
|
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.
|
6 |
Author: ThemeHunk
|
7 |
Text Domain: themehunk-customizer
|
8 |
Author URI: http://www.themehunk.com/
|
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.2
|
6 |
Author: ThemeHunk
|
7 |
Text Domain: themehunk-customizer
|
8 |
Author URI: http://www.themehunk.com/
|