I am pulling my hair since many days to solve this :P What I want to do is displaying slider with post thumbnail with excerpt.
After few days search I found solution http://wordpress.stackexchange.com/a/61019/9821 which is good and almost there. But now the problem is that with this code slider loading default size images which is messing up my layout so I want to load defined size image into that which I am re-sizing and cropping on the fly while uploading using this function
add_image_size( 'home-slider-thumb', 640, 360, true);
I have big confusion with that how can I add 'home-slider-thumb' to the tag of the slider code. something like the_post_thumbnail('home-slider-thumb');
Any alternative way would be fine with me.
Thanks a lot in advance
the_post_thumbnail('home-slider-thumb', $attr); ?>– pixelngrain Aug 20 '12 at 14:10