You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pattern consist of multiple patterns working fine but failed to display or load in patterns dashboard #38952
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
I am trying to reuse registered patterns or creating nested patterns to avoid repetition of code and provide beautiful designs to admin for use.
A group of small individual patterns can create a beautiful design.
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 content you copy/paste the full HTML rather than referencing the patterns themselves? I might lean on that method for now. I'll keep this open in case others have any thoughts though as I would image this could be something folks would want to be able to lean on in the future.
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.
I think, reusability of patterns is the best, optimized and fastest way to implement this kind of feature.
Activity
annezazu commentedon Feb 21, 2022
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 :)
randhirexpresstech commentedon Feb 22, 2022
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
I am trying to reuse registered patterns or creating nested patterns to avoid repetition of code and provide beautiful designs to admin for use.
A group of small individual patterns can create a beautiful design.
annezazu commentedon Feb 22, 2022
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
contentyou copy/paste the full HTML rather than referencing the patterns themselves? I might lean on that method for now. I'll keep this open in case others have any thoughts though as I would image this could be something folks would want to be able to lean on in the future.randhirexpresstech commentedon Feb 22, 2022
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.
I think, reusability of patterns is the best, optimized and fastest way to implement this kind of feature.
tellthemachines commentedon Oct 21, 2022
Hi @randhirexpresstech ! Full-page patterns should now be possible with #40034. Can you confirm so we can close this issue?
randhirexpresstech commentedon Oct 21, 2022
Thanks @tellthemachines. Issue still exists, pattern consist of multiple patterns doesn't display or load in patterns dashboard. Please check screen-cast
Theme: Twenty Twenty-Two
Theme Version: 1.2
Wordpress Version: 6.0.3
ntsekouras commentedon Jan 30, 2023
Hey @randhirexpresstech! Is this still an issue after: #44784?
randhirexpresstech commentedon Jan 31, 2023
Thanks @ntsekouras. Issue has been resolved now.