'; wp_die( $html, $title, array('response' => 403) ); } /** * Load core utilities functions. */ require_once get_template_directory() . '/core/inc/core-utilities.php'; /** * Install functions. */ require_once get_template_directory() . '/core/inc/install.php'; /** * Load the main functions. */ require_once get_template_directory() . '/core/inc/main.php'; /** * Load privacy functions */ require_once get_template_directory() . '/core/inc/privacy.php'; /** * Load API functions. */ require_once get_template_directory() . '/core/inc/api/loader.php'; /** * Load the admin functions. */ require_once get_template_directory() . '/core/inc/admin.php'; /** * Load the uncode export file. */ require_once get_template_directory() . '/core/inc/export/uncode_export.php'; /** * Load the color system. */ require_once get_template_directory() . '/core/inc/colors.php'; /** * Load TGM plugins activation. */ require_once get_template_directory() . '/core/plugins_activation/init.php'; /** * Load the media enhanced function. */ require_once( ABSPATH . WPINC . '/class-oembed.php' ); require_once get_template_directory() . '/core/inc/media-enhanced.php'; /** * Load the bootstrap navwalker. */ require_once get_template_directory() . '/core/inc/wp-bootstrap-navwalker.php'; /** * Load the bootstrap navwalker. */ require_once get_template_directory() . '/core/inc/uncode-comment-walker.php'; /** * Load menu builder. */ if ($ok_php) { require_once get_template_directory() . '/partials/menus.php'; } /** * Load header builder. */ if ($ok_php) { require_once get_template_directory() . '/partials/headers.php'; } /** * Load elements partial. */ if ($ok_php) { require_once get_template_directory() . '/partials/elements.php'; } /** * Custom template tags for this theme. */ require_once get_template_directory() . '/core/inc/template-tags.php'; /** * Helpers functions. */ require_once get_template_directory() . '/core/inc/helpers.php'; require_once get_template_directory() . '/core/inc/adaptive-images.php'; /** * Customizer additions. */ require_once get_template_directory() . '/core/inc/customizer.php'; /** * Customizer WooCommerce additions. */ if (class_exists( 'WooCommerce' )) { require_once get_template_directory() . '/core/inc/customizer-woocommerce.php'; } /** * Load Jetpack compatibility file. */ require_once get_template_directory() . '/core/inc/jetpack.php'; /** * Load gallery functions */ require_once get_template_directory() . '/core/inc/galleries.php'; /** * Load third-party compatibility file. */ require_once get_template_directory() . '/core/inc/compatibility/compatibility.php'; /** * Deprecated functions. */ require_once get_template_directory() . '/core/inc/deprecated-functions.php'; add_action( 'after_setup_theme', 'uncode_related_post_call' ); if ( ! function_exists( 'uncode_related_post_call' ) ) : /** * @since Uncode 1.5.0 * Additional post type for related posts plugin */ function uncode_related_post_call() { if ( class_exists( 'RP4WP' ) ) { require_once get_template_directory() . '/core/inc/related-posts.php'; } } endif; ?>; ?>