I just have to say. Esmi..you are a legend!
I have been sat here trying for the past hour and a half and you just solved my problem! Everytime i put in the code it just didnt work! Then I saw your post and realised I had missed out the
<?php endif;?>!!
Silly mistake!
Thanks. Much appreciated.
I managed to figure it out. I was missing:
<?php the_post_thumbnail(); ?>
from ‘category.php’ loop! I knew it would be something silly I had forgotten!
I just tried it, and actually it didnt work even with the default wordpress theme! :S No idea why.