[plugins] jQuery Colorbox 4.1

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

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


4.1 (2011-06-25)

  • NEW: Plugin is compatible to WordPress 3.2
  • NEW: Polish translation by Kornel Łysikowski
  • NEW: Finnish translation by Lauri Merisaari
  • NEW: Simplified Chinese translation by Lucas Ho
  • BUGFIX: Plugin will only select links with class “colorbox-link”, no other HTML tags.
  • BUGFIX: JavaScript will work with jQuery 1.6 now
  • BUGFIX: loading inline content does not trigger loading an iframe any more.
  • BUGFIX: regex for IMG tag works correctly now.
  • CHANGE: Update of Colorbox library to version
  • CHANGE: JavaScript now ignores links that do not have the optional “href” attribute.
  • CHANGE: Links from images to non-images are now opened in a Colorbox.
  • CHANGE: Moved bulk of JavaScript from inline to file, consolidated files
  • CHANGE: Additional option for adding colorbox class to images outside of posts and pages.
  • CHANGE: Major refactoring, hopefully speeds up frontend and backend rendering
  • CHANGE: Render Meta-Tag with plugin version into blog header instead of comments
  • CHANGE: French translation updated by Pierre Sudarovich


[plugins] jQuery Colorbox 4.0

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

Get it here.


4.0 (2011-04-17)

  • CHANGE: Restructured settings page
  • CHANGE: plugin again compatible to PHP4.
  • CHANGE: Update of Colorbox library to version 1.3.16
  • CHANGE: jQuery calls won’t break other JavaScript libraries like Prototype or Scriptaculous any more
  • NEW: set width and height for Colorbox links once separate from the Colorbox setting for images
  • NEW: inline HTML content can now be loaded in the Colorbox.
  • NEW: Latvian translation by Uldis Jansons
  • CHANGE: Modar Soos updated the Arabic translation
  • CHANGE: Joao Netto updated the Portuguese translation
  • CHANGE: Arkadiy Florinskiy updated the Russian translation
  • CHANGE: made plugin compatible to the “smugmug” plugin.
  • CHANGE: moved Colorbox CSS class add to style dropdown of TinyMCE


[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.


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


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.


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:


the usage is pretty simple:

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

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' );

wp_register_style @ WordPress Codex
wp_enqueue_style @ WordPress Codex