Enable searching for countries in dropdown
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
function sportspress_admin_enqueue_scripts( $hook ) {
|
||||
wp_enqueue_style( 'chosen', SPORTSPRESS_PLUGIN_URL . 'assets/css/chosen.css', array(), null );
|
||||
|
||||
// Add ThemeBoy icon font, used in the admin stylesheet.
|
||||
wp_enqueue_style( 'themeboy', SPORTSPRESS_PLUGIN_URL . 'assets/css/themeboy.css', array(), null );
|
||||
|
||||
@@ -7,6 +9,7 @@ function sportspress_admin_enqueue_scripts( $hook ) {
|
||||
wp_enqueue_style( 'sportspress-admin', SPORTSPRESS_PLUGIN_URL . 'assets/css/admin.css', array(), time() );
|
||||
|
||||
wp_enqueue_script( 'jquery' );
|
||||
wp_enqueue_script( 'chosen', SPORTSPRESS_PLUGIN_URL .'assets/js/chosen.jquery.min.js', array( 'jquery' ), '1.1.0', true );
|
||||
|
||||
if ( $hook == 'edit-tags.php' && isset( $_GET['taxonomy'] ) && $_GET['taxonomy'] == 'sp_venue' ):
|
||||
wp_enqueue_script( 'google-maps', 'http://maps.googleapis.com/maps/api/js?sensor=false&libraries=places' );
|
||||
|
||||
Reference in New Issue
Block a user