Support » Fixing WordPress » Author name not showing up on posts.

  • I’m using the new Twenty Eleven theme. I noticed that after it was activated, the author name no longer showed up in the posts. Am I missing a setting or did they eliminate this feature for this new theme?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Ah i noticed same issue and I have found a solution for it as well

    edit single.php

    move the following code
    <?php get_template_part( 'content', 'single' ); ?>

    after
    <?php while ( have_posts() ) : the_post(); ?>

    so it should be like

    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( 'content', 'single' ); ?>

    by the way this problem has already been fixed in the updated version of twenty eleven theme so i will recommend you to upgrade it asap.

    Thread Starter Anita Elder

    (@lolaludesign)

    I have version 1.2, so I believe that’s the latest. Still had the problem.

    are you referring to the author name in the ‘posted on …’ line, or the author info below the post?

    twenty eleven only shows the author info below the post if more than one author is contributing to the site;

    see content-single.php:

    <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?>

    btw:
    make sure to create a child theme http://codex.wordpress.org/Child_Themes to avoid future problems.

    I’m referring to displaying the author in the “posted on” line.

    a bit of ‘ping pong’ replying 😉

    for ‘missing’ author in the ‘posted on …’ line:
    see http://wordpress.org/support/topic/author-not-displayed-on-posts-in-twenty-eleven?replies=8#post-2234952

    Hello, I am wondering if it is possible to remove the “by author” under the post, but keep the “This entry was posted in ____”? I have been looking around and deleting and replacing code to try and do this, but not too familiar with PHP. Twenty Ten had this built into the CSS that I could just display:none, but the Twenty Eleven theme does not.
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Author name not showing up on posts.’ is closed to new replies.