Repository navigation
Experiment: Topic Pages - Introduce narrative guides for category archives - #1306
himanshupathak95 wants to merge 61 commits into
Conversation
b2ced6f to
f0aeefd
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #1306 +/- ##
=============================================
+ Coverage 85.05% 85.07% +0.01%
- Complexity 4836 5061 +225
=============================================
Files 190 197 +7
Lines 17971 18729 +758
=============================================
+ Hits 15286 15933 +647
- Misses 2685 2796 +111
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
a8c6968 to
dfb6eb8
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
|
@dkotter curious if you've got any UX ideas in mind where that are better than adding these section generations on the category page in the admin? Otherwise, this seems ok for a v1 though I feel like there could be a an alternate to consider. Maybe viewing the archive page in the site editor could allow us to view a specific category and (re)generate section content there? |
Yeah, while I don't mind this approach it feels outdated with the Site Editor we have available now. My expectation is I should be able to go to the Editor and create a custom category template and from there, trigger these new items. So I'd love to see an approach that looks into that to see how feasible that is and how exactly we'd trigger that functionality at the template level (are these custom blocks you add? Are these options in the sidebar you trigger?) |
|
Hey @jeffpaul @dkotter, thanks for taking a look at this! I did consider the Site Editor as a possible screen for generation (and regeneration) earlier, but then eventually shifted to the category edit screen to keep the first version small, since this already identifies the category and the term context, so generating, previewing, and saving apply directly to that category’s content. In the Site Editor, we'd need a way to select which category to target and wire up extra states around that. The Summary, Overview, and Timeline are already custom blocks you can place in any template. The part I deferred was choosing which category to preview and regenerate when editing a shared category template. Having a template for a specific category down the road could make that a lot simpler. |
I'd push back on this a bit as the Site Editor makes it pretty easy to create your own archive pages, either generally (say for all categories) or specific (for a single category). If you go to At that point, you now have a custom template specific to that category archive and from here it would be nice to have the AI controls, instead of managing that from the category edit screen. If you haven't investigated that yet, I'd prefer to at least look into that before we proceed here. |
|
Hey @dkotter, thanks for pointing me to the template setup flow. I tried it with a template for one category and got generation, preview, and publishing working from a small sidebar using our existing code. WordPress already knows which category the template is for, so there’s no extra picker in that case. I'd still keep the category edit screen for two reasons:
For the first version, would you prefer to keep generation on the category screen and add Site Editor controls later, or include both now, with the Site Editor controls shown only on templates for a specific category? |
What?
Closes #1136.
Adds an opt-in Topic Pages experiment for category archives. Editors can publish a short summary and a cited overview alongside a timeline of posts.
Why?
A category archive shows what was published recently. A topic guide gives readers a way to catch up and see how the story developed.
How?
The blocks use the category being viewed. Eligible archives show a timeline of published posts and keep the theme’s existing post list and pagination. Editors generate and review each text section on the category edit screen.
The public archive changes when they save a preview.
Use of AI Tools
AI assistance: Yes
Tools and models: Codex (Astra 6.0), Gemini 4.0 (Argon)
Used for: Implementation assistance, testing, code review, and PR description.
Testing Instructions
Screenshots or screencast
Generation demo
Screen.Recording.2026-11-11.at.16.20.55.mov
Blocks in the template and ineligibility
Screen.Recording.2026-11-11.at.16.20.55.mov
Enablement of Topic guide in child category and generation
Screen.Recording.2026-11-11.at.16.23.47.mov
Changelog Entry