Office Address

41/D, West Brahmondi, Narsingdi

Phone Number


Email Address

google cdn

Add this code on wordpress theme functions.php to deregister the urgent jquery and load jquery library from google.

[php] function load_cdn_jquery() {

// only use this method is we’re not in wp-admin
if (!is_admin()) {

// deregister the original version of jQuery

// discover the correct protocol to use
if($_SERVER[‘HTTPS’]==’on’) {

// register the Google CDN version
wp_register_script(‘jquery’, $protocol.’//’, false, ‘1.5.2’);

// add it back into the queue



add_action(‘template_redirect’, ‘load_cdn_jquery’);

Written by

Maidul Islam

I am a freelance web developer.Like to share what i learn.