Skip to:
Content
Pages
Categories
Search
Top
Bottom

User ID not Author ID


  • gerikg
    Member

    @gerikg

    What is the code to pull up someone’s user name? <?php echo post_author();?> pulls the nick name not user name.

Viewing 1 replies (of 1 total)

  • gerikg
    Member

    @gerikg

    <?php echo get_user_name( get_post_author_id() ); ?>

    got it… sorry

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.