Easy Photo Album Latest Photos makes it easy to generate a gallery of the latest photos you’ve added to Easy Photo Album galleries and place it anywhere on your site.
This came out of a project where I needed to put the latest photos that were uploaded on the home page. While I could have used the latest uploads in the media directory, I wanted to use the latest photos used in Easy Photo Album as that showed the client already wanted to show those pictures off.
The plugin has two methods that will allow you to generate a latest photo gallery.
Latest_Easy_Photo_Album::get_latest_epa_ids(); will return an array of the latest photos uploaded to Easy Photo Album Latest_Easy_Photo_Album::output_latest_epa_photos(); will output a basic gallery using the same settings that Easy Photo Album does.
This plugin is more oriented towards developers who’d like to cut a few hours of work out of their day. But, if you’re a hacker type and don’t know where to get started, find me on twitter at @ebinnion and I will gladly give you a few pointers.
Installation is standard, via FTP or via the plugin downloader in WordPress admin.
You will need to add the method calls to get output though, for which you will need to modify your theme.
- Latest photos now shown as set. Enables left/right navigation
- First working version of the plugin