Block Theme Pattern Registration
-
Hey guys, I’m building a child theme and trying to use the built in WP functionality to register my custom template-parts by placing them in the /patterns directory of my child theme.
However, after doing this, the new patterns don’t display as options in the Site Editor UI or in Appearance / Editor / Patterns.
The ONLY way I’ve been able to get them to register / display is by deactivating the child theme, switching to another theme, then reactivating the child theme. Once I did this, the patterns appear as expected.
I couldn’t find any mention of it in the Theme Handbook -> https://developer.www.ads-software.com/themes/patterns/registering-patterns/
Is this behaviour to be expected?
Paul
- The topic ‘Block Theme Pattern Registration’ is closed to new replies.