-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Allow patterns files to be divided into sub folders inside the main "patterns" folder #50144
Comments
I would like to know if there is some overlap and experimentation here for filtering the path where patterns are saved. Support for multiple entry points could help with organizational efforts. 🤔 #32696 |
A PR related to addressing this issue has been started in #53668. |
I would love to see this happen, especially since I made the same suggestion to @richtabor recently. It would also mirror functionality that currently exists in the /templates directory, which allows for subfolders inside of it. |
Twenty Twenty-Five currently has over 80 patterns, and more patterns will be added before the theme is complete. |
I just opened a PR for this issue here. |
What problem does this address?
With growing number of patterns inside a theme, it's becoming inconvinient to deal with a long list of files inside the "patterns" folder.
What is your proposed solution?
A great option would be to divide the patterns files into sub folders based on the pattern first word in the slug name. For example, all header patterns are added into the "header" folder, all footer patterns into the "footer" folder, testimonials patterns into the "testimonials" folder and so on.
The text was updated successfully, but these errors were encountered: