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'; } new KM_PluginUpdatesV3(array('repoUrl' => LS_REPO_BASE_URL, 'root' => LS_ROOT_FILE, 'version' => LS_PLUGIN_VERSION, 'itemID' => LS_MARKETPLACE_ID, 'codeKey' => 'layerslider-purchase-code', 'authKey' => 'layerslider-authorized-site', 'channelKey' => 'layerslider-release-channel'));