. */ if ( !function_exists('cgmp_google_map_admin_add_style') ): function cgmp_google_map_admin_add_style() { wp_enqueue_style('comprehensive-google-map-style', CGMP_PLUGIN_CSS . '/style.css', false, CGMP_VERSION, "screen"); wp_enqueue_style('token-input-style', CGMP_PLUGIN_CSS . '/token-input.css', false, CGMP_VERSION, "screen"); } endif; if ( !function_exists('cgmp_google_map_admin_add_script') ): function cgmp_google_map_admin_add_script() { wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-tabs'); wp_enqueue_script('jquery-ui-slider', CGMP_PLUGIN_JS.'/jquery-ui-slider-1.8.16.min.js', array('jquery', 'jquery-ui-core'), '1.8.16'); wp_enqueue_script('cgmp-jquery-tools-tooltip', CGMP_PLUGIN_JS .'/jquery.tools.tooltip.min.js', array('jquery'), '1.2.5.a', true); wp_enqueue_script('cgmp-jquery-tokeninput', CGMP_PLUGIN_JS. '/jquery.tokeninput.js', array('jquery'), CGMP_VERSION, true); wp_enqueue_script('comprehensive-google-map-plugin', CGMP_PLUGIN_JS. '/comprehensive-google-map-plugin.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'), CGMP_VERSION, true); } endif; if ( !function_exists('cgmp_google_map_tab_script') ): function cgmp_google_map_tab_script() { wp_enqueue_script('cgmp-jquery-tools-tabs', CGMP_PLUGIN_JS .'/jquery.tools.tabs.min.js', array('jquery'), '1.2.5', true); } endif; if ( !function_exists('cgmp_google_map_init_scripts') ): function cgmp_google_map_init_scripts() { wp_enqueue_style('cgmp-google-map-override', CGMP_PLUGIN_CSS . '/override.css', false, CGMP_VERSION, "screen"); wp_enqueue_style('cgmp-google-map-directions', CGMP_PLUGIN_CSS . '/directions.css', false, CGMP_VERSION, "screen"); //wp_enqueue_script('cgmp-google-map-api', CGMP_GOOGLE_API_URL, array('jquery'), false); wp_enqueue_script('cgmp-google-map-wrapper-framework-final', CGMP_PLUGIN_JS. '/plugin-framework.js', array('jquery'), CGMP_VERSION, true); } endif; ?>