Changes between Initial Version and Version 1 of Ticket #54910, comment 6
- Timestamp:
- 01/26/2022 06:51:48 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54910, comment 6
initial v1 4 4 Legacy themes should not have to add anything as they most likely never will be updated. 5 5 6 If new themes support new features like FSE or block-templates ( see also#54917), they should use [https://developer.wordpress.org/reference/functions/add_theme_support/ add_theme_support()] - that's what this API was made for.6 If new themes support new features like FSE or block-templates (as in #54917), they should use [https://developer.wordpress.org/reference/functions/add_theme_support/ add_theme_support()] - that's what this API was made for. 7 7 8 > ... it would be beneficial to allow theme developers to organise their directories based on what suits them ... 9 The existing API for theme features can handle things like that already, e.g. like this: 10 11 {{{ 12 add_theme_support( 'full-site-editing', array( 13 'templates_folder' => 'site_templates', 14 ) ); 15 }}}