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

When I set a featured image, it is allways on the upper left corner of the post. Sometimes, like in this example post, I only have very few text and one image. But this image should not be on the upper left corner of the post.

Is there any way how I can this little post thumbnail image in the tag-overview / category-overview without having it in my post? Could I tell wordpress that the image in the middle of the post is the featured image?

share|improve this question

This is your theme specific to show featured image in single post view.

I think you're using Modern Style theme, just remove following code from single.php on line 14, now featured images only will be shown on tag/category archive pages (and I think on main page too ).

<?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
share|improve this answer
Thanks for your answer, it helped a lot. Do you know if there is a way to make it optional? That means I would like to check / uncheck that I use the featured image at the upper left corner. – Martin Thoma Oct 1 '11 at 20:19
This line is also in page.php and index.php. In index.php it is "(array(200,160)", but I guess I have to delete it there, too. – Martin Thoma Oct 2 '11 at 7:20
@moose in index.php shows featured images on your site's homepage, it's already optional, I mean you can set/unset featured image, maybe there is a plugin that adds more option where to show featured images search in WordPress plugin directory – Mamaduka Oct 2 '11 at 9:26

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.