Support » Fixing WordPress » Help getting author to display

  • Can anyone help with this, I am using the Theme “WordPress Default – kubrick”

    I want to display the name of author for each post, so I edited single.php and within “The Loop” I added:

    <h2><?php the_title(); ?></h2><small><?php the_author(); ?></small>

    but it doesn’t work. Maybe I edited the wrong php file?


Viewing 2 replies - 1 through 2 (of 2 total)
  • I edited

    pasted in the lines to test the_author() info right after:

    <p class="postmetadata">Posted in <?php the_category(', ') ?>...

    saved the file and loaded the page into the browser and nothing about the_author was displayed. The site has multiple users and several of them have Role set to Administrator (but not all). Any other ideas on how to debug this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help getting author to display’ is closed to new replies.