Using JQuery with a Wordpress Plugin

by Kishore on July 31, 2009

JQuery is a wonderful kit of code which can be reused by just calling the robustly written scripts. Its free to use and is in a Javascript. Its already used in Wordpress, so you do not need to re-write the code in your plugin

I am currently working on a Wordpress plugin to Manage multiple Wordpress blogs from a single blog.

function add_tinymce() { wp_admin_css('thickbox'); wp_print_scripts('jquery-ui-core'); wp_print_scripts('jquery-ui-tabs'); wp_print_scripts('editor'); add_thickbox(); wp_print_scripts('media-upload'); wp_enqueue_script('wp_tiny_mce'); wp_tiny_mce(); }

There are lots of features that you can re-use like the events, ajax, effects which are very useful to convert long functions to simple ones without re-writing your own functions.

Most of the functions in JQuery are customizable, so it should serve your needs.

I have used the ajax, effects and event functions in my plugin

Some Posts That May Be Of Your Interest

11 ways to customize your Wordpress blog to your needs – Wordpress is the most popular blogging CMS used among the bloggers. By default Wordpress comes will more that what you need, but you have the option to customize your blog according to your requirement. There are tons of extensions which are available at the Wordpress extension directory which can cater your need. You should [...]

 

Possibly Interesting Posts

10 Top Plugins for Wordpress Post : Wordpress is one the most widely used Blogging Platform which is an open source software written in..[](70)
News Search Box On YouTube Video : Hope you have noticed a new search box above any YouTube Video. You can search for any keywords by ..[](36)
Google Operating System Cloud announced : Google is coming up with a new simple open source operating system called Cloud. The operating syst..[](37)

Leave a Comment

Previous post:

Next post: