Use Google’s hosted jQuery in WordPress

If you want to speed up your WordPress site you should be using Google to host the common JavaScript libraries.

Remove the WordPress jQuery version and add the Google’s.

Add the following lines to your functions.php (inside your template folder).

bbPress

This code can be also used in bbPress . You just need to replace the is_admin with bb_is_admin.

Plugin Solution

Don’t wanna work around files and functions?

There’s a great plugin that does the work for you: Use Google Libraries.

3 comments

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*