Within a post I can use
the_author() to retrieve the author name, but in the sidebar of a single-post page this does not return anything. How to get metadata on the post author outside the post?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community