display); } /** * $content_width is a global variable used by WordPress for max image upload sizes * and media embeds (in pixels). * * Example: If the content area is 640px wide, set $content_width = 620; so images and videos will not overflow. * Default: 1140px is the default Bootstrap container width. */ if (!isset($content_width)) { $content_width = 1140; } /** * Define helper constants */ $get_theme_name = explode('/themes/', get_template_directory()); define('RELATIVE_PLUGIN_PATH', str_replace(home_url() . '/', '', plugins_url())); define('RELATIVE_CONTENT_PATH', str_replace(home_url() . '/', '', content_url())); define('THEME_NAME', next($get_theme_name)); define('THEME_PATH', RELATIVE_CONTENT_PATH . '/themes/' . THEME_NAME);