WordPress.org

Ready to get started?Download WordPress

Forums

How to add author/by field on posts? (7 posts)

  1. pookguy88
    Member
    Posted 8 years ago #

    Just wondering how I would go about doing this. I've looked in all the options and can't find anything about this. I just want all my (and other author's posts) to have a "by" field so you can tell who's posting. Thanks.

  2. klklaser
    Member
    Posted 8 years ago #

    <?php the_author() ?>

  3. pookguy88
    Member
    Posted 8 years ago #

    How can I add this as a template anytime an author posts?

  4. moshu
    Member
    Posted 8 years ago #

    Check out the index.php of the Classic theme to see where it is.

  5. pookguy88
    Member
    Posted 8 years ago #

    but how do i add it to my theme?
    does it go in the 'post' template?
    where in the the template do i put it?

    I want it to say 'by joe blow' right under the title of the post and before the date...

  6. moshu
    Member
    Posted 8 years ago #

    What is your theme? Default? - It depends where do you want it to appear:
    main page ==> index.php
    single post view ==> single.php
    monthly and category archive ==> archive.php

  7. pookguy88
    Member
    Posted 8 years ago #

    Moshu,

    I think i got it! thanks for all the help!

    i'm posting another problem i have now

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.