I released the new version 3.6 of jQuery Colorbox today. Check it out ![]()
Changelog:
3.6 (2010-09-12)
- CHANGE: Update of Colorbox library to version 1.3.9 which fixes lots of bugs. Most notably the “0 by 0″ bug in Chrome.
I released the new version 3.6 of jQuery Colorbox today. Check it out ![]()
Changelog:
I released the new version 3.5 of jQuery Colorbox today. Check it out ![]()
Changelog:
I just released version 2.1 of my plugin All In One Favicon.
Changelog:
Today, I released a new version of All In One Favicon. I hope you’ll like it ![]()
Changelog:
I released the new version 3.4 of jQuery Colorbox today. Check it out ![]()
Changelog:
I released a new plugin today called All In One Favicon.
It supports all three Favicon types (ico, png, gif). You can upload your favicons on the settings page if you want to.
More information on the plugin page.
I released the new version 3.3 of jQuery Colorbox today. Check it out! ![]()
Changelog:
I have updated the official Techotronic theme, Magenta.
It is now a childtheme of the Thematic framework, it was built from scratch the last time.
Currently, I have no plans of releasing the new theme to the public, as it is not finished.
Today, I released a new version of my plugin. It is now working for NextGEN galleries! ![]()
Changelog:
If your WordPress plugin or theme uses JavaScript, it is essential to know how to include it so that you don’t break other JavaScript libraries or plugins/themes that use JavaScript.
The straight forward way to load JavaScript is of course to embed a script tag with the JS file as a src attribute:
<script src="my-plugin/js/jquery.js"></script>
Of course you can load your own custom JavaScript that way, but don’t do that if you are loading a JavaScript library! Check the list of JavaScript libraries supplied by WordPress. Do not include a library with your theme/plugin if WordPress already brings it along!!!
WordPress offers a nice and easy way to load JavaScript libraries, the wp_enqueue_script() function. If you are including a JavaScript file that depends on e.g. jQuery, you can just tell WordPress and it will load jQuery for you!
Example from my jQuery Colorbox plugin:
wp_enqueue_script('colorbox', plugins_url('js/jquery.colorbox-min.js', __FILE__), array('jquery'), '1.3.6');
I tell WordPress to load the Colorbox JavaScript library that depends on jQuery. WordPress makes sure that the jQuery library is loaded before my JavaScript is loaded so everything will work as expected.
(links)
wp_enqueue_script description @ WordPress
JavaScript libraries supplied by WordPress