On a multi author WordPress blog I need to show a list with more posts from the current author. The list is inside the Loop, so I can use <?php the_author_meta('first_name'); ?> <?php the_author_meta('last_name'); ?> and <?php the_author_meta('description'); ?>, but how to retrieve the user's posts?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
||||
|
|
|
This will retrieve the posts of current author when used in the loop. Put the following in your theme functions.php:
And add |
|||||||||
|
|
I think you can use the wordpress query_posts function for this. Take a look at http://codex.wordpress.org/Function_Reference/query_posts . This might not be enough to do what you need, but should get you started looking around the function reference. |
|||
|
Use Do not use |
|||||
|