Grow your CSS skills. Land your dream job.

Display thumbnail in WordPress 3 default theme

  • # August 25, 2010 at 3:33 pm

    I want to use the new thumbnail feature that is present in wordpress 3

    I want to use this feature in the new default theme in WP 3. Please tell me how to do it?

    # August 25, 2010 at 4:15 pm

    Paste this within the loop:

    < ?php if ( has_post_thumbnail() ) {
    the_post_thumbnail();
    }; ?>

    If the post has a featured image, it will then be displayed.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".