ThemeShaper Forums » Thematic

[closed]

Customizing Post Thumbnails?

(1 post)
  • Started 13 years ago by driftwood
  • This topic is not resolved
  1. driftwood
    Member

    Hey Folks,

    I am having trouble getting post thumbnails right.

    I added:

    add_theme_support('post-thumbnails');
    set_post_thumbnail_size(128, 128, false ); // 128 pixels wide by 128 pixels tall, hard crop mode

    function my_post_title($title) {
    if (is_category("the-waking-prince")) {
    return get_the_post_thumbnail(NULL, 'thumbnail') . $title;
    } else {
    return $title;
    }
    }
    add_filter('thematic_postheader_posttitle', 'my_post_title');

    It does work but does not set the right size of the thumbnail, still crops and adds an additional thumb????

    Any help is appreciated.

    Posted 13 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.