-
Notifications
You must be signed in to change notification settings - Fork 11
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
Taxonomy Queries #35
Comments
Exactly what I did. I took your meta-query controls and modified them to provided nice controls for taxonomy-queries. Within my use-case - querying by context, not by hard-coded term-ids, I didn’t had big troubles with the includes property. Maybe I didn’t mention any errors or maybe it could help you going on with this issues. Feel invited to https://github.com/carstingaxion/additional-advanced-query-loops/tree/contextual-query-loop and carstingaxion#10 |
Hey, @carstingaxion and @ryanwelcher. I'd love to use the plugin to query related posts by context in a single template. How can I test the branch for contextual queries? I activated the plugin but could not find the advanced query loop block. |
Cool @JosVelasco, that is exactly what I wanted, too and why I forked @ryanwelcher|s great work.
I guess because I was a little too rigid in the beginning. Unsure how far I could get with my idea of contextual queries, I renamed everything to “Contextual query loop” to be able to run the original plugin and my fork in parallel. Try this name in the inserter. Now, that I would like to provide a PR with my additions, I have to revert all the renaming at first. And I haven’t found the time, yet. (And tomorrow morning starts the family holiday) So feel free to use my fork until some point in the future, where contextual queries will eventually be merged into Advanced query loop. |
Unfortunately, the block does not appear. I wonder if it has something to do with a newer WordPress version. |
Fixed it. The original plugin gitignores the Now it should work for you, as it works in a Playground (funfact: In 6 hours my family & me are going to start our holiday, so we can both be lucky to have this fixed before) Thanks for your feedback @JosVelasco ! |
Happy holidays, @carstingaxion! |
Closed with #90 |
I'd like to add some controls for querying by taxonomy. There is prior art from the meta query controls that can be leveraged here.
As MVP, I'll start with being able to use the options laid out here - https://www.whereisit5pmrightnow.com/
I have started some experiments in this branch and am seeing some odd behaviour with the
include_children
andoperator
fields so I may start with basic tax and term selection as MVP.The text was updated successfully, but these errors were encountered: