#57302 closed defect (bug) (wontfix)
Twenty Twenty-Three: Query loop pattern not working
| Reported by: | hiren1094 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-screenshots close |
| Cc: | Focuses: | administration, template |
Description
Hello,
I am not able to see a selected (First) Query Loop pattern of grid view on the front side in the Twenty Twenty-Three theme
Attachments (4)
Change History (13)
#3
@
4 years ago
It appears that if you add a query loop to a page that doesn't provide query context, and the "Inherit query from template" toggle is on, then the query will run in the editor but not on the front end. Setting that toggle to off makes the query run correctly.
This seems at best a very poor design decision. Either there should be some default context that works for all templates, or that toggle should be set to off by default. And the query results in the editor should match those in the front end.
#4
@
4 years ago
Yes, It will work when I off "Inherit query from template" this setting but really it should be off by default and This "Insert query from template" title should be user-friendly and highlighted which is easily understood for user.
This ticket was mentioned in Slack in #core by hiren1094. View the logs.
4 years ago
#6
@
4 years ago
- Summary Query loop pattern not working in Twenty Twenty-Three → Twenty Twenty-Three: Query loop pattern not working
#7
@
3 weeks ago
- Keywords close added; needs-patch removed
Thank you for all the input on this ticket so far. I am going to see how we can get some conclusion to this. This is not a Twenty Twenty-Three problem. The Query loop is set to use the template’s query. A normal page does not have that query, so the front end shows nothing. Turning that setting off makes the posts show.
The default and the label belong in the Query block. I suggest we close this. My apologies for someone wrongly adding the wrong labels previously.
#8
@
3 weeks ago
- Milestone Awaiting Review
- Resolution → wontfix
- Status new → closed
I am going to go through and actually close this as I recommended, thank you everyone for your contributions on this. It doesn't mean tickets can't be reopened though if they are closed, for now though that is the decision here.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Screen Short Added