$value ) { self::enqueue_transition( $key ); } // CSS, even if there is no theme, so we can change the path via JS. if ( TpsOptions::get( 'theme' ) == 'none' ) { wp_register_style( 'theiaPostSlider', TPS_PLUGINS_URL . 'css/' . TpsOptions::get( 'theme' ), TPS_VERSION ); wp_enqueue_style( 'theiaPostSlider' ); } // Admin CSS wp_register_style( 'theiaPostSlider-admin', TPS_PLUGINS_URL . 'css/admin.css', array(), TPS_VERSION ); wp_enqueue_style( 'theiaPostSlider-admin' ); // Color picker wp_enqueue_style( 'wp-color-picker' ); wp_enqueue_script( 'wp-color-picker' ); } }