in the past few days i struggled with this but no success. already checked with the codex and the many tutorials found online 🙁
my website is this: http://www.cumesaj.ro
everything works smooth besides the post thumbnails which are not showing.
my functions.php looks like this…
<?php if ( function_exists( 'add_theme_support' ) ) add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 125, 125 );
and my header.php tries to show the thumbnails with this code:
<img src="<?php the_post_thumbnail(); ?>" alt="thumbnail" class="thumbnail" />
in my panel, under posts, the thumbnails function looks activated and i added a thumbnail for one of the posts (the one that echoes this instead of showing the thumbnail: ” alt=”thumbnail” class=”thumbnail” />)
any help will be greatly appreciated!
- The topic ‘post thumbnails not showing’ is closed to new replies.