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

Add HTML patterns to be loaded by oik-patterns #78

Closed
1 task
bobbingwide opened this issue Jan 24, 2022 · 2 comments
Closed
1 task

Add HTML patterns to be loaded by oik-patterns #78

bobbingwide opened this issue Jan 24, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request Gutenberg A bug / enhancement to Gutenberg

Comments

@bobbingwide
Copy link
Owner

The oik-patterns plugin contains generic logic to load patterns from any installed theme that delivers patterns as .html files in the theme's patterns folder.

Patterns found in subdirectories are automatically associated with pattern categories.
eg patterns for Buttons would go in the patterns/buttons folder and those for Rows in the patterns/rows folder.

See bobbingwide/oik-patterns#2

Requirement

  • Add patterns to be automatically processed by oik-patterns
  • Patterns to be internationalized in the same / similar way as templates and template parts

Proposed solution

  • Add a new pattern each time we think it's worthwhile.
@bobbingwide bobbingwide added enhancement New feature or request Gutenberg A bug / enhancement to Gutenberg labels Jan 24, 2022
@bobbingwide bobbingwide self-assigned this Jan 24, 2022
bobbingwide added a commit that referenced this issue Jan 24, 2022
@bobbingwide
Copy link
Owner Author

Also, add .json files for each pattern's .html file where we want to be able to use those patterns as page templates for add new.

@bobbingwide
Copy link
Owner Author

delivered in v1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Gutenberg A bug / enhancement to Gutenberg
Projects
None yet
Development

No branches or pull requests

1 participant