[Support request] Filter archive posts by category

Home Forums Support [Support request] Filter archive posts by category

Home Forums Support Filter archive posts by category

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #577906
    Robert

    We have several categories of posts, but only care about an archive for one category “Newsdesk”. Is there a way we could cause the Archives to show only the posts in that category?

    #578118
    Leo
    Staff
    Customer Support

    Hi there,

    The easiest way would be to use Tom’s WP Show Posts: https://en-ca.wordpress.org/plugins/wp-show-posts/

    Then create your own archive page by using static page.

    Let me know if this helps 🙂

    #578219
    Robert

    Thanks, but that looks like way overkill for what I was hoping, and it is not clear that it would do what I want.

    #578242
    Leo
    Staff
    Customer Support

    Shouldn’t be an overkill. One of the main feature of the plugin is to achieve what you are looking for.

    I’d recommend giving it a shot.

    #578280
    Robert

    I gave it a shot! But I saw no option to filter the posts to be displayed by a particular category!

    What I really want is simply for the ordinary Archives widget that displays posts by months to now display only posts within a particular category for the chosen month.

    I was hoping for some PHP filter code that would do the job!

    #578377
    Leo
    Staff
    Customer Support

    Try Add New List > Taxonomy > Category then you can select the desired category there.

    Then you can use the shortcode and add it anywhere you want.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.