Hey everyone,
I'd like to style my post-thumbnails on my Thematic child-theme category pages differently than the default style, where the thumbnail appears on top of the post.
What do I add/change to the following code that will enclose the thumbnail in its own <div>?
add_theme_support('post-thumbnails');
set_post_thumbnail_size(128, 128, true ); // 128 pixels wide by 128 pixels tall, hard crop mode
function my_post_title($title) {
if (is_category()) {
return get_the_post_thumbnail(NULL, 'thumbnail') . $title;
} else {
return $title;
}
}
add_filter('thematic_postheader_posttitle', 'my_post_title');
Thanks very much for your help. PS, I'm a PHP newbie. Please don't assume anything. ;-)