WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

Block-based themes: what happens to Reading Settings? #20338

Open nickcernis opened 4 years ago

nickcernis commented 4 years ago

Block-based themes and full-site editing seem to make several Reading Settings less useful (or more confusing, perhaps):

Screen Shot 2020-02-20 at 17 15 09

Your homepage displays

Would the user now decide what's on their homepage via a block template, instead of with this setting? It's not currently possible to build a block template that honors this setting, as far as I can see.

Blog pages show at most

Would this now be set in a block template for a blog page as the “number of items” parameter in a query block? (Same with archives.)

Again, at present I couldn't find a way to use this value in block templates.

Feed and search engine settings

These seem like they could survive, as they don't have block-based equivalents unless the settings move to a global panel in the Site Editor.

mtias commented 4 years ago

Initial thoughts are that when the query block is used in a template inheriting the global query (that is, not as a custom query), it should definitely reflect the main reading settings and allow changing those settings directly. It might turn out that controlling the query through the template and block settings becomes generally more intuitive to users.

ntsekouras commented 4 years ago

Blog pages show at most

This has been implemented for Query block here: https://github.com/WordPress/gutenberg/pull/25674

jameskoster commented 2 years ago

For the front-page template could we potentially bring some of the reading settings into the Inspector?

Screenshot 2022-07-21 at 11 40 47
mtias commented 2 years ago

@jameskoster that makes a lot of sense to me. I can also see it being useful for templates that inherit query to be able to manage some reading settings like posts per page, etc, from there.

youknowriad commented 1 year ago

I think these settings are now editable and reflected in the site editor. I'm closing this issue, please reopen if I'm missing anything.

jameskoster commented 1 year ago

@youknowriad not yet I'm afraid. The designs here are still relevant, and align with the latest work in https://github.com/WordPress/gutenberg/issues/36951.

scruffian commented 1 year ago

What do you think about totally hiding reading settings for block themes?

jameskoster commented 1 year ago

Probably worth discussing. Communicating the interaction between reading settings, templates (Front Page and Home in particular), page contents etc. in the UI makes for a quite overwhelming experience.

It would be much simpler to just select a page in the Site Editor's Pages panel and say; "This is my homepage".

skora-cpl commented 2 months ago

more conversation about this is happening at https://github.com/WordPress/gutenberg/discussions/64620