humanmade / humanmade/query-filter

Scope of filters not limited to the "active" query loop

Open
#28 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
123
Forks
33
Avg merge
6h 7m
Merged PRs (30d)
5

Description

When testing this plugin on a page with multiple query loops, the filtering was applied to all of the loops on the page, not just the specific query loop that contained the filter blocks. This was the case with both included filter blocks - the taxonomy term block and the post type block.

The use case I was attempting to build was to display the first X number of posts from a post type in a unfilterable format at the top of a page. Further down, starting with the X offset, I wanted to create a filterable "archive" for the remaining posts in the collection.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.