Closed wrenaria closed 2 years ago
@UcDust you will need to set up a patterns.php
file in the theme and load it in site.php
Thanks!
Hi @wrenaria, this should be on sandbox now.
and fyi @wrenaria , we can use whatever category name you want. same with title, description, and search terms...
I forgot a spacer in the "(Multi)" version of the Contact Us (Friday brain!). I updated the code above. Otherwise they are looking good.
Is it possible to have the Patterns default to the "Library Theme" category when you go to the Patterns tab? That'll help our content creators find stuff meant for them faster.
Perfect thanks! I bet if we changed the title to 'Library Defaults' it would be the shown first. Otherwise I can look to see if there's a way to change that in code.
I take that back, it doesn't help. Let me find what controls that.
We can control the priority that the patterns are registered in WP, so we can change the locations post type plugin to have a lower priority which allows the Library Theme patterns to be the default. I'll send this to code review and hopefully we can get it deployed tomorrow.
The patterns display and defaulting to Library Theme category look good! This is ready for stage.
Please add these two Patterns for Contact options.
Pattern Name:
Contact Us
Pattern Name:
Contact Us (Multi)