• Hi. I just started up a WP blog, and after finding a theme I liked and customizing the CSS, I’ve discovered that when I make a post, it does not list the poster’s user name. I’ve set up the blog for multiple users, so I really need clear attribution to each post.

    I have almost no knowldege of PHP, and I can’t find where the tag would be to edit it. Could anyone point me in the right direction and the code needed to make this happen?

    The blog can be viewed at http://blog.progweed.net

    Any help would be greatly appreciated. Thanks!

    – Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • Well, looks like the author of that theme doesn’t plan for someone needing the post-author listed.

    Try this: in your index.php file is this section –
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
    <small><?php the_time('F jS, Y') ?>
    or similar. Try changing that to:
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <small><?php the_time('F jS, Y') ?> by <?php the_author() ?>

    You may have to tweak that a bit….

    Thread Starter tansvark

    (@tansvark)

    That worked perfectly! Thanks

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding poster user ID to a post’ is closed to new replies.