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

Feature: Automatically register block patterns located in the patterns directory #85

Closed
wants to merge 2 commits into from

Conversation

fabiankaegy
Copy link
Member

@fabiankaegy fabiankaegy commented Feb 16, 2022

Description of the Change

Closes #75

Alternate Designs

Possible Drawbacks

Verification Process

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Changelog Entry

Added: Automatically register block patterns located within the patterns directory of the theme

Credits

This PR is building on the Work done by @mcsf in WordPress/gutenberg#36751
Props @mcsf

@fabiankaegy
Copy link
Member Author

We discussed this today in a call and decided that we would wait for core to implement this rather than having to remove it from projects once core has build it in the future.

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

Successfully merging this pull request may close these issues.

Simplify & standardize how to add block patterns to the theme scaffold
1 participant