How to show posts by author
-
I created staff pages. I want to run a query that pulls 5 posts they authored and display them.
I can setup the page and hardcode the author-id but if we add a new staff member their posts won’t display until I go in and code their id in.Is there a way to have the query pull the posts dynamically for whatever author page you are on? Here’s an example of what I built.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to show posts by author’ is closed to new replies.