} define("THEME_NAME", 'BERG'); define("THEME_DIR", get_template_directory()); define("THEME_DIR_URI", get_template_directory_uri()); define("THEME_STYLES", THEME_DIR_URI . "/css"); define("THEME_POST_TYPES", THEME_DIR . "/inc/post-types"); define("THEME_PLUGINS", THEME_DIR . "/plugins"); define("THEME_INCLUDES", THEME_DIR . "/inc"); define("THEME_INCLUDES_URI", THEME_DIR_URI . "/inc"); if (!defined("THEME_PROTOCOL")) { define("THEME_PROTOCOL", is_ssl() ? 'https' : 'http'); } /* YoPressBase */ include_once THEME_DIR . '/yopress/core/YoPressBase.php'; $config = (include_once 'YoPressConfig.php'); YoPressBase::init($config); /** * Include the TGM_Plugin_Activation class. */ require_once dirname(__FILE__) . '/inc/class-tgm-plugin-activation.php'; /* ** includes */ include_once THEME_INCLUDES . '/functions_def.php'; include_once THEME_POST_TYPES . '/post-type-berg-menu.php'; include_once THEME_POST_TYPES . '/post-type-berg-restaurant.php'; include_once THEME_POST_TYPES . '/post-type-berg-portfolio.php'; include_once THEME_POST_TYPES . '/post-type-berg-footer.php'; include_once THEME_INCLUDES . '/custom-menu.php'; include_once THEME_INCLUDES . '/shortcodes.php'; include_once THEME_INCLUDES . '/activation.php';