WordPress.org

Support

Support » Themes and Templates » [Resolved] Author information in author page

[Resolved] Author information in author page

  • In the author page, I want to display the author name and biography first, and (but only after) the list of posts.

    But I can’t use the_author() and the_author_description() outside of the loop. I can evidently loop in the posts and add the things I want hover the first post item. But:

    – Code structure will be pretty illogical. Name of author and biography arise only one time and it’s not clean to put that in the loop.
    – Code will be messy a lot more messy.
    – Can’t output data name and description for author with no post.
    – It’s seems pretty strange to don’t be able to get the informations as I am in an author page.

    Someone have a proposition for a cleaner workaround ? It’s can be a great enhancement to allow author data outside of the loop for author page, as the author is implicitly set.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Author information in author page’ is closed to new replies.
Skip to toolbar