Twenty Eleven
[resolved] How to show author at top of post (2 posts)

  1. jgbennette
    Posted 3 years ago #

    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?


  2. jgbennette
    Posted 3 years ago #

    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;


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.