How to add unique classes to FlexSlider slides? (default behavior in v 7.1.x - not in v 7.2.x) I just upgraded the flexslider module from 7.1.x to 7.2.x and it broke my styling because the old version gave unique classes to each slide (also odd and even row classes to every other slide), but the new version gives each slide the same classes.

I really need to style each slide differently so I was using these unique classes.

This "feature request" is in the module's issue queue but it hasn't been touched in a long time and I lack the skills to fix it myself.

Does anyone know how I can give each Flexslider slide a unique class, either using jQuery, PHP or maybe some other module?
OK - I was over thinking this. This script will add id 1, 2, 3 etc to my slides. The slides are just list items - I was all intimidated because only one li is visible at a time, but jQuery doesn't care...

/*Script for assigning each flexslider slide a unique class*/
(function($){
$(document).ready(function(){
    $('.slides li').each(function(i,el){
        el.id = i+1;
        });
    });
})(jQuery);