0

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

7
  • 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.. Commented Mar 17, 2013 at 9:58
  • 1
    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. Commented Mar 17, 2013 at 10:10
  • What are the contents of your single.php?
    – fischi
    Commented Mar 17, 2013 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
    Commented Mar 17, 2013 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. Commented Mar 17, 2013 at 11:54

1 Answer 1

1

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>.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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