Skip to content

Latest post block: show child categories when parent category is selected #65332

Open
@annezazu

Description

When using the Latest Posts Block with a Category filter, the post assigned only to Child Categories should also be listed, respecting the hierarchy. Right now, filtering by a Parent Category will only display posts namely assigned to the Parent Category. To list both Parent and Child Category posts, the both categories need to be present in the filter, as seen below in the following video:

parent.and.child.mov

If this is done for a reason, curious to hear why and we can close this out too! It just seems odd that the Category Page for a Parent Category lists posts from Child Categories but the Latest Posts Block doesn't.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions