} if (!defined('TAB')) { define("TAB", "\t"); } // Shared include LS_ROOT_PATH . '/wp/scripts.php'; include LS_ROOT_PATH . '/wp/menus.php'; include LS_ROOT_PATH . '/wp/hooks.php'; include LS_ROOT_PATH . '/wp/widgets.php'; include LS_ROOT_PATH . '/wp/compatibility.php'; include LS_ROOT_PATH . '/wp/shortcodes.php'; include LS_ROOT_PATH . '/classes/class.ls.posts.php'; include LS_ROOT_PATH . '/classes/class.ls.sliders.php'; include LS_ROOT_PATH . '/classes/class.ls.sources.php'; // Add demo sliders and skins LS_Sources::addDemoSlider(LS_ROOT_PATH . '/demos/'); LS_Sources::addSkins(LS_ROOT_PATH . '/static/skins/'); LS_Sources::removeSkin('preview'); // Back-end only if (is_admin()) { include LS_ROOT_PATH . '/wp/activation.php'; include LS_ROOT_PATH . '/wp/tinymce.php'; include LS_ROOT_PATH . '/wp/help.php'; include LS_ROOT_PATH . '/wp/notices.php'; include LS_ROOT_PATH . '/wp/actions.php'; // Front-end only } else { } // Auto update if (!class_exists('KM_PluginUpdatesV3')) { require_once LS_ROOT_PATH . '/classes/class.km.autoupdate.plugins.v3.php';
<?php /** * Theme functions. Initializes the Vamtam Framework. * * @package wpv */ require_once 'vamtam/classes/framework.php'; new WpvFramework(array('name' => 'church-event', 'slug' => 'church-event')); // TODO remove next line when the editor is fully functional, to be packaged as a standalone module with no dependencies to the theme define('VAMTAM_EDITOR_IN_THEME', true); include_once THEME_DIR . 'vamtam-editor/editor.php'; if (class_exists('LS_Sources')) { LS_Sources::addDemoSlider(WPV_SAMPLES_DIR . 'layerslider'); }