Support » Themes and Templates » Twenty Twelve » Author Does Not Display

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Mark Ratledge

    (@songdogtech)


    Forum Moderator


    Have you fully filled out the user profile?

    This is happening to me as well, although, my problem didn’t start occurring until I changed who the author of the post was.

    I made the site for a client, and created their first few articles. During this time, the site properly showed the author as “admin”. But once I switched the article over to a different user it no longer shows.

    All of the users info is filled out for their profile, and everything looks ok with entry_meta in functions.php of my theme.

    Does anyone have any thoughts?

    esmi

    (@esmi)


    Forum Moderator


    @spoonisbad: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem – despite any similarity in symptoms – is likely to be completely different.

    Hi paulhaskell,

    just seen your post and in case you haven’t found the solution yet, the author’s name in the twentytwelve entry-meta div is inside a span with a class of ‘by-author’:

    For single author sites, this class is hidden on line 970 of style.css

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

    (nb: .single-author will be showing up as a class in the body tag)

    So if you’re using a child theme, you could counteract it by adding the following to your style.css, for eg:

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

    I too had this problem when I changed my theme from twenty ten to twenty twelve. I am admin and the only author on the site. I think you can add some code to the theme files. I found an easy solution that works for me. I added a new user (myself with another e-mail) and gave editor permissions to the profile. I then went to an old post and changed the editor to the new one and it worked!! Hope this helps.

    Hi smoo, thanks for the css info, that did the trick.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Author Does Not Display’ is closed to new replies.