Articles instead of posts in the archive page

This support request was posted in Flatbase by sigquit

Request ID #32949 Resolved
  • Is there a way to list all the active articles, instead of posts, on the default archive page? (i.e. in the Archive by author page)

    Thanks!

    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.

    Worked like a charm, thank you!

    Juanfra Aldasoro

    Thanks a lot for the follow-up 🙂

    Have a great day,
    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