Version Description
- Amaz Store - Demo Import added.
Download this release
Release Info
Developer | themehunk |
Plugin | ThemeHunk Customizer |
Version | 2.6.0 |
Comparing to | |
See all releases |
Code changes from version 2.5.9 to 2.6.0
- amaz-store/amaz-store-admin/amaz-store-shortcode.php +2 -2
- amaz-store/amaz-store-admin/widget/widget-input.php +2 -0
- amaz-store/amaz-store-admin/woo/amaz-store-admin.php +47 -75
- amaz-store/customizer/customizer.php +1 -1
- amaz-store/customizer/images/ribbon-layout-1.png +0 -0
- amaz-store/customizer/images/ribbon-layout-2.png +0 -0
- amaz-store/customizer/section/frontpage/ribbon.php +16 -1
- amaz-store/demo/import.php +8 -25
- readme.txt +4 -1
- themehunk-customizer.php +5 -4
amaz-store/amaz-store-admin/amaz-store-shortcode.php
CHANGED
@@ -4,11 +4,11 @@ function amaz_store_shortcode_template($section_name=''){
|
|
4 |
switch ($section_name){
|
5 |
case 'amaz_store_show_frontpage':
|
6 |
$section = array(
|
7 |
-
'front-banner',
|
8 |
'front-tabproduct',
|
|
|
9 |
'front-categoryslider',
|
10 |
'front-productslider',
|
11 |
-
'front-
|
12 |
'front-productlist',
|
13 |
'front-highlight',
|
14 |
|
4 |
switch ($section_name){
|
5 |
case 'amaz_store_show_frontpage':
|
6 |
$section = array(
|
|
|
7 |
'front-tabproduct',
|
8 |
+
'front-ribbon',
|
9 |
'front-categoryslider',
|
10 |
'front-productslider',
|
11 |
+
'front-banner',
|
12 |
'front-productlist',
|
13 |
'front-highlight',
|
14 |
|
amaz-store/amaz-store-admin/widget/widget-input.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
class THunkWidgetHtml{
|
3 |
function radioBox($thi,$inst,$custarr){
|
4 |
$checked ='';
|
@@ -28,4 +29,5 @@ class THunkWidgetHtml{
|
|
28 |
</p>
|
29 |
<?php
|
30 |
}
|
|
|
31 |
}
|
1 |
<?php
|
2 |
+
if (!class_exists('THunkWidgetHtml')) {
|
3 |
class THunkWidgetHtml{
|
4 |
function radioBox($thi,$inst,$custarr){
|
5 |
$checked ='';
|
29 |
</p>
|
30 |
<?php
|
31 |
}
|
32 |
+
}
|
33 |
}
|
amaz-store/amaz-store-admin/woo/amaz-store-admin.php
CHANGED
@@ -22,44 +22,6 @@ if(!function_exists('amaz_store_product_query')){
|
|
22 |
}
|
23 |
}
|
24 |
|
25 |
-
if(!function_exists('amaz_store_product_slide_list_loop')){
|
26 |
-
/********************************/
|
27 |
-
//product slider loop
|
28 |
-
/********************************/
|
29 |
-
function amaz_store_product_slide_list_loop($term_id,$prdct_optn){
|
30 |
-
$args = amaz_store_product_query($term_id,$prdct_optn);
|
31 |
-
$products = wc_get_products( $args );
|
32 |
-
if (!empty($products)) {
|
33 |
-
foreach ($products as $product) {
|
34 |
-
$pid = $product->get_id();
|
35 |
-
?>
|
36 |
-
<div <?php post_class(); ?>>
|
37 |
-
<div class="thunk-list">
|
38 |
-
<div class="thunk-product-image">
|
39 |
-
<a href="<?php echo get_permalink($pid); ?>" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">
|
40 |
-
<?php echo get_the_post_thumbnail( $pid, 'woocommerce_thumbnail' ); ?>
|
41 |
-
</a>
|
42 |
-
</div>
|
43 |
-
<div class="thunk-product-content">
|
44 |
-
<a href="<?php echo get_permalink($pid); ?>" class="woocommerce-LoopProduct-title woocommerce-loop-product__link"><?php echo $product->get_title(); ?></a>
|
45 |
-
<?php
|
46 |
-
$rat_product = wc_get_product($pid);
|
47 |
-
$rating_count = $rat_product->get_rating_count();
|
48 |
-
$average = $rat_product->get_average_rating();
|
49 |
-
echo $rating_count = wc_get_rating_html( $average, $rating_count );
|
50 |
-
?>
|
51 |
-
<div class="price"><?php echo $product->get_price_html(); ?></div>
|
52 |
-
</div>
|
53 |
-
</div>
|
54 |
-
</div>
|
55 |
-
<?php }
|
56 |
-
} else {
|
57 |
-
echo __( 'No products found','amaz-store' );
|
58 |
-
}
|
59 |
-
wp_reset_query();
|
60 |
-
}
|
61 |
-
}
|
62 |
-
|
63 |
if(!function_exists('amaz_store_category_tab_list')){
|
64 |
/**********************************************
|
65 |
//Funtion Category list show
|
@@ -158,8 +120,16 @@ function amaz_store_product_cat_filter_default_loop($term_id,$prdct_optn){
|
|
158 |
if (!empty($products)) {
|
159 |
foreach ($products as $product) {
|
160 |
$pid = $product->get_id();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
?>
|
162 |
-
<div <?php post_class(
|
163 |
<div class="thunk-product-wrap">
|
164 |
<div class="thunk-product">
|
165 |
|
@@ -288,7 +258,7 @@ function amaz_store_product_filter_loop($args){
|
|
288 |
}
|
289 |
?>
|
290 |
<div <?php post_class($swapclasses,$pid); ?>>
|
291 |
-
|
292 |
<div class="thunk-product">
|
293 |
|
294 |
<div class="thunk-product-image">
|
@@ -327,18 +297,36 @@ function amaz_store_product_filter_loop($args){
|
|
327 |
}
|
328 |
?>
|
329 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
330 |
|
331 |
-
|
332 |
-
echo amaz_store_add_to_cart_url($product);
|
333 |
-
echo '</div>';
|
334 |
-
?>
|
335 |
|
336 |
</div>
|
337 |
|
338 |
<div class="thunk-product-content">
|
339 |
-
|
340 |
thvs_loop_available_attributes($product);
|
341 |
-
}
|
342 |
<h2 class="woocommerce-loop-product__title"><a href="<?php echo get_permalink($pid); ?>" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><?php echo $product->get_title(); ?></a>
|
343 |
</h2>
|
344 |
<?php
|
@@ -349,34 +337,18 @@ function amaz_store_product_filter_loop($args){
|
|
349 |
?>
|
350 |
|
351 |
<div class="price"><?php echo $product->get_price_html(); ?></div>
|
|
|
|
|
|
|
|
|
352 |
</div>
|
353 |
<div class="thunk-product-hover">
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
<a href="#" class="opn-quick-view-text" data-product_id="<?php echo esc_attr($pid); ?>">
|
361 |
-
<span><?php _e('Quick View','amaz-store');?></span>
|
362 |
-
</a>
|
363 |
-
</span>
|
364 |
-
</div>
|
365 |
-
<?php }
|
366 |
-
if( ( class_exists( 'WPCleverWoosc' ))){
|
367 |
-
amaz_store_wpc_wish_compare($pid);
|
368 |
-
}
|
369 |
-
if( ( class_exists( 'YITH_Woocompare' ))){
|
370 |
-
echo amaz_store_add_to_compare_fltr($pid);
|
371 |
-
}
|
372 |
-
if( class_exists( 'YITH_WCWL' )){
|
373 |
-
echo amaz_store_whish_list($pid);
|
374 |
-
}
|
375 |
-
if( ( class_exists( 'WPCleverWoosw' ))){
|
376 |
-
amaz_store_wpc_wish_list($pid);
|
377 |
-
}
|
378 |
-
|
379 |
-
?>
|
380 |
|
381 |
</div>
|
382 |
</div>
|
@@ -499,12 +471,12 @@ class amaz_store_List_Category_Images extends Walker_Category {
|
|
499 |
}
|
500 |
}
|
501 |
}
|
502 |
-
if (!function_exists('
|
503 |
-
function
|
504 |
$localize = array(
|
505 |
'limit_repeater' => false,
|
506 |
);
|
507 |
wp_localize_script( 'amaz_store_customizer-repeater-script', 'amaz_store_repeater', $localize );
|
508 |
}
|
509 |
-
add_action( 'customize_controls_enqueue_scripts', '
|
510 |
}
|
22 |
}
|
23 |
}
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
if(!function_exists('amaz_store_category_tab_list')){
|
26 |
/**********************************************
|
27 |
//Funtion Category list show
|
120 |
if (!empty($products)) {
|
121 |
foreach ($products as $product) {
|
122 |
$pid = $product->get_id();
|
123 |
+
$attachment_ids = $product->get_gallery_image_ids($pid);
|
124 |
+
if(get_theme_mod( 'amaz_store_woo_product_animation' )=='swap' && count($attachment_ids) > '0'){
|
125 |
+
$swapclass ='product amaz-store-swap-item-hover';
|
126 |
+
}elseif(get_theme_mod( 'amaz_store_woo_product_animation' )=='slide' && count($attachment_ids) > '0'){
|
127 |
+
$swapclass ='product amaz-store-slide-item-hover';
|
128 |
+
}else{
|
129 |
+
$swapclass ='product';
|
130 |
+
}
|
131 |
?>
|
132 |
+
<div <?php post_class($swapclass,$pid); ?>>
|
133 |
<div class="thunk-product-wrap">
|
134 |
<div class="thunk-product">
|
135 |
|
258 |
}
|
259 |
?>
|
260 |
<div <?php post_class($swapclasses,$pid); ?>>
|
261 |
+
<div class="thunk-product-wrap">
|
262 |
<div class="thunk-product">
|
263 |
|
264 |
<div class="thunk-product-image">
|
297 |
}
|
298 |
?>
|
299 |
</a>
|
300 |
+
<div class="thunk-icons-wrap">
|
301 |
+
<?php
|
302 |
+
if( class_exists( 'YITH_WCWL' )){
|
303 |
+
amaz_store_whish_list($pid);
|
304 |
+
}
|
305 |
+
if( ( class_exists( 'YITH_Woocompare' ))){
|
306 |
+
echo amaz_store_add_to_compare_fltr($pid);
|
307 |
+
}
|
308 |
+
if(get_theme_mod( 'amaz_store_woo_quickview_enable', true )){
|
309 |
+
?>
|
310 |
+
<div class="thunk-quickview">
|
311 |
+
<span class="quik-view">
|
312 |
+
<a href="#" class="opn-quick-view-text" data-product_id="<?php echo esc_attr($pid); ?>">
|
313 |
+
<span><?php _e('Quick View','amaz-store');?></span>
|
314 |
+
</a>
|
315 |
+
</span>
|
316 |
+
</div>
|
317 |
+
<?php }
|
318 |
+
|
319 |
+
?>
|
320 |
+
</div>
|
321 |
|
322 |
+
|
|
|
|
|
|
|
323 |
|
324 |
</div>
|
325 |
|
326 |
<div class="thunk-product-content">
|
327 |
+
<?php if (class_exists('TH_Variation_Swatches_Pro')) {
|
328 |
thvs_loop_available_attributes($product);
|
329 |
+
} ?>
|
330 |
<h2 class="woocommerce-loop-product__title"><a href="<?php echo get_permalink($pid); ?>" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><?php echo $product->get_title(); ?></a>
|
331 |
</h2>
|
332 |
<?php
|
337 |
?>
|
338 |
|
339 |
<div class="price"><?php echo $product->get_price_html(); ?></div>
|
340 |
+
<?php
|
341 |
+
amaz_store_show_stock_shop();
|
342 |
+
amaz_store_display_specific_shipping_class();
|
343 |
+
?>
|
344 |
</div>
|
345 |
<div class="thunk-product-hover">
|
346 |
+
|
347 |
+
<?php echo'<div class="th-add-to-cart">';
|
348 |
+
echo amaz_store_add_to_cart_url($product);
|
349 |
+
echo '</div>';
|
350 |
+
?>
|
351 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
|
353 |
</div>
|
354 |
</div>
|
471 |
}
|
472 |
}
|
473 |
}
|
474 |
+
if (!function_exists('amaz_store_localize_pro_scripts')) {
|
475 |
+
function amaz_store_localize_pro_scripts(){
|
476 |
$localize = array(
|
477 |
'limit_repeater' => false,
|
478 |
);
|
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 |
}
|
amaz-store/customizer/customizer.php
CHANGED
@@ -21,7 +21,7 @@ require THEMEHUNK_CUSTOMIZER_PLUGIN_PATH . 'amaz-store/customizer/section/frontp
|
|
21 |
$wp_customize->add_setting('amaz_store_prd_shw_no', array(
|
22 |
'default' =>'20',
|
23 |
'capability' => 'edit_theme_options',
|
24 |
-
'sanitize_callback' =>'
|
25 |
)
|
26 |
);
|
27 |
$wp_customize->add_control('amaz_store_prd_shw_no', array(
|
21 |
$wp_customize->add_setting('amaz_store_prd_shw_no', array(
|
22 |
'default' =>'20',
|
23 |
'capability' => 'edit_theme_options',
|
24 |
+
'sanitize_callback' =>'absint',
|
25 |
)
|
26 |
);
|
27 |
$wp_customize->add_control('amaz_store_prd_shw_no', array(
|
amaz-store/customizer/images/ribbon-layout-1.png
CHANGED
Binary file
|
amaz-store/customizer/images/ribbon-layout-2.png
CHANGED
Binary file
|
amaz-store/customizer/section/frontpage/ribbon.php
CHANGED
@@ -51,7 +51,7 @@ $wp_customize->add_control( new amaz_store_Customizer_Buttonset_Control( $wp_cus
|
|
51 |
'section' => 'amaz_store_ribbon',
|
52 |
'settings' => 'amaz_store_ribbon_background',
|
53 |
'choices' => array(
|
54 |
-
'image' => esc_html__( 'Image', 'amaz-store' ),
|
55 |
'video' => esc_html__( 'Video (Pro)', 'amaz-store' ),
|
56 |
),
|
57 |
) ) );
|
@@ -249,4 +249,19 @@ $wp_customize->add_control(new amaz_store_Misc_Control( $wp_customize, 'amaz-typ
|
|
249 |
'url' => '#',
|
250 |
'label' => esc_html__( 'Get Pro', 'amaz-store' ),
|
251 |
'priority' =>100,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
)));
|
51 |
'section' => 'amaz_store_ribbon',
|
52 |
'settings' => 'amaz_store_ribbon_background',
|
53 |
'choices' => array(
|
54 |
+
'image' => esc_html__( 'Image (Pro)', 'amaz-store' ),
|
55 |
'video' => esc_html__( 'Video (Pro)', 'amaz-store' ),
|
56 |
),
|
57 |
) ) );
|
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 |
)));
|
amaz-store/demo/import.php
CHANGED
@@ -3,36 +3,19 @@ add_filter( 'pt-ocdi/disable_pt_branding', '__return_true' );
|
|
3 |
add_filter( 'pt-ocdi/regenerate_thumbnails_in_content_import', '__return_false' );
|
4 |
|
5 |
function amaz_store_import_files(){
|
6 |
-
$file_url = 'https://themehunk.com/wp-content/uploads/sites-demo/
|
7 |
return apply_filters(
|
8 |
'amaz_store_demo_site', array(
|
9 |
array(
|
10 |
-
'import_file_name' => esc_html__('Amaz Store
|
11 |
-
'import_file_url'=> esc_url($file_url.'
|
12 |
-
'import_customizer_file_url'=> esc_url($file_url.'
|
13 |
-
'import_widget_file_url'=> esc_url($file_url.'
|
14 |
-
'import_preview_image_url'=> esc_url($file_url.'
|
15 |
-
'preview_url'=> esc_url('https://
|
16 |
-
'import_notice' => __( 'Before importing the demo data, Install & Activate the recommended plugins.', 'amaz-store' ),
|
17 |
-
),
|
18 |
-
array(
|
19 |
-
'import_file_name' => esc_html__('Amaz Store Groceries','amaz-store'),
|
20 |
-
'import_file_url'=> esc_url($file_url.'groceries/blog.xml'),
|
21 |
-
'import_customizer_file_url'=> esc_url($file_url.'groceries/customizer.dat'),
|
22 |
-
'import_widget_file_url'=> esc_url($file_url.'groceries/widgets.wie'),
|
23 |
-
'import_preview_image_url'=> esc_url($file_url.'groceries/thumb.png'),
|
24 |
-
'preview_url'=> esc_url('https://wpthemes.themehunk.com/groceries-shop/'),
|
25 |
-
'import_notice' => __( 'Before importing the demo data, Install & Activate the recommended plugins.', 'amaz-store' ),
|
26 |
-
),
|
27 |
-
array(
|
28 |
-
'import_file_name' => esc_html__('Amaz Store Electro','amaz-store'),
|
29 |
-
'import_file_url'=> esc_url($file_url.'electro/blog.xml'),
|
30 |
-
'import_customizer_file_url'=> esc_url($file_url.'electro/customizer.dat'),
|
31 |
-
'import_widget_file_url'=> esc_url($file_url.'electro/widgets.wie'),
|
32 |
-
'import_preview_image_url'=> esc_url($file_url.'electro/thumb.png'),
|
33 |
-
'preview_url'=> esc_url('https://wpthemes.themehunk.com/electro-shop/'),
|
34 |
'import_notice' => __( 'Before importing the demo data, Install & Activate the recommended plugins.', 'amaz-store' ),
|
35 |
),
|
|
|
36 |
)
|
37 |
);
|
38 |
}
|
3 |
add_filter( 'pt-ocdi/regenerate_thumbnails_in_content_import', '__return_false' );
|
4 |
|
5 |
function amaz_store_import_files(){
|
6 |
+
$file_url = 'https://themehunk.com/wp-content/uploads/sites-demo/amaz-store/';
|
7 |
return apply_filters(
|
8 |
'amaz_store_demo_site', array(
|
9 |
array(
|
10 |
+
'import_file_name' => esc_html__('Amaz Store Market','amaz-store'),
|
11 |
+
'import_file_url'=> esc_url($file_url.'blog.xml'),
|
12 |
+
'import_customizer_file_url'=> esc_url($file_url.'customizer.dat'),
|
13 |
+
'import_widget_file_url'=> esc_url($file_url.'widgets.wie'),
|
14 |
+
'import_preview_image_url'=> esc_url($file_url.'thumb.png'),
|
15 |
+
'preview_url'=> esc_url('https://themehunk.com/product/amaz-store/'),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
'import_notice' => __( 'Before importing the demo data, Install & Activate the recommended plugins.', 'amaz-store' ),
|
17 |
),
|
18 |
+
|
19 |
)
|
20 |
);
|
21 |
}
|
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.
|
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 |
= 2.5.9 =
|
33 |
* Amaz Store - Initial Released.
|
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.0
|
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.0 =
|
33 |
+
* Amaz Store - Demo Import added.
|
34 |
+
|
35 |
= 2.5.9 =
|
36 |
* Amaz Store - Initial Released.
|
37 |
|
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 |
Author: ThemeHunk
|
7 |
Text Domain: themehunk-customizer
|
8 |
Author URI: http://www.themehunk.com/
|
@@ -39,7 +39,7 @@ register_activation_hook( __FILE__, 'jot_shop_pro_deactivate' );
|
|
39 |
include_once( plugin_dir_path(__FILE__) . 'jot-shop/demo/import.php' );
|
40 |
}
|
41 |
elseif(in_array("amaz-store", $theme)){
|
42 |
-
|
43 |
include_once( plugin_dir_path(__FILE__) . 'amaz-store/demo/import.php' );
|
44 |
}
|
45 |
|
@@ -49,9 +49,10 @@ function jot_shop_pro_deactivate() {
|
|
49 |
|
50 |
}
|
51 |
function themehunk_pro_plugin_deactivate(){
|
52 |
-
|
|
|
53 |
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
54 |
-
deactivate_plugins( plugin_basename($
|
55 |
}
|
56 |
function themehunk_customizer_load_file(){
|
57 |
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.6.0
|
6 |
Author: ThemeHunk
|
7 |
Text Domain: themehunk-customizer
|
8 |
Author URI: http://www.themehunk.com/
|
39 |
include_once( plugin_dir_path(__FILE__) . 'jot-shop/demo/import.php' );
|
40 |
}
|
41 |
elseif(in_array("amaz-store", $theme)){
|
42 |
+
register_activation_hook( __FILE__, 'themehunk_pro_plugin_deactivate' );
|
43 |
include_once( plugin_dir_path(__FILE__) . 'amaz-store/demo/import.php' );
|
44 |
}
|
45 |
|
49 |
|
50 |
}
|
51 |
function themehunk_pro_plugin_deactivate(){
|
52 |
+
$theme = themehunk_customizer_text_domain();
|
53 |
+
$theme_name = $theme[0];
|
54 |
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
55 |
+
deactivate_plugins( plugin_basename($theme_name.'-pro/'.$theme_name.'-pro.php' ) );
|
56 |
}
|
57 |
function themehunk_customizer_load_file(){
|
58 |
include_once(plugin_dir_path(__FILE__) . 'themehunk/customizer-font-selector/class/class-oneline-font-selector.php' );
|