Googleでjqueryもたらす送る

Googleでjqueryもたらす送る

トラフィックのために、画像、フラッシュファイルは、別のサーバーに置き換えて接続してノァトウム

jqueryはサーフィンの以下のようなソースを発見した後、Googleに接続

変更したファイル:テーマ/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_deregister_script(‘jquery’);
wp_register_script(‘jquery’,
‘http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js’, false,
‘1.4.4’);
wp_enqueue_script(‘jquery’);
}
}
add_action(‘init’, ‘modify_jquery’);
[/PHP]

guest
0 Comments
Inline Feedbacks
View all comments