WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] display name (6 posts)

  1. kazan
    Member
    Posted 7 years ago #

    HI, I am using the defuly theme on wordpress. my site is pixelzelite.com and I have more the nme updating but the problem is that it doesn't display that users name!? I tried looking for other themes that have the display name, and when I find one that DOES it either removes all my links (they are not displayed) or they put all my links and hosted sites in blogroll. is there a code I can put on my defult theme to display the user names? thanks in advanced.

  2. Bernard Bos
    Member
    Posted 7 years ago #

    You want something like Welcome <username> or a whole list of your users?

  3. ZMAng
    Member
    Posted 7 years ago #

    If all you want are the users/author's names, then you might want to check out these Author Tags.

  4. kazan
    Member
    Posted 7 years ago #

    I think the author tags might be what Im looking for zmang, but I dont know exaclty what file I edit on that theme... and bossy, sorry I wasn't clear. I ment when each post is made I would like it to say "posted by AUTHORNAME" if any one else can help me, please do. and I thank you both also.

  5. ZMAng
    Member
    Posted 7 years ago #

    If so, edit your Single Post template (for individual posts) and/or Main Index Template (for your front page, and also for your individual posts if the Single Post template doesn't exist), and where you want to place the AUTHORNAME, put this:

    <p>This post was written by <?php the_author(); ?></p>

    Just an example though, you can customise it as you wish. For more details, refer to the WordPress Codex on this.

  6. kazan
    Member
    Posted 7 years ago #

    ohhh, now that I know what file to edit, I noticed that all I had to do is remove the "<-- -->" tags then it makes it visble. thanks for all the help guys.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.