post-page

Javascript advice for WordPress Plugin Developers

5
responses
by
 
on
April 12th, 2008
in
LinkyLoo, WordPress, WordPress Plugins
heading
heading
heading
5
Responses

 

Comments

  1. Ozh (88 comments.) says:

    Well said ! :)

  2. Ronald Huereca (66 comments.) says:

    Wow, that is a great explanation of wp_enqueue_script. Well done.

  3. Azizur Rahman (3 comments.) says:

    I can confirm that wp_enqueue_script also can be called from themes. I am using it to call jQuery library. In fact you can even enqueue your own JavaScript library to it will be added to the header.

    Now when can we expect to get the wp_enqueue_css api?

  4. Ronald Huereca (66 comments.) says:

    Azizur,

    Seriously, that would be neat. Something I’d love to see.

    The best place, in my opinion, is to use wp_enqueue_script in the “functions.php” to load JavaScript files for themes.



Trackbacks/Pingbacks

  1. […] activated, the plugin will “listen” to all of the scripts added (via the WordPress wp_enqueue_script function) to your pages header and automagically switch the locally hosted library to a Google hosted one. […]

Obviously Powered by WordPress. © 2003-2013

page counter
css.php