Support » Alpha/Beta/RC » Thumbnals (the_post_thumbnail) in WordPress 3.0?

  • I’ve been testing and upgrading one of my themes for WordPress 3.0. I use a the_post_thumbnail in my theme to display a thumbnail or the default thumbnail if one is not supplied:

    if ( has_post_thumbnail() )
    the_post_thumbnail( 'thumbnail' );
    echo '<img src="'.get_bloginfo("template_url").'/imgs/thumbnail_default.png" />';

    It seems to grab the thumbnail for the posts with thumbnails, but no longer echo’s the else image. What’s changed in 3.0? I looked through the Codex and searched the forum, but couldn’t find anything.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Yeap, I’m having the same issue, WP 3.0 RC1 does not like PNG files, it’s ok with jpg just not showing PNG at all. Hopefully will be resolved on release.

    Sorry, I forgot to update this. The problem was with the .htaccess file, after I reset that to match the current wp3.0 setting it all worked right again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnals (the_post_thumbnail) in WordPress 3.0?’ is closed to new replies.