[wp-trac] [WordPress Trac] #54493: Block Themes: Update the theme folders to be templates and parts

WordPress Trac noreply at wordpress.org
Thu Nov 25 10:14:43 UTC 2021


#54493: Block Themes: Update the theme folders to be templates and parts
----------------------------+---------------------
 Reporter:  youknowriad     |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.9
Component:  Themes          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------
Description changed by youknowriad:

Old description:

> This ticket is here to track the backport of
> https://github.com/WordPress/gutenberg/issues/36548 implemented in
> https://github.com/WordPress/gutenberg/pull/36647
>
> The idea is to use "templates" and "parts" as folders instead of "block-
> templates" and "block-template-parts" for block themes while retaining
> backward compatibility for the latter.

New description:

 This ticket is here to track the backport of
 https://github.com/WordPress/gutenberg/issues/36548 implemented in
 https://github.com/WordPress/gutenberg/pull/36647

 The idea is to use "templates" and "parts" as folders instead of "block-
 templates" and "block-template-parts" for block themes while retaining
 backward compatibility for the latter.

 While there are already themes that use the previous folders here, we
 prefer to update the folders while the number of themes is small 20/30
 early adopters to ensure consistency in theme folders for all FSE themes
 (we expect a far bigger number in the future).

 Delaying this change to 6.0 would be more impactful since more themes
 would exist at that point and plugins might start relying on the presence
 of the old folders.

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54493#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list