If in case you have worked hard enough on your templates and you don’t want to change the Scripts that gives a cool look to your User Interface then below is a simple solution that will help you make best use of Blogger Shortcodes.
Hosting JS directly in Blogger
Instead of using the Dynamically updated JS file for Shortcode plugin you can paste its entire code directly inside your template by following these steps:
- Click this JS Link
Copy the JS code inside it and keep it safe.
Now paste the following code just above inside your Blogger template
/Paste Your Code Here/ //]]>
- Now Replace /Paste Your Code Here/ with the code you just copied from the JS link
- Save your template and all done!
You will need to repeat step#3 each time we publish a new shortcode if in case you want to use that new shortcode else you don’t need to do anything and enjoy using shortcodes which will load much faster now!
Note: Make sure you remove the Dynamically updated JS code if you are using this method. Remove this code from your template
Can you Only use the shortcode you want ?
Of course you can but why would you need to do that? Do you fear that using the script for all shortcodes will slow down your site? Of course not, it has a light weight script of just 9KB and it loads within a faction of a second!
Interesting Fact: No JS script slows down a site unless it is called!
Suppose you wish to use the YouTube shortcode, then the browser will only load the shortcode for youtube because the call will be made to fetch the youtube function only, the browser wont call at all those extra shortcode function scripts which you have not even used on your page!
So feel free to enjoy adding shortcodes on your web blog and do give us your feedback to make it even better. You can also suggest us your favorite tools or plugins and we would love to create a shortcode for it. Happy evening!