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

When editing the posts page, include relevant template settings in the Inspector #63662

Open
jameskoster opened this issue Jul 17, 2024 · 1 comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

jameskoster commented Jul 17, 2024

When you edit the Blog Home template a number of settings are surfaced in the Inspector:

  • The blog title, maps to page_for_posts->$title
  • Posts per page, maps to posts_per_page global
  • Discussion settings, maps to default_comment_status global

The latter two are useful controls, and it would be good to surface them when editing the page that displays latest posts (page_for_posts), as it is a more natural flow than editing the Blog Home template. It also doesn't make sense that users are forced to navigate to the template editor to change these settings.

Screenshot 2024-07-17 at 13 49 48

In this case the discussion settings replace the current control, as it serves no purpose on the page_for_posts.

When a setting is adjusted in the page edit context, the value should cascade down to the template, which itself cascades down to the options outlined above.


Additionally we might consider hiding irrelevant data points like publish date.

@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Feedback Needs general design feedback. labels Jul 17, 2024
@jameskoster jameskoster changed the title When Blog Home template resolves to display page_for_posts, display template settings in the page Inspector When editing the page that displays latest posts, include relevant template settings in the page Inspector Jul 19, 2024
@richtabor richtabor changed the title When editing the page that displays latest posts, include relevant template settings in the page Inspector When editing the posts page, include relevant template settings in the Inspector Jul 21, 2024
@richtabor
Copy link
Member

Noting this is blocked by #63748.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.
Projects
Status: Next
Development

No branches or pull requests

2 participants