WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Automatically identifying author of posts (9 posts)

  1. Endymian
    Member
    Posted 6 years ago #

    Hello,

    I am having some trouble with the wordpress settings, or maybe this is something I need to actually manipulate the code for, I don't know.

    Basically, I've just noticed that my posts are lacking any form of identification as to who actually wrote the post (I am used to seeing a "By [author]" before or after the date, and I guess I took it for granted because I can't do it with mine.)

    Would anybody be able to help me with this, please?

    My blog is located here
    and I am using the WordPress theme generator, which I have already altered somewhat by hand.

    Thank you in advance

  2. Ze Fontainhas
    Moderator
    Posted 6 years ago #

    You should use, somewhere within the loop (in all template files that display posts or pages), the Author tag you want. The author's nickname, for instance, can be displayed with:
    <?php the_author_nickname(); ?>

  3. Endymian
    Member
    Posted 6 years ago #

    That's the ticket! Thank you so very much!

    (Resolved)

  4. THISEY
    Member
    Posted 5 years ago #

    I am actually dealing with the same problem, and I don't really understand the advice. What is the loop? I don't really understand where I am supposed to put the author tag. Is there a way to make it so the specific author is shown right under the posting title everytime?

  5. moshu
    Member
    Posted 5 years ago #

    The_Loop
    more:
    Stepping_Into_Template_Tags

    (or just use another theme that displays the author by default)

  6. THISEY
    Member
    Posted 5 years ago #

    Still having trouble guys. I DO appreciate all your help though. I seem to understand the loop and everything now, but I still don't understand where in the loop I need to put the author tag. Please help. And thank you!!

  7. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    I still don't understand where in the loop I need to put the author tag.

    The Loop is what displays your post on the page, correct? So you would want to put the author tag wherever you want the post to show the author's name. Seems rather obvious, no?

  8. THISEY
    Member
    Posted 5 years ago #

    Obviously, I doesn't. That is why I asked.

  9. moshu
    Member
    Posted 5 years ago #

    Is there a way to make it so the specific author is shown right under the posting title everytime?

    Then put the author tag right under the title tag. What is so complicated?

Topic Closed

This topic has been closed to new replies.

About this Topic