BootstrapCDN – WordPress CDN Plugin

I want to use some of the responsive features of Bootstrap and Fontawesome on my sites but have a personal preference of not wanting to pollute my header.php files with code so decided to look for a plugin and found BootstrapCDN which will give me a simple way of updating/enabling/disabling both Boostrap and Fontawesome.

I had found a decent Bootstrap CDN plugin on the main WordPress website but it was a bit outdated so in looking at the authors files I found that simply updating the bootstrapcdn.json file with newer data resolved that and made it usable.

I am a bit confused with the authors notes though as it states that in a 0.0.3 update he renamed netdna to maxcdn, which is not the case when I looked at the JSON file. Perhaps he meant elsewhere in his code.

For alternatives to using a plugin, Prakhar over at 3nions has a cool article titled How to add Bootstrap to WordPress: Use these 3 Best Methods describing three great alternative methods, one of the primary methods being the use of this plugin.

Links to respective websites, authors WordPress plugin page and modification of the bootstrapcdn.json of the plugin are below.

Bootstrap – Get from BootstrapCDN or Bootstrap.com websites.

Fontawesome – Get from BootstrapCDN or Fontawesome.io websites.

BootstrapCDN – WordPress CDN Plugin – Get from the WordPress website.


{
"timestamp": 0,
"bootstrap": {
"3.3.7": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
},
"3.3.6": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
},
"3.3.5": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"
},
"3.3.4": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"
},
"3.3.2": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"
},
"3.3.1": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"
},
"3.3.0": {
"css": "//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css",
"js": "//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"
},
"3.2.0": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"
},
"3.1.1": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"
},
"3.1.0": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"
},
"3.0.3": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"
},
"3.0.0": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"
},
"3.0.0-noicons": {
"css": "//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.no-icons.min.css",
"js": "//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"
}
},
"fontawesome": {
"4.7.0": "//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css",
"4.2.0": "//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css",
"4.1.0": "//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css",
"4.0.3": "//maxcdn.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css",
"4.0.2": "//maxcdn.bootstrapcdn.com/font-awesome/4.0.2/css/font-awesome.min.css",
"4.0.1": "//maxcdn.bootstrapcdn.com/font-awesome/4.0.1/css/font-awesome.min.css",
"4.0.0": "//maxcdn.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.min.css",
"3.2.1": "//maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css"
}
}