<?php 
/**
 * all file includeed
 *
 * @param  
 * @return mixed|string
 */
$plugin_pro_file = 'th-shop-mania-pro/th-shop-mania-pro.php';
$plugin_companion_file = 'hunk-companion/hunk-companion.php';
$plugin_pro_exists = file_exists(WP_PLUGIN_DIR . '/' . 'th-shop-mania-pro/th-shop-mania-pro.php');
$plugin_companion_exists = file_exists(WP_PLUGIN_DIR . '/' . 'hunk-companion/hunk-companion.php');
// get_template_part( 'inc/starter-content/class-th-shop-mania-starter-content');
get_template_part( 'inc/admin-function');
get_template_part( 'inc/header-function');
get_template_part( 'inc/footer-function');
get_template_part( 'inc/blog-function');
//breadcrumbs
get_template_part( 'lib/breadcrumbs/breadcrumbs');
//page-post-meta
get_template_part( 'lib/page-meta-box/page-meta-box');
//custom-style
get_template_part( 'inc/th-shop-mania-custom-style');
//performance
get_template_part( 'inc/performance');
/******************************/
// woocommerce
/******************************/
get_template_part( 'inc/woocommerce/woo-core');
get_template_part( 'inc/woocommerce/woo-function');
get_template_part( 'inc/woocommerce/woo-login-extend');
 //theme-option
get_template_part( 'lib/th-option/th-option');
//CHILD THEME 
// get_template_part( 'lib/th-option/child-notify');
//customizer
if (is_customize_preview()) {
get_template_part('customizer/extend-customizer/class-th-shop-mania-wp-customize-panel');
get_template_part('customizer/extend-customizer/class-th-shop-mania-wp-customize-section');
get_template_part('customizer/customizer-radio-image/class/class-th-shop-mania-customize-control-radio-image');
get_template_part('customizer/customizer-range-value/class/class-th-shop-mania-customizer-range-value-control');
get_template_part('customizer/customizer-toggle/class-th-shop-mania-toggle-control');
get_template_part('customizer/custom-customizer');
get_template_part('customizer/customizer');

	if ( ( $plugin_pro_exists && !function_exists('th_shop_mania_pro_load_plugin') ) || ( !$plugin_pro_exists && ( !$plugin_companion_exists )) ) {
	get_template_part('lib/notification/customizer-notification/thsm-custom-section');
	get_template_part( 'lib/notification/customizer-notification/customizer-install');
	}
	if (!$plugin_pro_exists) {
	get_template_part('customizer/pro-button/class-customize');
	}
}

if (is_admin()) {
    get_template_part('lib/notification/notify');
}