|
bundled with WordPress; Registering jQuery in a WP theme; Avoiding problems registering jQuery; Using Google's CDN |
Registering and including jQuery through Google's CDN into a themeUsing WordPress' bundled jQuery versus including your own jQuery download or using Google's CDN; Keeping conflicts out!; Setting your own jQuery variable; But I really want to use the variable!; Launching a jQuery script; Our first WordPress and jQuery setup; Registering jQuery in our setup; Registering your own custom script file; Setting up the custom-jquery file; jQuery secret weapon #1: Using selectors and filters; Selecting anything you want from the document; Filtering those selections; Basic filters; Child filters |
Content filtersForm filters; Attribute filters; Visibility; jQuery secret weapon #2: Manipulating CSS and elements in the DOM; Manipulating CSS; Manipulating attributes; Manipulating elements and content; Working with the DOM; jQuery secret weapon #3: Events and effects (aka: the icing on the cake); Working with events; Helpers are so helpful!; Working with bind, unbind, and the event object; Adding effects; Showing and hiding; Sliding in and out; Fading in and out; Working with the animate function; Making it all easy with statement chaining |
Our First Project: Expanding/collapsing WordPress postsKeeping jQuery readable; Summary; Chapter 3: Digging Deeper: Understanding jQuery and WordPress Together; Two ways to ""plugin"" jQuery into a WordPress site; WordPress themes overview; WordPress plugins overview; jQuery plugins overview; The basics of a WordPress theme; Understanding the template's hierarchy; A whole new theme; The Loop; Tags and hooks; Conditional tags; Template include tags; Plugin hooks; Project: Editing the main loop and sidebar in the default theme; Changing the loop; Changing the sidebar |
The basics of a WordPress plugin |