<?php if(!isset($content_width)) $content_width = 640;
define('CPOTHEME_ID', 'affluent');
define('CPOTHEME_NAME', 'Affluent');
define('CPOTHEME_VERSION', '1.0.9');
//Other constants
define('CPOTHEME_LOGO_WIDTH', '175');
define('CPOTHEME_USE_SLIDES', true);
define('CPOTHEME_USE_FEATURES', true);
define('CPOTHEME_USE_PORTFOLIO', true);
define('CPOTHEME_USE_TESTIMONIALS', true);
define('CPOTHEME_PREMIUM_NAME', 'Affluent Pro');
define('CPOTHEME_PREMIUM_URL', '//cpothemes.com/theme/affluent');

//Load Core; check existing core or load development core
$core_path = get_template_directory().'/core/';
if(defined('CPOTHEME_CORELITE')) $core_path = CPOTHEME_CORELITE;
require_once $core_path.'init.php';

$include_path = get_template_directory().'/includes/';

//Main components
require_once($include_path.'setup.php');

// Add Welcome Screen & Epsilon Framework
if ( ! class_exists( 'CPO_Theme' ) ) {
	require get_template_directory() . '/includes/class-cpo-theme.php';
}

if ( ! defined( 'SHORTPIXEL_AFFILIATE_CODE' ) ) {
    define( 'SHORTPIXEL_AFFILIATE_CODE', '3AXNUKA28044' );
}

if ( ! function_exists( 'wp_body_open' ) ) {
    function wp_body_open() {
        do_action( 'wp_body_open' );
    }
}