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

Implement term pages and 'system pages' in WordPress #12707

Closed
atimmer opened this issue Dec 8, 2018 · 6 comments
Closed

Implement term pages and 'system pages' in WordPress #12707

atimmer opened this issue Dec 8, 2018 · 6 comments
Labels
Customization Issues related to Phase 2: Customization efforts [Type] Enhancement A suggestion for improvement.
Milestone

Comments

@atimmer
Copy link
Member

atimmer commented Dec 8, 2018

WordPress has traditionally had only a simple textarea to change the description of a category or tag. For a long time Yoast SEO has had a feature that replaced this simple textarea with a TinyMCE editor instance. The reason for this is that term pages are very often of incredible SEO value.

The most obvious example of this is for webshops, where it is very hard to rank for a specific product like a bag, unless someone is searching for that specific brand of bag. What most webshops do instead is rank for the category of thing. So they rank for the word bag instead. This is then done by the Bag category and that lists all the bags available on the site.

This has been fairly awkward to use because the user has no control over the placement of the description on the term page. So other than adding a description and hoping the theme puts it somewhere useful, there is no other way for a user to exert control over their term pages.

With Phase 2 this can be improved. The first step is to add the block editor to the the term edit screen. The second step is adding a Posts for Term block, that lists all the posts in the term. This combination allows the user to customize their term pages the way they want.

Expanding on this, the same logic applies to what I call 'system pages'. Pages that are automatically generated with fixed content, but have to be on the site: The homepage, author pages, etc. All these pages have a fixed block: All Posts, Posts for Author, etc. The homepage one allows us to drop the weird homepage setting. If the user doesn't want a post overview on their homepage they can remove the All Posts block. If we allow the Posts for Term and Posts for Author block on any page, the homepage can also be customized with these block options.

@youknowriad @alexislloyd: Phase 2 leads
@omarreiss, @jono-alderson: You probably have ideas about this.

@atimmer atimmer added [Type] Enhancement A suggestion for improvement. Customization Issues related to Phase 2: Customization efforts labels Dec 8, 2018
@atimmer atimmer added this to the Future: Phase 2 milestone Dec 8, 2018
@benoitchantre
Copy link
Contributor

Will that cover also custom post type archives? It’s not rare to need an introduction before the posts.

@atimmer
Copy link
Member Author

atimmer commented Dec 19, 2018

@benoitchantre I would think so as these have the same semantics.

@youknowriad
Copy link
Contributor

I would think that the solution that we come up with here should apply to any dynamic page from the WordPress template hierarchy.

I do think though that this is something that will come a bit later in the phase2 timeline. I expect initial focus would be around: "Widget blocks", "Menu block", and then maybe templates for static pages and then templates for dynamic pages.

@benoitchantre
Copy link
Contributor

Thank you for your inputs. What would be your recommendation for theme authors as a temporary solution: a widget area before the posts, a textarea control in the customiser or something else?

@tomdevisser
Copy link
Member

@atimmer With the new templating possibilities in FSE, is this issue still relevant or can it be closed?

@youknowriad
Copy link
Contributor

Yeah, I think this can be considered solved with block themes and site editor. Maybe we still need to provide some options in the "new template" dropdown but the crux of the issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customization Issues related to Phase 2: Customization efforts [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants