jquery tips for wordpress theme developers

All web developers know about jquery. May be all of us know or heard about jquery. Jquery is javascript open source library. WordPress itself uses the jquery library for long time but many developers does not know about that.
Because When we develop new wordpress themes then we include the jquery files in that theme.

In this tutorial I will give very simple and basic tips about using jquery in wordpress themes. Using jquery we will introduce very nice effect in our website. with jquery we can generate the more traffic to our website.

Jquery is very lightweight javascript framework. Many web developers developed developed the third party effects and code with jquery.
We can add the Jquery in wordpress theme with very minimal effect. wordpress is given the api for including the jquery in our wordpress theme.

Add Jquery in wordpress theme

For adding the jquery in wordpress you just need to use header.php or functions.php file and put following code in that file.
For header.php put following code in that file.

<?php wp_enqueue_script(‘jquery’); ?>

If you want to use the functions.php file for adding the jquery then use following code.

function insert_jquery()

Above are the very simple and basic tips for adding the jquery in your wordpress theme.

This code will include the latest jquery file in your wordpress theme.

You may like following Articles!

  • http://digcms.com John

    You made easy putting jquery in wordpress theme. Thanks.

  • http://eyes-diseases.info Carmon Gata

    I’ve just started off a blog, the knowledge you give on this site has aided me extremely. Thank you for all your time & work.

  • http://golf-website.info Claud Smale

    Thanks for posting. Good to see that not everyone is using RSS feeds to build their blogs ;)

  • http://paid2surveys.info Silas Sverchek

    I REALLY liked your post and blog! It took me a minute bit to find your site…but I bookmarked it. Would you mind if I posted a link back to your post?

  • http://nutrition-food.info Arnulfo Mondelli

    Interesting read, perhaps the best article iv’e browse today. We learn everyday cheers to you!

  • http://collegeswith-physicaltherapymajors.blogspot.com/ Isreal Tacheny

    Thanks for posting. Good to see that not everyone is using RSS feeds to build their blogs ;)

  • http://holidaystream.com Brice Bartl

    This post makes a lot of sense !

  • http://ifashionshows.com Marica Comnick

    Good! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?

  • http://eyes-diseases.info Conrad Mclaws

    Great read. Thanks for the info!

  • http://payperclicksadvertising.info Inge Ridlen

    Of course, what a great site and informative posts, I will add backlink – bookmark this site? Regards, Reader

  • http://www.moodhere.com joyce lee

    I think i can learn a lot from here, thank you!