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.
- The topic ‘Author information in author page’ is closed to new replies.