Apr
13
2010

Add rel=prettyPhoto Plugin for WordPress

Modern Business 3 Dark for WordPressI recently started using a WordPress theme for one of my sites called (Modern Business 3 Dark for WordPress) that has built in code for a jQuery based lightbox clone called prettyPhoto. This is a beautiful theme, and a very nice implementation of a lightbox. In fact prettyPhoto is very similar to Lightview, which is the lightbox clone I normally use.

Unfortunately prettyPhoto requires some different code to indicate that images or video should be opened in the lightbox than most of the other clones I’ve used. Typically each image must be tagged with something like rel=”lightbox[ID]“, but for prettyPhoto the required tag is rel=”prettyPhoto[ID]“.

I use lightbox clones all the time, and of course there is no tagging standard between each clone, so for a long time I’ve been using a WordPress plugin called Add Lightbox that automatically adds this code. I modified that plugin to work with prettyPhoto, and I thought I would share my mod here. This really was a very simple mod, but I’m sure that there are thousands of other people using the same theme that I am that have the same problem that I did.

Note that this plugin does not add the the files required for prettyPhoto (it only adds the rel=prettyPhoto[ID] tag)! You have to insert the required files for prettyPhoto into your theme yourself, or use a theme such as Modern Business 3 Dark for WordPress that already includes the code.

Installation

  1. Download the Free OD Add rel=prettyPhoto WordPress Plugin
  2. Unzip the file
  3. Upload it in /wp-content/plugins/ of your WordPress installation
  4. Activate the Plugin
  5. That’s All

Changelog

0.2
Minor update to change the name and update the documentation.
0.1
Initial release. Adapted from the Add Lightbox Plugin for WordPress.

Please let me know if you find any issues, bugs, or have ideas for improvements.

Theme Forest - Your choice for Site Templates and Themes

Jan
21
2010

Discount Codes for MOO Cards

Moo Cards | Design and print custom Business Cards, Mini Cards, Post Cards, Greeting Cards, and MoreIf you’ve never seen MOO Cards before, then you owe it to yourself to check them out. Basically they are really great custom business cards made using your own photographic images or graphic designs. They are a great way to show off your own product while also getting your contact details out into the wild.

The cards are produced on high quality stock that looks great and lasts a long time. You can choose from a range of sizes, including standard Business Cards, Mini Cards, or even Post Cards or folded Greeting Cards. The best part is that you can make several different designs using your best work, or every card can be different if you really want!

If you want to check them out before putting any money down, MOO offer a free Business Card Sample Pack. You get 10 full-color, double sided Cards, with your own photos, logo and text, shipped anywhere in the world, for free! That’s a pretty amazing offer.

Check them out at MOO.com. But wait! I have discount codes for you…

  • Get 10% off any order using the code Q9JN53.
  • Get Free Shipping on any order over $39 using the code 8AMX4Z.

Both of these offers expire on January 31st, 2010, so act quickly!

PhotoShelter Member Since 2008 - Join & Save!

TheBuckmaker.com Wordpress Themes | Kreditzinsen, Streaming Audio