First off… Love this plugin! I’ve been using it for about 6 months now, and its become one of the plugins I install at the beginning of any new project.
On my latest project, I’ve run into a situation where I need different images to function differently.
Specifically, I’d like to like the images to video’s hosted at Vimeo, but play in a Fancybox. I use Fancybox for WordPress to handle images, but have to do a custom JS call that looks for the class of .vimeo to get a vimeo link to display in Fancybox.
What I would love to see is a Custom Class input box in the admin area of the Image Widget. This way I could selectively apply the .vimeo class to only those images that I need to play a video in Fancybox.
I looked at making a custom template, but I’m unsure of how to write the if/then statement to look for links to vimeo….
so again, I was hoping that it might be easy enough to add a dialog box to write my own custom classes.
Any help is greatly appreciated. Thanks.
- The topic ‘[Plugin: Image Widget] Custom Classes’ is closed to new replies.