Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

For some reason, the scripts that I have set up on my wordpress install stopped working yesterday afternoon. I had been editing things, but I'm not sure what I could have done that caused it to stop.

Is there any way that I can error check why it's not working, or any common reasons why it might not be?

The site is up at

http://www.delsilencio.net/staging/wordpress/

share|improve this question
    
You need to add more information. Is it all JS, or what? –  Ryan B Jun 23 '12 at 22:50
    
Welcome to WordPress Stack Exchange. Please take the time to read our How to ask. We cannot figure out which scripts worked before. What does work is your browser update nag – not very useful. ;) –  toscho Jun 24 '12 at 7:35
    
Thanks for the replies guys, and sorry for the vagueness. When I first asked this, I thought that it was all javascript that was not working- after Toscho pointed out that the browser update script was working, I realized that it was just jquery scripts that weren't working- specifically, queryloader2 and MP3 Jplayer. Which leads me to believe that something is wrong with the way I'm calling jquery, but I'm not sure what it could be. –  cosm Jun 24 '12 at 16:52
    
My source shows that it's being called with <script type='text/javascript' src='http://www.delsilencio.net/staging/wordpress/wp-includes/js/jquery/jquery.j‌​s?ver=1.7.2'></script> –  cosm Jun 24 '12 at 16:53
add comment

closed as too localized by anu, Wyck, kaiser, toscho Sep 29 '12 at 21:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

One of your scripts doesn’t use jQuery correctly:

$(document).ready(function () {}

This cannot work because jQuery runs in no conflict mode in WordPress. To make it work change the script to:

jQuery(document).ready(function ($) {}
share|improve this answer
    
I don't think it's that, because even after changing the loader.js file to jQuery(document).ready(function ($) { it still doesn't work...even removing loader.js and queryloader2.js from the header completely, the third jquery script still doesn't work. (MP3 Jplayer) –  cosm Jun 24 '12 at 18:28
    
Changing the way I loaded the queryloader2.js and loader.js scripts fixed those two. I had it loaded with a path, and I changed that using <?php bloginfo('template_directory'); ?>. However, the jplayer script is still not working. I'll keep trying though! –  cosm Jun 24 '12 at 19:36
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.