Forums

Template tag: URL friendly author name (3 posts)

  1. theApe
    Member
    Posted 3 weeks ago #

    Can anyone help or point me in the right direction.

    <?php the_author_nicename(); ?> (made up example)

    I use to have a template tag which called the author's username in a url friendly format, but have not been able to find it. For example:

    Someones Name (As the Username)

    Would be inserted as...

    someones-name

    If any one knows the tag or can point me in the right direction it would be greatly appreciated.

    Thank you for your time!

  2. theApe
    Member
    Posted 3 weeks ago #

    $user->user_nicename;

    I thought I knew it :)

  3. theApe
    Member
    Posted 3 weeks ago #

    Off topic!..

    Can we not mark topics as resolved anymore?

Reply

You must log in to post.

About this Topic