Support » How-To and Troubleshooting » Question: Publishing Authors name?

Question: Publishing Authors name?

  • Is there any way to publish automatically authors name? I never found that feature to be turned on. As of me I use standard Word Press 1.5 with the default theme. And Both me and friend of mine publish articles, however, there are no authors name published in each article. Is there any way to solve this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • http://codex.wordpress.org/Template_Tags/the_author

    This template tag would need to be added to your theme’s templates to display author name on posts. As you’ve noticed, the default theme does not include it.

    EDIT: Actually, I should rephrase that. The default theme *does* include it, but has it commented out. So look for this in your theme templates:

    <!-- by <?php the_author() ?> -->

    And edit it down to:

    by <?php the_author() ?>

    oh, thanks. And what file should I edit?

    index.php holds the commented out line. If you want it on single post pages (single.php), on Page pages (page.php), and on archive and category listings (archive.php), you’ll have to find an appropriate place to display it and add it there.

    OMG, was it that easy ? lol… it was. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Question: Publishing Authors name?’ is closed to new replies.