Title: Broken Javascript on homepage only?
Last modified: August 31, 2016

---

# Broken Javascript on homepage only?

 *  [ttb](https://wordpress.org/support/users/ttb/)
 * (@ttb)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/broken-javascript-on-homepage-only/)
 * Evening all,
 * I’m running WP 4.5.2 with the Toddlers theme and various plugins, and seem to
   have somehow broken a couple of javascript functions on my homepage – but I’ve
   no idea how!
 * [https://www.thetoybarrow.com](https://www.thetoybarrow.com)
 * As you’ll be able to see, there are a couple of error messages in the console,
   and neither the slider at the top nor the product tabs (new, best, sale) are 
   responding when the controls are clicked. I’ve not changed anything in any of
   the files before this stopped working, although I had activated and deactivated
   a number of different plugins.
 * At first I assumed it was plugin related, however even with all plugins deactivated
   it’s still the same. I’ve also tried copying the functions.php file directly 
   from my theme, but still the same.
 * Can anybody suggest anything please? The last time I had a js issue it was down
   to the minifier plugin I was using, so I switched to a different one – although
   I’ve also tried without any at all (as above, all plugins deactivated) and it
   doesn’t change.
 * Many thanks,
 * Marc

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Clarion Technologies](https://wordpress.org/support/users/clarionwpdeveloper/)
 * (@clarionwpdeveloper)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/broken-javascript-on-homepage-only/#post-7434591)
 * Hello ttb,
 * Issue may be occurred due to conflicts can you please try using the latest updated
   version of jQuery.js Or change the order of the jQuery files that showing the
   errors.
 * Thanks
 *  Thread Starter [ttb](https://wordpress.org/support/users/ttb/)
 * (@ttb)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/broken-javascript-on-homepage-only/#post-7434609)
 * Uploading a new jquery.js I can manage I think, but I’ve no idea what you mean
   by changing the order of jQuery files I’m afraid?
 * Do you mean to change the order they are listed in the functions.php file? If
   so, the file looks like the below – I did try moving the section which mentions
   idangerous.swiper.min.js but just broke the site entirely so that it wouldn’t
   load, haha. Had to upload a clean functions.php just to get access back.
 * _[ Excessive PHP redacted please do not post that here. ]
    
   
    Cheers,
 * Marc
 *  Thread Starter [ttb](https://wordpress.org/support/users/ttb/)
 * (@ttb)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/broken-javascript-on-homepage-only/#post-7434610)
 * I’ve just tried updating to the latest version of jQuery, but that didn’t solve
   the problem, so I assume if it is a conflict it’s down to the order of the files
   in some way?
 *  Thread Starter [ttb](https://wordpress.org/support/users/ttb/)
 * (@ttb)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/broken-javascript-on-homepage-only/#post-7434712)
 * Can anybody help please?
 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/broken-javascript-on-homepage-only/#post-7434873)
 * [@ttb](https://wordpress.org/support/users/ttb/),
    I have check your homepage
   not any issue find jquery related. IF your issue fix please change status and
   mark as resolved.
 * Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Broken Javascript on homepage only?’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/broken-javascript-on-homepage-only/#post-7434873)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
