Using Google hosted javascript libraries

To use Google-hosted JavaScript libraries Just add this code to your functions.php file

if( !is_admin()){
wp_register_script(’jquery’, (””), false, ‘1.3.2?);

Now call your JavaScript file, after the wp_head function in header.php file.

Here yourscrip=name of your javascript file.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on Twitter and Facebook.
Also Read:  How to install Flutter UI toolkit on Ubuntu

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *