Javascript stopped working [closed]

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 ($) {}

Add/remove action on jQuery toggle

I ended up not adding/removing the action at all, but rather writing an option to the database and having a second plugin check if the option is set: function av_maintenance_mode_check() { if( !wp_verify_nonce( $_GET[‘nonce’], ‘av-maintenance-mode-nonce’ )) die( ‘Go away!’); if( get_option( ‘av_maintenance_mode’ ) == ‘on’ ) { echo ‘<span style=”color:green”>On</span>’; }else{ echo ‘<span style=”color:red”>Off</span>’; } … Read more

Blip Slideshow plugin Mootools/jQuery conflict

There turned out to be 2 problems which made it a bit harder to fix. I had to move the link to the jQuery plug in that runs the slideshow (cycle.all) so it was below the Mootools and jQuery library links. And a plug in called Tabber Widgets had to be deactivated. Both were required … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)