I wanted to take the convenience and ease of use of the built-in WordPress
[gallery] shortcode and add a little more functionality to it. By organizing your galleries as multiple child pages of one parent page, you can use this plugin to see a preview thumbnail and description of each gallery.
Version 1.2 added increasing styling options by wrapping each element in a
<div. There are two display options included with the plugin and limitless possibilities exist for any type of custom styling you would like to do. Horizontal styling is the default using only the
[albumize] shortcode. However, to use the included vertical styling (thanks Roman!) simply use
To add your own custom styling, use
[albumize style='yourstylename'] (where ‘yourstylename’ is any name you’d like to classify it as) and add the styling to your themes stylesheet. The Albumize elements are classified as the following:
Whatever you use for the style attribute will be used as the last part of the element classification when the album is displayed. Just add your own styling for these elements and you are all set to go. Add as many different styles as you want and call any of them using the style attribute.
- Does this plugin work for posts?
Nope. Currently this plugin only works for pages because it relies on the parent/child page relationship.
- Do I need to use the custom fields for the plugin to work?
Nope. The plugin will use the first image in the gallery by default. If you don’t put in a blurb to describe your gallery, the plugin will just display the title of the gallery and nothing else.
- How many levels of child pages will this work for?
Unfortunately (or fortunately, I suppose), the plugin displays all levels of child pages underneath the parent page. There is currently no way to restrict it to only one level. A page hierarchy like the following:
- Album Page (Parent)
- Gallery 1 (Child of Album)
- Gallery 2 (Child of Album)
- Gallery 3 (Child of Album)
- Gallery 3, Day 1 (Child of Gallery 3)
- Gallery 3, Day 2 (Child of Gallery 3)
Would be displayed as the following on the album page:
- Gallery 1
- Gallery 2
- Gallery 3
- Gallery 3, Day 1
- Gallery 3, Day 2
- Album Page (Parent)
- How would you recommend setting up your page hierarchy for Albumize and WordPress’ Gallery function?
This is what works for me. I have a parent Photos page. I have my Album pages as child pages of the Photos page. I just manually link to the Album pages on the Photos page. Then I have my Gallery pages as child pages of each Album page.
I’m sure you can figure out your own way of doing it. But this type of hierarchy was what I had in mind when I designed this plugin.
If you have any other questions, feel free to visit the plugin homepage at http://www.litschers.com/wordpress/albumize/