Minification of JS/CSS with Composer for compatibility

This commit is contained in:
2018-06-14 17:56:03 +02:00
parent 14a6387218
commit 358602bf48
7 changed files with 25 additions and 8 deletions

View File

@ -250,7 +250,7 @@ class WPLiveticker2 {
if ( self::$shortcode_present || self::$widget_present ) {
wp_enqueue_style(
'wplt-css',
WPLT2_BASE . 'styles/wp-liveticker2.css',
WPLT2_BASE . 'styles/wp-liveticker2.min.css',
'',
self::VERSION, 'all'
);
@ -265,7 +265,7 @@ class WPLiveticker2 {
if ( self::$shortcode_present || self::$widget_present ) {
wp_enqueue_script(
'wplt2-js',
WPLT2_BASE . 'scripts/wp-liveticker2.js',
WPLT2_BASE . 'scripts/wp-liveticker2.min.js',
array( 'jquery' ),
self::VERSION,
true