WordPress / WordPress/pattern-directory

Default curation filter makes it seem like very few patterns exist

Open
#709 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Theme
Dominant language
PHP
Stars
134
Forks
46
Avg merge
9h 4m
Merged PRs (30d)
19

Description

It's about: https://wordpress.org/patterns/

There you can see that there are currently 1,964 patterns.

If you enter "404" as a search term, as shown in https://learn.wordpress.org/tutorial/personalizing-your-404-template/, there are no hits.

I also notice that despite the 1964 patterns, only 2 pages of patterns are displayed. There is no third page at all.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the pattern-directory implementation behind the WordPress Patterns search, curation filter, and pagination shown in the issue. Reproduce the "404" search and inspect why only two pages appear despite the reported 1,964 patterns; done means relevant results appear and pagination exposes the full available set.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
search, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.