-
Book Overview & Buying
-
Table Of Contents
WordPress 3.0 jQuery
Just because you're up to speed with jQuery doesn't mean that you can neglect what's happening on the server-side with your WordPress installation. Let's take a look at a few key things to remember when dealing with WordPress
We went over this in detail in Chapter 3, Digging Deeper: Understanding jQuery and WordPress Together, but again, you'll want to make sure you use wp_enqueue_script for all your jQuery loading-up needs. wp_enqueue_script and wp_register_script is WordPress' solution to keeping multiple versions of scripts from needlessly loading or canceling other versions out.
You can use the wp_enqueue_script to easily load up jQuery and plugins that come bundled with WordPress and even from the Google CDN. If you have your own custom script, you can use wp_register_script to register your custom script with WordPress and you...
Change the font size
Change margin width
Change background colour