user name (2 posts)

  1. nlmnorth
    Posted 7 years ago #

    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.

  2. esmi
    Forum Moderator
    Posted 7 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.