?>e COLORMAG_INCLUDES_DIR . '/hooks/hooks.php'; require_once COLORMAG_INCLUDES_DIR . '/hooks/header.php'; require_once COLORMAG_INCLUDES_DIR . '/hooks/content.php'; require_once COLORMAG_INCLUDES_DIR . '/hooks/footer.php'; /** Load functions */ require_once COLORMAG_INCLUDES_DIR . '/custom-header.php'; require_once COLORMAG_CUSTOMIZER_DIR . '/class-colormag-customizer.php'; require_once COLORMAG_INCLUDES_DIR . '/enqueue-scripts.php'; require_once COLORMAG_INCLUDES_DIR . '/class-colormag-dynamic-css.php'; /** Add the WooCommerce plugin support */ if ( class_exists( 'WooCommerce' ) ) { require_once COLORMAG_INCLUDES_DIR . '/woocommerce.php'; } /** Add the Elementor compatibility file */ if ( defined( 'ELEMENTOR_VERSION' ) ) { require_once COLORMAG_ELEMENTOR_DIR . '/elementor.php'; require_once COLORMAG_ELEMENTOR_DIR . '/elementor-functions.php'; } /** Add meta boxes. */ require_once COLORMAG_INCLUDES_DIR . '/meta-boxes/class-colormag-meta-boxes.php'; require_once COLORMAG_INCLUDES_DIR . '/meta-boxes/class-colormag-meta-box-page-settings.php'; /** Load migration scripts. */ require_once COLORMAG_INCLUDES_DIR . '/migration.php'; /** Load Widgets and Widgetized Area */ require_once COLORMAG_WIDGETS_DIR . '/widgets.php'; /** * Load deprecated functions. */ require_once COLORMAG_INCLUDES_DIR . '/deprecated/deprecated-filters.php'; require_once COLORMAG_INCLUDES_DIR . '/deprecated/deprecated-functions.php'; require_once COLORMAG_INCLUDES_DIR . '/deprecated/deprecated-hooks.php'; /** * Load Demo Importer Configs. */ if ( class_exists( 'TG_Demo_Importer' ) ) { require get_template_directory() . '/inc/demo-config.php'; } /** * Calling in the admin area for the Welcome Page as well as for the new theme notice too. */ if ( is_admin() ) { require get_template_directory() . '/inc/admin/class-colormag-admin.php'; require get_template_directory() . '/inc/admin/class-colormag-dashboard.php'; require get_template_directory() . '/inc/admin/class-colormag-notice.php'; require get_template_directory() . '/inc/admin/class-colormag-welcome-notice.php'; require get_template_directory() . '/inc/admin/class-colormag-upgrade-notice.php'; require get_template_directory() . '/inc/admin/class-colormag-theme-review-notice.php'; } /** * Detect plugin. For use on Front End only. */ include_once ABSPATH . 'wp-admin/includes/plugin.php'; ?>