Hi, i am here again :)
I was trying to add theme support in my new wordpress theme. the support for post thumbnails is not working.
i add the function add_theme_support('post-thumbnails'); in
functions.php file. So the feature should add for both post and the page as per as the wordpress codex.
The featured image panel is showing in both page and post admin page but while i call the thumbnail image form the theme it does not work.
if(has_post_thumbnail()): the_post_thumbnail(); endif;
Can anyone let me know what i did wrong?