"View all posts by author" link results in no posts found

This support request was posted in Flatbase by ryandov

Request ID #39153 Resolved
  • 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?

    Juanfra Aldasoro

    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!

    Juanfra Aldasoro

    Hi,

    Thank you!

    Have a nice weekend,
    Juan.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server