Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WordPress 3.0 jQuery

You're reading from   WordPress 3.0 jQuery Enhance your WordPress website with the captivating effects of jQuery.

Arrow left icon
Product type Paperback
Published in Sep 2010
Publisher Packt
ISBN-13 9781849511742
Length 316 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Wordpress 3.0 jQuery
Credits
About the Author
About the Reviewer
1. Preface
1. Getting Started: WordPress and jQuery FREE CHAPTER 2. Working with jQuery in WordPress 3. Digging Deeper: Understanding jQuery and WordPress Together 4. Doing a Lot More with Less: Making Use of Plugins for Both jQuery and WordPress 5. jQuery Animation within WordPress 6. WordPress and jQuery's UI 7. AJAX with jQuery and WordPress 8. Tips and Tricks for Working with jQuery and WordPress Appendix: jQuery and WordPress Reference Guide

Part 1: Getting everything set up


Luckily for us, with a little WordPress and jQuery knowledge under our belt, this task is not as complicated as it sounds. In the last chapter, I extolled the virtues of keeping design and functionality separate and wrapping your jQuery enhancements in WordPress plugins. I also mentioned the fact that there are always exceptions. Well, here's a scenario where we'll be inclined to apply our enhancements directly to the theme for a couple of reasons:

  • We'll already be tweaking the theme to create a custom category page for events

  • And, we'll also need to create a custom page template for the form that can load into a modal box without reloading the rest of the site's headers and footers

Because these requests require that the client understand they'll need to take care if they ever want to update or swap out their theme, we might as well leverage the full power the WordPress theme API can provide us for this enhancement.

What we'll need

Let's start with the main...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image