Support » Your WordPress » user name

user name

  • on this page http://www.nlmnorth.com/holy-land-experience/ i have a link at the bottom which is the authors name which i use the_author(); in the php. this works fine but i need the link to go to /author/[username] and right now i have it going to /author/[authorname] this works for some user accounts, but if the authors name is different than the username it won’t work. this page for example. the author is “Pastor Rigo” but his username is “pastorrigo”. i need the link to read href=”/author/pastorrigo” instead of href=”/author/Pastor Rigo/” (which is a dead link). I guess my question is simply how do i query the user name of the author of the post if possible.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘user name’ is closed to new replies.