Like the blog? Get the book »

Posts tagged: functions

Archive page 4 of 4
Use Google-Hosted JavaScript Libraries (…still the Right Way)

Use Google-Hosted JavaScript Libraries (…still the Right Way)

I previously posted on how to include jQuery in your WordPress theme the Right Way. That is, to use the wp_register_script function to register the script first. It's literally a one-liner in your header.php or functions.php file, but by default, it loads the internal version of jQuery that ships with WordPress.

© 2009–2021 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace