Skip to content

Conversation

@ntsekouras
Copy link
Contributor

@ntsekouras ntsekouras commented Oct 27, 2025

What?

Part of: #72498

This PR does 3 things:

  1. Adds 404 support Home / 404 Not Found
  2. Search support Home / Search results for: "a"
  3. Adds pagination support for archive templates (author, taxonomies, post type, date) and search. Pagination results appear like this: Home / Books / Page 2.

Testing Instructions

  1. Enable GB experimental blocks.
  2. For easier testing I'm adding this plugin and the core block in theme's header and test various pages in the front end.
  3. Test 404
  4. Test searching something
  5. For testing pagination it's easier if you set the number of posts to one in reading settings. Then test archive templates (author, taxonomies, post type, date) and search, by going to the next page

Sample screenshots

Screenshot 2025-10-27 at 5 16 16 PM Screenshot 2025-10-27 at 5 16 34 PM Screenshot 2025-10-27 at 5 16 42 PM

@ntsekouras ntsekouras self-assigned this Oct 27, 2025
@ntsekouras ntsekouras added [Type] Enhancement A suggestion for improvement. [Block] Breadcrumbs (experimental) Affects the Breadcrumbs Block labels Oct 27, 2025
@github-actions
Copy link

github-actions bot commented Oct 27, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: jorgefilipecosta <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@ntsekouras ntsekouras force-pushed the breadcrumbs/add-archive-paged-support-404-search branch from 3678ad7 to 19ad6f1 Compare October 27, 2025 15:24
@github-actions
Copy link

github-actions bot commented Oct 27, 2025

Flaky tests detected in 85df173.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/18933161350
📝 Reported issues:

@jorgefilipecosta jorgefilipecosta self-requested a review October 29, 2025 09:10
Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested search, paginated search, 404, paginated categories, paginated archives, and the 404, everything worked well, and the code looks good 👍

@ntsekouras ntsekouras force-pushed the breadcrumbs/add-archive-paged-support-404-search branch from 19ad6f1 to 85df173 Compare October 30, 2025 07:28
@ntsekouras ntsekouras enabled auto-merge (squash) October 30, 2025 07:28
@ntsekouras ntsekouras merged commit e0501d4 into trunk Oct 30, 2025
33 checks passed
@ntsekouras ntsekouras deleted the breadcrumbs/add-archive-paged-support-404-search branch October 30, 2025 08:04
@github-actions github-actions bot added this to the Gutenberg 22.1 milestone Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Breadcrumbs (experimental) Affects the Breadcrumbs Block [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants