CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
Other Discussions
Display thumbnail in Wordpress 3 default theme
daredanger
Permalink to comment
#
August 2010
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?
jamy_za
Permalink to comment
#
August 2010
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.
Add a Comment
I want to use this feature in the new default theme in WP 3. Please tell me how to do it?
If the post has a featured image, it will then be displayed.