Cleaner Gallery

plugin banner

A cleaner WordPress that integrates with multiple Lightbox-type scripts.

Author:Justin Tadlock (profile at
WordPress version required:3.9
WordPress version tested:
Plugin version:1.1.0
Added to WordPress repository:05-03-2009
Last updated:11-07-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:96
Rated by:23
Plugin URI:
Total downloads:210 385
Active installs:5 000+
plugin download
Click to start download

This plugin was written to take care of the invalid HTML that WordPress produces when using the shortcode.

It does a bit more than that though. It will integrate with many Lightbox-type scripts and allow you to do much cooler things with your galleries. Plus, it has a couple of extra options that you can play around with.


  • Uses HTML5 <fig> and <figcaption> elements.
  • Integrates with microdata.
  • Uses the aria-describedby attribute to make images + captions more accessible to users with disabilities.
  • Validates the invalid code that WordPress spits out.
  • Several options on how you want your gallery images.
  • Allows multiple galleries in a single post.
  • Ability to set the number of images shown in each gallery.
  • Ability to exclude or include any images from your gallery.
  • Doesn’t load any extra CSS or JavaScript unless you choose to do so.

Integrates with 18 different Lightbox-type scripts

  1. Lightbox 2
  2. Slimbox
  3. Slimbox 2
  4. Thickbox
  5. Lytebox
  6. Greybox
  7. Lightview
  8. jQuery Lightbox Plugin (balupton edition)
  9. jQuery Lightbox Plugin
  10. Shutter Reloaded
  11. Shadowbox
  12. FancyBox
  13. jQuery Lightbox
  14. LightWindow
  15. FancyZoom
  16. Floatbox
  17. Colorbox
  18. prettyPhoto

Professional Support

If you need professional plugin support from me, the plugin author, you can access the support forums at Theme Hybrid, which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 40,000+ users (and growing).

Plugin Development

If you’re a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it’s GitHub repository.


Yes, I do accept donations. If you want to buy me a beer or whatever, you can do so from my donations page. I appreciate all donations, no matter the size. Further development of this plugin is not contingent on donations, but they are always a nice incentive.