function wvrx_ts_enqueue_scripts() { // action definition if (function_exists('wvrx_ts_slider_header')) { wvrx_ts_slider_header(); } // add plugin CSS here, too. wp_register_style('wvrx-ts-style-sheet', wvrx_ts_plugins_url('weaverx-ts-style', WVRX_TS_MINIFY . '.css'), null, WVRX_TS_VERSION, 'all'); wp_enqueue_style('wvrx-ts-style-sheet'); }
function wvrx_ts_enqueue_scripts() { // action definition if (function_exists('wvrx_ts_slider_header')) { wvrx_ts_slider_header(); } //-- Weaver X PLus js lib - requires jQuery... // put the enqueue script in the tabs shortcode where it belongs //wp_enqueue_script('wvrxtsJSLib', wvrx_ts_plugins_url('/js/wvrx-ts-jslib', WVRX_TS_MINIFY . '.js'),array('jquery'),WVRX_TS_VERSION); // add plugin CSS here, too. wp_register_style('wvrx-ts-style-sheet', wvrx_ts_plugins_url('weaverx-ts-style', WVRX_TS_MINIFY . '.css'), null, WVRX_TS_VERSION, 'all'); wp_enqueue_style('wvrx-ts-style-sheet'); }