Not merging/minify
-
Hi Guys,
I believe I followed all steps but the plugin is not merging JS files.
Enquere scripts:
/* * Add javascript * */ function tabs_theme_javascript() { // add plugins and libraries wp_deregister_script( 'wp-embed' ); wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', get_template_directory_uri() . '/src/js/vendor/jquery-2.2.4.js', array(), VERSION, true ); wp_register_script( 'cycle2', get_template_directory_uri() . '/src/js/vendor/jquery.cycle2-2.1.6.js', array(), VERSION, true ); wp_register_script( 'reveal', get_template_directory_uri() . '/src/js/vendor/scrollreveal.min.js', array(), VERSION, true ); wp_register_script( 'app', get_template_directory_uri() . '/dist/app.js', array(), VERSION, true ); wp_localize_script( 'app', 'ajax_object', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ), VERSION, true ); wp_enqueue_script( 'jquery' ); wp_enqueue_script( 'cycle2' ); wp_enqueue_script( 'reveal' ); wp_enqueue_script( 'app' ); } add_action( 'wp_enqueue_scripts', 'tabs_theme_javascript' );
Tried clearing the cache, not results. All options on JS are unchecked. What could be the issue? Java/Exec/YUI not available on the server.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Not merging/minify’ is closed to new replies.