When I click on the “View all posts by xxxx” link at the bottom of an article, it takes me to http://hostname/author/ryan/
which says “Sorry, no posts matched your criteria.” I’m guessing it is looking for blog posts, but my users have only written articles. Is there a way to display articles written by the user?
Hi,
Thanks for writing. I hope you are doing well.
Actually that’s a WordPress functionality. The author archive page will list all the contents posted by that author. But you can add the following code to your functions.php file in order to modify the type of content displayed:
On that example, it will be displaying posts and articles, you can remove the posts if you need only to display articles.
Best,
Juan.
Thank you, this is perfect!
Hi,
Thank you!
Have a nice weekend,
Juan.