How can I get the username of the author in word press

Home Forums Computer, Internet and Web Apps WordPress and bbPress How can I get the username of the author in word press

This topic contains 0 replies, has 1 voice, and was last updated by  Hirendra Sisodiya 6 years, 7 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3614

    If you want to show the user login name of the author of the post then you can use the following line of code:

    < ?php the_author_meta( 'user_login' ); ?>

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.