Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question
I have solve this with the_post_thumbnail('home-slider-thumb', $attr); ?> – pixelngrain Aug 20 '12 at 14:10

closed as too localized by toscho Aug 20 '12 at 16:23

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.