-
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
Pattern consist of multiple patterns working fine but failed to display or load in patterns dashboard #38952
Comments
Can you share more about why you're trying to do this? I imagine this is expected to not work since the pattern directory is only meant to show individual patterns :) |
I am trying to create meaningful page patterns for admin to use like home-page, about-page etc with the help of multiple patterns so that admin can able to create pages for website using single pattern (which consist of multiple patterns) on single click. These patterns are working fine too except issue of loading pattern in pattern popup |
Ah ha gotcha. Full page patterns are still being explored currently: #38787 You can see more around building with patterns in general here: #38529 I'm not quite sure if what you're describing is supported yet/a best practice, which is likely why you're running into this problem. What happens if, when registering, in the |
If, we registering, in the content copy/paste the full HTML rather than referencing the patterns there then it's just a repetition of the same code and in future, if we will have to correct or change something in patterns then we will have to do this in multiple places which is not a good code practice. |
Hi @randhirexpresstech ! Full-page patterns should now be possible with #40034. Can you confirm so we can close this issue? |
Thanks @tellthemachines. Issue still exists, pattern consist of multiple patterns doesn't display or load in patterns dashboard. Please check screen-cast |
Hey @randhirexpresstech! Is this still an issue after: #44784? |
Thanks @ntsekouras. Issue has been resolved now. |
Description
Register a pattern consist of multiple patterns doesn't display or load in patterns dashboard. However, insertion of same pattern in pages is working fine i.e. getting all blocks
Please check screen-cast pattern-consist-of-multiple-patterns-working-fine-but-failed-to-display-or-load-in-patterns-dashboard
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Please check screen-cast pattern-consist-of-multiple-patterns-working-fine-but-failed-to-display-or-load-in-patterns-dashboard
Environment info
WordPress version 5.9
Twenty Twenty-Two theme version 1.0
Gutenberg plugin version 12.6.0
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: