Example from my jQuery Colorbox plugin:
wp_enqueue_script('colorbox', plugins_url('js/jquery.colorbox-min.js', __FILE__), array('jquery'), '1.3.6');
wp_enqueue_script description @ WordPress
It is always difficult to remember the syntax of APIs. This is where cheat sheets come in handy.
These are three jQuery cheat sheets that I found on the web:
Impulsestudios.ca jQuery 1.4 cheatsheet
Woorkup.com jQuery 1.3 cheatsheet
Giulio Bai took the time to sum up ten things to do to speed up jQuery performance.
Read the post here.
Gerade habe ich jQuery Colorbox 1.3.3 bei WordPress.org freigegeben.
I just uploaded jQuery Colorbox 1.3.3 to WordPress.org.
From the changelog:
- CHANGE: fixed settings page, options can be saved now
- NEW: added settings deletion on uninstall and “delete settings from database” functionality to settings page
- CHANGE: moved adding of CSS class priority lower, hopefully now the CSS class is added to pictures after other plugins update the HTML
- CHANGE: updated the FAQ
More information here.
Ich habe eben Version 1.2 meines ersten WordPress Plugins, jQuery-Colorbox, fertiggestellt.
Mehr Informationen gibt es auf der entsprechenden Seite.
Das Plugin gibt es auf WordPress.org zum Download.