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 in front-page template should respect homepage settings #42554

Open
jameskoster opened this issue Jul 20, 2022 · 2 comments
Open

Query in front-page template should respect homepage settings #42554

jameskoster opened this issue Jul 20, 2022 · 2 comments
Labels
[Block] Query Loop Affects the Query Loop Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Dev Ready for, and needs developer efforts [Type] Bug An existing feature does not function as intended

Comments

@jameskoster
Copy link
Contributor

If you configure homepage settings to display a static page, then place a Query in the front-page template, that Query will incorrectly display posts, while the frontend correctly displays the page content:

Screenshot 2022-07-20 at 10 41 18

Ideally, any Query in this template (when set to inherit) should check the homepage settings and display accordingly:

Screenshot 2022-07-20 at 10 44 51

@jameskoster jameskoster added [Type] Bug An existing feature does not function as intended [Feature] Full Site Editing [Block] Query Loop Affects the Query Loop Block labels Jul 20, 2022
@skorasaurus
Copy link
Member

heavily related: #20338 ; do these issues overlap close enough to close this?

@jameskoster
Copy link
Contributor Author

That issue seems to be more generic while this one concentrates on just the interaction between homepage settings + front-page template specifically.

Updating the Query to reflect those settings in this template feels like something worth fixing in isolation since it is kind of buggy right now, so it's probably ok to keep this issue open and consider it a part of 20338.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Query Loop Affects the Query Loop Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Dev Ready for, and needs developer efforts [Type] Bug An existing feature does not function as intended
Projects
Status: Needs Dev
Development

No branches or pull requests

3 participants