Hi everyone!
I just updated my site in development with the latest Thematic release, and I have a minor glitch that I can't seem to figure out.
The post thumbnails are suddenly not showing, while everything was nice and dandy prior to the update. I've checked the source code and they're not there, so it's not a sudden CSS problem either. This is the code from my functions.php:
function add_news_thumbnail() {
if (has_post_thumbnail()) { ?>
<div class="post_news_thumbnail"><?php the_post_thumbnail( array(100,100), array('class' => 'thumbnail_image', 'alt' => get_the_title(), 'title' => get_the_title())); ?></div>
<?php }
}
add_filter('thematic_content', 'add_news_thumbnail');
PS. I also have added support for the thumbnails with this code:
if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'post-thumbnails' );
}
I'm trying to see if I did something stupid like changing the Thematic core files, but I'm 99% sure I only used my child-theme's functions.php for all my mods.
All hints & clues will be highly appreciated, thanks in advance :-)
Best regards,
Ørjan