WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Automatically identifying author of posts

[Resolved] Automatically identifying author of posts

  • 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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Ze Fontainhas

    @vanillalounge

    Moderator

    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(); ?>

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

    (Resolved)

    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?

    The_Loop
    more:
    Stepping_Into_Template_Tags

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

    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!!

    Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    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?

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

    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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Automatically identifying author of posts’ is closed to new replies.