codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Simplest way to add Jquery to your WordPress site

    5th December 2019

    Wordpress - Miscellaneous

    wordpress category

    UPDATE: WordPress newest update has made all calling scripts to be called in the last part. Move any other calls into one. The script below has been updated to reflect this.

    There are lots of web pages that explain how to add Jquery to your website but all of them I have found are very extensive and are 10,000 words long. mostly to gain SEO rankings!
    So without any more explanation here is the most simplest way to add Jquery to your WordPress website.

    Add this to the bottom of your functions.php file which is found in your current theme folder

    Then add this code below to a script named gtquery.js in the theme folder.

    If all else fails use this plugin….

    Live Custom CSS JS Code Editor

    Was this code snippet helpful?