WordPress.org

Ready to get started?Download WordPress

Forums

Display author ID in sidebar (2 posts)

  1. Nikolas
    Member
    Posted 4 years ago #

    hello there.

    This is the 4th hour I am trying to solve this. Well, it is simple, i googled hundreds of pages but nothing serious came out.
    I am searching on how to show the author's id of a post (single.php) in sidebar.

    Any advices ?
    Thank you

  2. MichaelH
    Member
    Posted 4 years ago #

    Maybe:

    echo $post->post_author;

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.