-
Notifications
You must be signed in to change notification settings - Fork 113
Audit patterns filenames #244
Comments
I looked through some new block themes and the most popular block themes (from different trusted authors) and there does not seem to be an established practice. So I don't mind using the same naming as in Twenty Twenty-Four. |
Thanks, Carolina! Yes, I hope people will enjoy the different patterns this theme will be shipped with 😅
Sounds good to me, let's do that. |
How much/little can we change after the first beta? @juanfra is this something you would have bandwidth to look at this week? In case you can point me to a specific list of patterns to rename, visible or filenames, I'm happy to take a stab. |
Yes, I will find space to look at it this week.
I am not sure if renaming files would count as adding new things or not. But just in case, I'd like to have a pass before beta 1. |
I've been taking a look at this and came to the following:
Proposed === empty means no changes. @jasmussen @carolinan @richtabor, I'll appreciate your thoughts on this. |
As long as they're more descriptive than "Heading with Image" etc, then it's a win. We need to think about what someone would search for to find it. They don't have to be super long, but intentional. |
Description
Our goal is to make the naming as intuitive as possible. To achieve this, we need to audit the patterns' names and define proper naming for the different templates in the
patterns
folder. We can check how it was done for the past default themes with patterns so that users are familiar with how we name things out of the box.I believe we should consider the convention that was historically established in WordPress themes, but as prefixes:
single-*
,page-*
,archive-*
,home-*
,search-*
. Thinking also oftemplate-*
as an option.We also need to find some convention for the other isolated patterns the theme is packed with, an idea could be thinking of the main category as the prefix.
The text was updated successfully, but these errors were encountered: