/** * init() Initialisation method which calls all other methods in turn. * * @since 0.1 */ public static function init() { $theme = new WPevolve(); $theme->enviroment(); $theme->evolve(); $theme->extentions(); $theme->defaults(); $theme->ready(); do_action('evolve_init'); }
return true; } $evolve_layout = evolve_get_option('evl_layout', '2cr'); $evolve_width_layout = evolve_get_option('evl_width_layout', 'fixed'); load_theme_textdomain('evolve', get_template_directory() . '/languages'); /** * Functions - Evolve gatekeeper * This file defines a few constants variables, loads up the core Evolve file, * and finally initialises the main WP Evolve Class. * * @package EvoLve * @subpackage Functions */ /* Blast you red baron! Initialise WP Evolve */ get_template_part('library/evolve'); WPevolve::init(); get_template_part('library/functions/tabs-widget'); // Multiple Sidebars get_template_part('library/plugins/multiple_sidebars'); // Portfolio get_template_part('library/plugins/post-link-plus'); /** * Layerslider API */ function evolve_layerslider_ready() { if (class_exists('LS_Sources')) { LS_Sources::addSkins(get_template_directory() . '/library/plugins/ls-skins'); } } add_action('layerslider_ready', 'evolve_layerslider_ready');