WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried adding an thumbnail sized image in the very first line of the post so that I want my category list search should display with this thumbnail and some text with "read more" button but this image is not displaying in the category list view but its displaying when I click on the post. Is there any way to fix it? I tried many plugins but none worked for me.

add_theme_support( 'post-thumbnails' );

The above line is already active in my site. Thanks.

share|improve this question
Does your category list view page have the code to display the image? – Chittaranjan Jan 1 '14 at 17:01

add_theme_support( 'post-thumbnails' ); only adds the ability to use Featured Images. To have them appear in your site, you'll need to add code to at least one of your template files, your active theme's functions.php file, or a custom plugin.

// in The Loop
if( has_post_thumbnail() ) {
// etc.


share|improve this answer

Make sure that you have assigned the image you wish to use as the "Featured Image". That is what WordPress is looking for when you use the functions to display the image. The WordPress core themes *Twenty-_* should have an example on how to display the post thumbnail in the archive/category listings if you have not found that code snippet already.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.