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

How can I move a single post's meta data to it's headline? I tried single.php and content_page.php, but could not find it.

I am using the recent Wordpress 3.5.1 with the standard theme TwentyTwelve.

See the screenshot (sorry, it's in German) for clarification: Screenshot of a single post

share|improve this question
How are you displaying the meta line? Can you give me the site url so that i will fing from which template it is coming.. – Vinod Dalvi Mar 17 '13 at 9:58
The answer to this question is highly dependent on the theme you are using. Hence it is borderline to too localized. To conclude with something constructive: 1. Search your theme files for the markup <footer class="entry-meta">. 2. Install the Firebug extension for FF or use Chrome's Element Inspector. The Firefox native solution isn't half as powerful. – Johannes Pille Mar 17 '13 at 10:10
What are the contents of your single.php? – fischi Mar 17 '13 at 10:40
I updated my question. As I refer to a standard installation with standard theme, I think this question is not too localized, but a very common customization question. – mcbetz Mar 17 '13 at 11:38
Since you now shed some light on what theme it is you are using, the question became answerable. I still think this to be a rather particular issue, though. – Johannes Pille Mar 17 '13 at 11:54

Given that it is TwentyTwelve you're dealing with, check the file content.php:

The relevant code block is between the lines 44 and 63 and will have to move below line 31.

For the sake of semantics, the element should not be a <footer> element anymore, make it a <div> or a <section>.

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.