<?php
/**
 * Load required files.
 *
 * @package Education_Hub
 */

/**
 * Include default theme options.
 */
require get_template_directory() . '/inc/customizer/default.php';

/**
 * Load helpers.
 */
require get_template_directory() . '/inc/helper/common.php';
require get_template_directory() . '/inc/helper/options.php';
require get_template_directory() . '/inc/helper/custom.php';

/**
 * Load theme core functions.
 */
require get_template_directory() . '/inc/core.php';

/**
 * Load libraries.
 */
if ( ! class_exists( 'TGM_Plugin_Activation' ) ) {
	require_once trailingslashit( get_template_directory() ) . 'lib/tgm/class-tgm-plugin-activation.php';
}

/**
 * Load hooks.
 */
require get_template_directory() . '/inc/hook/structure.php';
require get_template_directory() . '/inc/hook/basic.php';
require get_template_directory() . '/inc/hook/custom.php';
require get_template_directory() . '/inc/hook/slider.php';
require get_template_directory() . '/inc/hook/featured-content.php';
require get_template_directory() . '/inc/hook/css.php';
require_once get_template_directory() . '/inc/hook/tgm.php';

/**
 * Load metabox.
 */
require get_template_directory() . '/inc/metabox.php';

/**
 * Include Widgets
 */
require trailingslashit( get_template_directory() ) . 'inc/widgets.php';

/**
 * Implement the Custom Header feature.
 */
require get_template_directory() . '/inc/custom-header.php';

/**
 * Custom template tags for this theme.
 */
require get_template_directory() . '/inc/template-tags.php';

/**
 * Customizer additions.
 */
require get_template_directory() . '/inc/customizer.php';

/**
 * Load Jetpack compatibility file.
 */
require get_template_directory() . '/inc/jetpack.php';

