Support » Themes and Templates » display name

  • Resolved kazan


    HI, I am using the defuly theme on wordpress. my site is 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You want something like Welcome <username> or a whole list of your users?

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

    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.

    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.

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘display name’ is closed to new replies.