WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
Author Does Not Display (7 posts)

  1. paulhaskell
    Member
    Posted 1 year ago #

    For some reason "author" does not show up in the "This entry was posted in (category) on (date) by (author)" line below posts.

    Here is my page: http://www.perfectchukka.com

  2. Have you fully filled out the user profile?

  3. SpoonIsBad
    Member
    Posted 1 year ago #

    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?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

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

  5. smoo
    Member
    Posted 1 year ago #

    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;
    }
  6. mayomick
    Member
    Posted 1 year ago #

    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.

  7. ansonl
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags