WordPress.org

Support

Support » Themes and Templates » Twenty Eleven » [Resolved] How to show author at top of post

[Resolved] How to show author at top of post

  • I followed the php logic to figure out how Twenty Eleven theme puts the date and author info at the top of each post. BUT, on my site, powerstates.com, the author does not appear at the top of post pages. It’s using the twentyeleven_posted_on() function call in content-single.php, but it’s not putting the post author’s name at the top of the page like I want it to do. The name appears properly at the bottom of each post, though – but it’s different code.

    What am I missing?

    JB

Viewing 1 replies (of 1 total)
  • Ok. I found it at last. I was looking in the wrong places (again). It was in the style.css file:
    line 751
    .single-author .entry-meta .by-author {
    display: none;
    }

    I added the following to my Twenty Eleven Child them:

    .single-author .entry-meta .by-author {
    display: inline;
    }

    D’oh!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How to show author at top of post’ is closed to new replies.
Skip to toolbar