JQuery plugins overview

Socrates Premium Wordpress Theme

Socrates Premium Wordpress Theme

Get Instant Access

jQuery has the ability to allow you to take the scripts that you've created and encapsulate them into the jQuery function object. This allows your jQuery code to do a couple of key things. First, it becomes more easily ported over to different situations and uses. Second, your plugin works as a function that can be integrated into larger scripts as part of the jQuery statement chain.

The best place to browse for jQuery plugins is the jQuery plugins page (http://plugins.jquery.com/), as seen in the next screenshot:

In addition to having jQuery already bundled, WordPress has quite a few jQuery plugins already bundled with it as well. WordPress comes bundled with Color, Thickbox as well as Form and most of the jQuery UI plugins. Each of these plugins can be enabled with the wp_enqueue_script either in the theme's header.php file or function.php file, as we learned in Chapter 2, Working with jQuery in WordPress. In this chapter, we'll shortly learn how to enable a jQuery plugin directly in a WordPress plugin.

Of course, you can also download jQuery plugins and include them manually into your WordPress theme or plugins. You'd do this for plugins that aren't bundled with WordPress, or if you need to amend the plugins in anyway.

Yes, you've noticed there's no easy jQuery plugin activation panel in WordPress. This is where understanding your chosen theme and WordPress plugins will come in handy! You'll soon find you have quite a few options to choose from when leveraging jQuery. Now that we have an overview of what WordPress themes, plugins, and jQuery plugins are, let's learn how to take better advantage of them.

The best place to browse for jQuery plugins is the jQuery plugins page (http://plugins.jquery.com/), as seen in the next screenshot:

^ /Query

^ Popular Plugins Latest Releases Browse Categories AU Plugins

* writ« Imsm, do mar».



Horte - Downloads



Search for:

Browse by category Browse by name Browse by date

' Plugin ; | |

Filter bv Project release API compatibility: <all > < Loair or register to modifv the filter.




Ajax (220)

Login /Register

Animation and Effects (329) Browser Tweaks (82)


Data (156)

AU Plugins

DOM (159)

Latest Releases

Drag-and-Drop (38)

Animation and Effects

Events (142]

Forms (391)

Browser TWeaks

Integration (115)


JavaScript (160)


jQ.uery Extensions (243)



Was this article helpful?

0 0
Blogging For Business

Blogging For Business

Download this Guide And Discover How Start And Run Your Very Own Successful Business Blog. Always Wanted To Start Your Own Blog?

Get My Free Ebook

Post a comment