tag.
*/
do_action('wp_body_open');
}
}
//Enqueue Script
add_action('wp_enqueue_scripts', 'bizhunt_enqueue_styles');
function bizhunt_enqueue_styles() {
if (get_theme_mod('custom_color_enable') == true) {
bizhunt_custom_light();
}
wp_enqueue_style('bizhunt-parent-style', BIZHUNT_PARENT_TEMPLATE_DIR_URI . '/style.css', array('bootstrap'));
//Add Script
wp_enqueue_script('bizhunt-mp-masonry-js', BIZHUNT_TEMPLATE_DIR_URI . '/js/masonry/mp.mansory.js', array('jquery'), '', true);
}
//Setup theme
add_action('after_setup_theme', 'bizhunt_setup');
function bizhunt_setup() {
load_theme_textdomain('bizhunt', BIZHUNT_TEMPLATE_DIR . '/languages');
require(BIZHUNT_TEMPLATE_DIR . '/inc/customizer/footer-options.php');
require(BIZHUNT_TEMPLATE_DIR . '/inc/customizer/customizer_theme_style.php');
}
if (is_admin()) {
require get_stylesheet_directory() . '/admin/admin-init.php';
}
// Add custom color function
function bizhunt_custom_light() {
$bizhunt_link_color = get_theme_mod('link_color');
list($r, $g, $b) = sscanf($bizhunt_link_color, "#%02x%02x%02x");
$r = $r - 50;
$g = $g - 25;
$b = $b - 40;
if ($bizhunt_link_color != '#6974ea') :
?>
remove_section( 'footer_section');
}
add_action( 'customize_register', 'bizhunt_remove_customize_register',11);