codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Load jquery only once – WordPress

    22nd June 2013

    Wordpress - Miscellaneous

    wordpress category

    Add this to the bottom of your functions file, it is the only call to jquery you will need, you can change the version if needed.

    To test it just add this anywhere you choose….

    From then on just use document ready script to start a jquery function….

    Was this code snippet helpful?