Support » Fixing WordPress » Adding “Posted by:” or something like that?

  • Hi!

    My site is:

    My wife authors posts from time to time, but there’s nothing that sez who authored what. I would like to add something down by where it notes the category of the post that indicates who the author of the post was.

    If anyone could post some code and tell me where to put it, I would be eternally grateful.

    I’m one of those, figured it out by myself, never had any formal training, knows just enough to be really dangerous folks. So type slow.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark (podz)


    Support Maven

    The classic theme has this line:
    <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    In there, this part <?php the_author() ?> prints the name.

    That help ?

    Kubrick has the_author() commented out.

    In index.php and/or single.php, look for something like this:

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

    And delete the <!-- and -->

    Groovy! That totally worked.

    I suppose, for the same deal to appear when posts are viewed from the archives, etc. I need to insert the same stuff in those pages as well?

    Any other pages besides the archives one?

    Depending on your theme: archive.php, single.php. page.php.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding “Posted by:” or something like that?’ is closed to new replies.