Support » Fixing WordPress » Author Name

  • I can really use some assistance in adding the author name of the post to the bottom of the page .. This is the index.php for the theme. Everything I have tried has blown up the site, causing me to reload the index.php

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <div class=”postinfo”>
    <small> <!– by <?php the_author() ?> –></small>

    <div class=”entry”>


    <p class=”postmetadata”>Posted in | </p>

    <div class=”navigation”>
    <div class=”alignleft”></div>
    <div class=”alignright”></div>

    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn’t here.</p>

Viewing 1 replies (of 1 total)
  • Make this: <!-- by <?php the_author() ?> -->

    look like this: by <?php the_author() ?>

    Leave everything else the way it is now. [What you have is a “commented” author line; what you’re doing is “uncommenting” it….]

Viewing 1 replies (of 1 total)
  • The topic ‘Author Name’ is closed to new replies.