Google Hosted jQuery or Other Scripts not working – Google CDN Down

Today we’ve had a flood of errors with customer websites where google hosted jquery and other scripts from loading.

On most PC’s trying to access the Google Content Delivery Network (CDN) will give you a 404 error of the file not found!

If like me you have used Google’s DNS you might be confused because everything is working fine, however it seems OpenDNS has stopped access to the Google Datacenters due to a phishing scam??!?

Seriously? Good way to break half the internet guys!

OpenDNS Credit goes to:!/matbennett/status/154492602559897600/photo/1

Seems like I would suggest using a fallback script to local, this will then be bulletproof!

This sort of thing would work:

Or if you're using MooTools using Google Hoosted / CDN Try this:

Wordpress Wordpress Plugins Wordpress Themes Wordpress Web Design

Remove WordPress Bundled / Included jQuery

Recently, from version 3 and onwards WordPress has included or bundled a load of javascript with it, this is found in:  wp-includes/js/

This list includes scripts such as

  • jQuery
  • scriptaculous
  • hoverIntent
  • prototype
  • colorpicker
  • json
  • swfobject

and more.

Unfortunately WordPress is forcing everyone to use jQuery version 1.4.2 with abit of a ignorant attitude, quote one forum moderator:

WordPress 3.0 will include 1.4.2, de-registering and adding your own is just totally pointless(seeing as that’s current).

Not quite, since some people need to use a pre 1.4.2 version.

Anyway to cut a long story short, here’s the Fix to Removing the Bundled jQuery that comes with WordPress:

Edit you’re themes functions.php

goto the end of the document and find ?>

before that paste:

if( !is_admin()){

Save, and upload.

And that’s it, you’re done.

Seems to have not hurt anything in the admin backend, but if you encounter any bugs or issues please let me know!

Also you can try this:
if( !is_admin()){
wp_register_script('jquery', (""), false, '');

Wootheme Users

Open your functions.php file, find:

/* You can add custom functions below */

And paste:

if( !is_admin()){
wp_register_script('jquery', (""), false, '');

Below it 🙂

Cool Stuff jQuery Website Design

10 Sweet Must Have jQuery Plugins

jquery10On the search for new ways to make the web accessible we’ll go through a list of plugins that can acheive just about anything and be totally be cross browser, cross platform, mobile platform compatible.

1, CrossSlide, Flash Type Image Animation, essential.

2, Autocomplete, Perfect for Lengthy Forms.

3, Post Slider for WordPress.

4, Corner, for Rounded etc corners.

5, Lavalamp, for sexy hovers.

6, QuickSearch.

7, Coda Popup Bubbles.

8, jQzoom, Image Zoom – Pro for eCommerce Solutions and Products.

9, IconDock, Like the Mac OS bar / RocketDock bar.

10, Image Fade Revisted, handy image fade for some navigations.

And finally as a bonus, a completely different subject but a WordPress Plugin that Prompts Users to Upgrade to a Newer browser if they’re in IE6