tag. */ do_action('wp_body_open'); } } // Enqueue Script add_action('wp_enqueue_scripts', 'cloudpress_agency_enqueue_styles',999); function cloudpress_agency_enqueue_styles() { wp_enqueue_style('cloudpress-agency-parent-style', CLOUDPRESS_AGENCY_PARENT_TEMPLATE_DIR_URI . '/style.css', array('bootstrap')); if (get_theme_mod('custom_color_enable') == true) { cloudpress_agency_custom_light(); } else{ wp_enqueue_style('cloudpress-agency-default-style', CLOUDPRESS_AGENCY_TEMPLATE_DIR_URI . '/assets/css/default.css'); } } //Setup theme add_action('after_setup_theme', 'cloudpress_agency_setup'); function cloudpress_agency_setup() { load_theme_textdomain('cloudpress-agency', CLOUDPRESS_AGENCY_TEMPLATE_DIR . '/languages'); require(CLOUDPRESS_AGENCY_TEMPLATE_DIR . '/inc/customizer/footer-options.php'); require( CLOUDPRESS_AGENCY_TEMPLATE_DIR . '/inc/customizer/customizer_theme_style.php'); //About Theme $theme = wp_get_theme(); // gets the current theme if ('CloudPress Agency' == $theme->name) { if (is_admin()) { require CLOUDPRESS_AGENCY_TEMPLATE_DIR . '/admin/admin-init.php'; } } } // Add footer hook add_action('cloudpress_agency_footer_section_hook', 'cloudpress_agency_footer_section_hook'); function cloudpress_agency_footer_section_hook() {?>