troubleshooting Question

Loop 5 latest posts from Author using custom field in wordpress

Avatar of Jon Imms
Jon ImmsFlag for United States of America asked on
WordPressPHPHTML
1 Comment1 Solution549 ViewsLast Modified:
Hi,

I am creating a meet the team template, with the aid of the Advanced Custom Fields plugin in Wordpress.  

Each user/team member will be an author of some posts. What i would like to do is have a custom field which is author_id   you enter the user id of this user in the custom field,  and it will then display the latest 5 posts from that particular author.

I have the HTML of how i would like it to be displayed
<div class="bio-right">
                	<h3>Latest Articles</h3>
                    <ul>
                    	<li class="fix"><a href="#">Some post 1</a><span class="bio-meta">June 21 2012</span></li>
                        <li class="fix"><a href="#">Some post 2</a><span class="bio-meta">June 21 2012</span></li>
                        <li class="fix"><a href="#">Some post 3</a><span class="bio-meta">June 21 2012</span></li>
                        <li class="fix"><a href="#">Some post 4</a><span class="bio-meta">June 21 2012</span></li>
                    </ul>
                </div> 

Here is my test page for this template ..... here
ASKER CERTIFIED SOLUTION
Ovid Burke
CEO & Creative Director

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros