Bring jQuery from Google
Because of the traffic, the images and flash files were moved to another server and connected.
JQuery finds the following source while surfing and connects to Google
Modified File: Theme/Functions.php
[PHP]
//Making jQuery Google API
function modify_jquery()
{
if (!is_admin())
{
// comment out the next two lines to load the local copy of jQuery
WP_DEREGITER_Script ('jQuery');
WP_REGITER_Script (‘jQuery’,
‘Http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js’, false, false,
‘1.4.4’);
wp_enqueue_script ('jQuery');
}
}
Add_act ('init', 'Modify_jQuery');
[/PHP]
Leave a Reply