[plugins] All In One Favicon 3.0

I released the new version 3.0 of All In One Favicon today. Check it out :-)

Get it here.
If you have any problems, then please report them at the WordPress Support Forum.

Changelog:

3.0 (2011-01-15)

  • NEW: Added option to remove link from meta box.
  • BUGFIX: Fixed a bug where the plugin would break WordPress 3.0 with Multisite enabled.
  • NEW: Added latest donations and top donations to settings page
  • NEW: Danish translation by GeorgWP
  • NEW: Bahasa Indonesia translation by EKO
  • NEW: Polish translation by Piotr Czarnecki
  • NEW: Swedish translation by Christian Nilsson
  • NEW: Italian translation by Valerio Vendrame
  • NEW: Spanish translation by Juan Pablo Pérez Manes

[plugins] jQuery Colorbox 3.8.3

I released the new version 3.8.3 of jQuery Colorbox today. Check it out :-)

Get it here.

I also added a new Demo Page:

Open links in the Colorbox

Changelog:

3.8.3 (2010-12-24)

  • NEW: Spanish translation by Inma P.-Zubizarreta
  • BUGFIX: re-added the option to hide flash objects behind the colorbox overlay.

[plugins] jQuery Colorbox 3.7/3.8

I released the new version 3.7/3.8 of jQuery Colorbox today. Check it out :-)

Get it here.

Changelog:

3.8.2 (2010-12-21)

  • BUGFIX: Last bugfix broke minor functionality.

3.8.1 (2010-12-21)

  • BUGFIX: Last bugfix broke the plugin, settings are now correctly read again.

3.8 (2010-12-21)

  • BUGFIX: Theme change is now saved again.

3.7 (2010-12-21)

  • NEW: Experimental feature: jQuery Colorbox can now open external websites/pictures if the link has the class “colorbox-link” and a width/height for the colorbox is set.
  • BUGFIX: Plugin now works if “WP_DEBUG” is set to “true”. Thx to Roy Iversen for the bug report!
  • CHANGE: rewrote auto-add JavaScript. Thx to jrevillini for the help!
  • NEW: Slovak translation by Stefan Stieranka
  • NEW: Swedish translation by Christian
  • CHANGE: Update of Colorbox library to version 1.3.15
  • CHANGE: performance improvement: colorbox-class is only automatically added only to images that do not already have a colorbox-class.

[How To] (De-)register a Style Sheet in WordPress

How do register styles

Just like JavaScript, CSS files shouldn’t be added to WordPress directly, but by using the WordPress API.

If you want to add your own CSS file to WordPress, there are two method calls you should be aware of:

wp_register_style
wp_enqueue_style

the usage is pretty simple:

wp_register_style('css-name', 'location-to-your-css-file', __FILE__), array(), 'version-number', 'screen');
wp_enqueue_style('css-name');

this will register your CSS file and add it to the site header.

How to deregister styles

Now, if you want to get rid of a Style Sheet that is added by your theme or a plugin you use, there is also a simple way to do that (given that the methods mentioned above are used to add the Style Sheet):

wp_deregister_style (unfortunately, no description is available on the WordPress site)

You will have to know the name with which the Style Sheet is registered. For example, if you use my jQuery Colorbox plugin and choose the first theme, the Style Sheet will be registered with the name “colorbox-theme1”.

Now, in order to deregister the Style Sheet, you’ll have to add the following lines to your functions.php:

add_action( 'wp_print_styles', 'custom_deregister_styles', 100 );
function custom_deregister_styles() {
  wp_deregister_style( 'colorbox-theme1' );
}

(links)
wp_register_style @ WordPress Codex
wp_enqueue_style @ WordPress Codex