Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Loop Block Filter Expansion #41797

Closed
Zaeo opened this issue Jun 17, 2022 · 1 comment
Closed

Query Loop Block Filter Expansion #41797

Zaeo opened this issue Jun 17, 2022 · 1 comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@Zaeo
Copy link

Zaeo commented Jun 17, 2022

What problem does this address?

Currently, the logic behind the Query loop filter with multiple categories is OR. This is the only option and limits the use of filters to get more specific hub pages for larger sites. This functionality has been in plugin-based implementations of query loops for years. I don't use tags at all, and going back and modifying hundreds of posts to add them for more specific filtering is way more work than it's worth.

Keyword filtering doesn't work either, as I mention games in my other categories as an interlinking strategy, so they show up in the query.

For example, I do Reviews of Games, Software, and Hardware. Well, I have a reviews category, a Games category, a Software Category, and a Hardware Category. I want to be able to filter Reviews + Games, Reviews + Software, and so on.

What is your proposed solution?

Implement a dropdown selector in the block filter to change the filter logic for categories and tags to dictate how multiple categories are handled.

AND / OR / EXCLUDE being the three options. I'd even be happy with just AND / OR logic.

@kathrynwp kathrynwp added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jul 6, 2022
@kathrynwp
Copy link

Hi there @Zaeo, thanks for submitting this issue! I found an overarching issue that dives into related enhancements to Query Loop block filtering:

#30706

Since your suggestion here relates closely to the existing issue, I'm going to close out this one. In order to consolidate the feedback, please chime in on the existing ticket to add your thoughts. Thanks!

@kathrynwp kathrynwp closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants