Combine Javascript on Wordpress Site

Hi,

This is my site (test one)
http://adspottest.cf/

I followed this guide:
http://speedrak.com/blog/how-to-combine-javascripts-into-1-file/

and combined following JS files:

http://adspottest.cf/wp-includes/js/jquery/jquery.js?ver=1.11.2
http://adspottest.cf/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
http://adspottest.cf/wp-content/plugins/frontend-edit-profile/passmeter/jquery.simplePassMeter-0.3.min.js?ver=0.3
http://adspottest.cf/wp-content/plugins/frontend-edit-profile/fep.js?ver=1.0
http://adspottest.cf/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.44.0-2013.09.15
http://adspottest.cf/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.5.3
http://adspottest.cf/wp-content/plugins/wc-shortcodes/includes/js/rsvp.js?ver=1.75
http://adspottest.cf/wp-content/themes/maya-classifieds/js/jquery.nouislider.min.js?ver=1.0
http://adspottest.cf/wp-content/themes/maya-classifieds/js/maya-classified-genaral-script.js?ver=1.0
http://adspottest.cf/wp-content/themes/maya-classifieds/js/maya-adspot-popup.js?ver=1.0
http://adspottest.cf/wp-content/themes/maya-classifieds/js/theme1-genaral.js?ver=1.0
http://adspottest.cf/wp-content/themes/maya-classifieds/js/classifieds-ajx.js?ver=1.0

(In View Page Source, they were showing in above “order”)

to following JS file:

http://adspottest.cf/includes/js/front.js

Then I added following to my Wordpress theme functions.php

add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );

function my_deregister_javascript() {
    wp_deregister_script( 'jquery-core' );
    wp_deregister_script( 'jquery-migrate' );
    wp_deregister_script( 'fep-forms-passmeter' );
    wp_deregister_script( 'fep-forms-script' );
    wp_deregister_script( 'maya-genaral-js' );
    wp_deregister_script( 'jquery-form' );
    wp_deregister_script( 'contact-form-7' );
    wp_deregister_script( 'wc-shortcodes-rsvp' );
    wp_deregister_script( 'maya-nuslider-js' );
    wp_deregister_script( 'maya-ad-genral-js' );
    wp_deregister_script( 'maya-view-switcher-js' );
    wp_deregister_script( 'maya-classified-ajax-js' );
}

(I had to search source files by filename to find the handle for first two files)

You can check following links to see how Page Source was Before and After.
View Page Source-Before
http://pastebin.com/g5xZkWgn

View Page Source-After
http://pastebin.com/h6JXW192

Now the problem is some functions aren’t working properly on my site.
For examples:

Model Year and Mileage sliders in here: (left sidebar-scroll down a bit)
http://adspottest.cf/cars-and-vehicles/?itemkey=&sub-category=cars&districts=&cities=&ad-requirement=&search=SEARCH

Contact by email button (its supposed to open a popup form)
and
“You may also like” JSCarousel in here:
http://adspottest.cf/vehicles/honda-civic-ek3/

There is a drop down that is not working in another place, but you need an account to access it.

So my question is how I can fix this? Any ideas?

Thanks

Installing this plugin solved all my problems.

Thanks

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.