WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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

(WP 3.5.1)

My blog has a header picture showing its name. But for some reason exactly one post shows a picture in the header which is actually used within the post itself.


I don't even know how I would acomplish such feat if I wanted - given that the header code as far as I know is included from header.php and hence keeps the same references in every single post...

How do I find out what the reason is, so I can change the header image back to the right one !?

enter image description here

enter image description here

share|improve this question
Is this an unmodified twentyeleven theme? functions.php right out of the box? – vancoder Feb 27 '13 at 22:40
does that post have a featured image? with the dimensions larger than the header dimensions? – Michael Feb 27 '13 at 23:13
I really like this header image. :) Is there any function in your theme that sets the first post image as featured image? – toscho Feb 28 '13 at 8:53
@vancoder: yes, 20-11 out of the box – Raffael Feb 28 '13 at 10:14
@Michael: that was it! chose a small featured image and the header is back to normal. If you make an answer out of it, I can confirm it. – Raffael Feb 28 '13 at 10:18
up vote 2 down vote accepted

in Twenty Eleven, any featured image in a post or static page, with image dimensions larger than the size of the header image - 1000px width in the unedited theme - will automatically get used for the header image.

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.