Changes between Initial Version and Version 1 of Ticket #54910, comment 32
- Timestamp:
- 01/28/2022 12:53:21 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54910, comment 32
initial v1 2 2 > The [https://core.trac.wordpress.org/browser/tags/5.9/src/wp-includes/class-wp-theme.php#L1478 block-based themes] require a readable index.html file in both the 'block-templates' and 'templates' directories, so you apparently had the two directories. 3 3 4 `index.html` file has to be present in either `block-templates` or `templates` directory for a theme to be recognized as a block theme. It doesn't have to be present in both directories. Just saying.4 `index.html` file has to be present in either `block-templates` or `templates` directory for a theme to be recognized as a block theme. It doesn't have to be present in both directories. Please correct me if I'm wrong.