Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s likely going to be added to your theme’s index.php. So look in wp-content/themes/yourthemename to find that file.

    Also see:
    Template_Hierarchy

    Thread Starter pappaslim

    (@pappaslim)

    Ok. Pointing me in the right direction. Where in that file do I put it. Here is the full code:
    <?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>

    <?php if (have_posts()) : ?>

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

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
    <small><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –></small>

    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?>
    </div>

    <p class=”postmetadata”>Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>
    </div>

    <?php endwhile; ?>

    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« Previous Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Next Entries »’) ?></div>
    </div>

    <?php else : ?>

    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Thanks
    Pappaslim

    This line:
    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>

    change to:
    <small><?php the_time('F jS, Y') ?> by <?php the_author() ?></small>

    Hint: it was commented out so just delete the ‘comment’ markers.

    Thread Starter pappaslim

    (@pappaslim)

    Thats worked! Thanks!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using the Author Tag’ is closed to new replies.