GoogleからJQueryを持ってきてください

GoogleからJQueryを持ってきてください

トラフィックのため、画像とフラッシュファイルは別のサーバーに移動され、接続されました。

jQueryはサーフィン中に次のソースを見つけてGoogleに接続します

変更されたファイル: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]

guest
0 Comments
Inline Feedbacks
View all comments