/* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, icons, and column width. */ //Error reporting error_reporting(E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR); //Define constants define('SITE_URL', home_url().'/'); define('AJAX_URL', admin_url('admin-ajax.php')); define('THEME_PATH', get_template_directory().'/'); define('CHILD_PATH', get_stylesheet_directory().'/'); define('THEME_URI', get_template_directory_uri().'/'); define('CHILD_URI', get_stylesheet_directory_uri().'/'); define('THEMEX_PATH', THEME_PATH.'framework/'); define('THEMEX_URI', THEME_URI.'framework/'); define('THEMEX_PREFIX', 'themex_'); //Set content width $content_width=1140; //Load language files load_theme_textdomain('academy', THEME_PATH.'languages'); //Include theme functions include(THEMEX_PATH.'functions.php'); //Include configuration include(THEMEX_PATH.'config.php'); //Include core class include(THEMEX_PATH.'classes/themex.core.php'); //Create theme instance $themex=new ThemexCore($config);